I am not sure if I can call this a bug in alot, but I guess other people will stumble other this issue too and have a look here first.
The current trunk version of alot does a RFC3156 normalization of the message. One of the things that happen is the conversion of line endings from '\n' to '\r\n'
When one uses ssmtp, like I do, mails being sent with ssmtp -t suddenly have every line ending doubled.
but this somewhere with a good name and use this as the sendmail command. You can use the script name without any arguments since the -t argument is already in the script.
Don't forget to make your script executable
I am not sure if I can call this a bug in alot, but I guess other people will stumble other this issue too and have a look here first.
The current trunk version of alot does a RFC3156 normalization of the message. One of the things that happen is the conversion of line endings from '\n' to '\r\n' When one uses ssmtp, like I do, mails being sent with ssmtp -t suddenly have every line ending doubled.
I filed a bug in ssmtp: https://bugs.launchpad.net/ubuntu/+source/ssmtp/+bug/1178613 and my workaround is a shell script:
!/bin/bash
cat - | sed -e 's/\r//g' | ssmtp -t
but this somewhere with a good name and use this as the sendmail command. You can use the script name without any arguments since the -t argument is already in the script. Don't forget to make your script executable