1
0
Fork 0
gitea/services
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
..
agit
asymkey
attachment
auth
comments
cron
externalaccount
forms Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
gitdiff Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
issue
lfs
mailer Add option to convert CRLF to LF line endings for sendmail (#18075) 2022-01-06 01:43:45 +01:00
migrations refactoring nits (#18188) 2022-01-05 07:27:53 +01:00
mirror
org
pull
release
repository
task
user
webhook Add replay of webhooks. (#18191) 2022-01-05 15:00:20 -06:00
wiki