forgejo/modules/setting
zeripath 1514e13bb8
Add option to convert CRLF to LF line endings for sendmail (#18075)
It appears that several versions of sendmail require that the mail is sent to them with
LF line endings instead of CRLF endings - which of course they will then convert back
to CRLF line endings to comply with the SMTP standard.

This PR adds another setting SENDMAIL_CONVERT_CRLF which will pass the message writer
through a filter. This will filter out and convert CRLFs to LFs before writing them
out to sendmail.

Fix #18024

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-06 01:43:45 +01:00
..
attachment.go Add MP4 as default allowed attachment type (#18170) 2022-01-04 04:36:47 +01:00
cache.go
cors.go
cron.go
cron_test.go
database.go Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
database_sqlite.go Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
database_test.go
directory.go
federation.go
git.go
i18n.go
indexer.go
indexer_test.go
lfs.go
log.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
mailer.go Add option to convert CRLF to LF line endings for sendmail (#18075) 2022-01-06 01:43:45 +01:00
markup.go
migrations.go
mime_type_map.go
mirror.go
oauth2_client.go
picture.go Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
project.go
proxy.go
queue.go
repository.go
service.go
session.go
setting.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
setting_test.go
storage.go
storage_test.go
task.go
webhook.go