mailbot -A 'From' and "Messages with multiple addresses in From:"

Tommaso Massimi <[email protected]> Wed, 27 Dec 2017 11:23:02 +0000
Newsgroups gmane.mail.maildrop
Message-ID <AM4PR1001MB13458C5926A887A2CF9AF356DA070@AM4PR1001MB1345.EURPRD10.PROD.OUTLOOK.COM>
Hi,


I have seen that gmail is refusing all the emails I send from mailbot when I use the flag -A "From:"


The gmail error message sais: "Messages with multiple addresses in From: header 550 5.7.1 are not accepted"


If I remove the -A "From:" field from mailbot, gmail accepts the email but the "From" field is not filled how I'd like to have. Is there any way to remove the original "From:" field, or can I add a filter to the mailbot output?


this is how I'm calling mailbot:


cc "| mailbot -t $RESPOND   -T forward \
                   -A 'To: $5'  -A 'From: $USERNAME'  -s 'Auto Response: from $USERNAME'  \
                  /usr/sbin/sendmail -t -f ''"


thanks

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop