Dear Maintainers, changing the 'MAILHEADER_EOL' define from '\n' to '\r\n' fixes sending mails via the SMTP Plugin and Sendmail.
I've attached a patch to fix this bug. FIXED DURING THE DEBIAN BUG SQUASHING PARTY IN SALZBURG 2024 br pheeef
--- Mailer.class.php.orig 2024-10-18 19:37:25.667341916 +0200 +++ Mailer.class.php 2024-10-18 19:37:58.632008894 +0200 @@ -13,7 +13,7 @@ // end of line for mail lines - RFC822 says CRLF but postfix (and other MTAs?) // think different -if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL', "\n"); +if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL', "\r\n"); #define('MAILHEADER_ASCIIONLY',1); /**
publickey - pheeef@proton.me - 0x7F737921.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature