Sergey Poznyakoff
2016-12-26 22:06:03 UTC
Hi Jean,
[Cc-ing to the list]
Thanks for the samples. I can confirm that I reliably get 'Malformed
email address' for two out of three messages in mailbox Safecharge.com.
The addresses are malformed indeed, as well as the messages themselves.
The problem with these messages is that they contain lines terminated
with CRLF (ASCII 13 10) characters insead of single LF (ASCII
10). Mailutils won't recognize such messages.
The same holds true for the second mailbox (PaySimple.com). In both
mailboxes in question, only the first message has properly terminated
lines and only this message is processed (I wonder what program could
have created such mailboxes).
There is nothing that can be done in that case, except making sure input
mailboxes are properly formatted (e.g. by filtering them through
tr -d '\r').
Another point: although I was able to reproduce the mailformed address
error, I wasn't able to reproduce the reported input mailbox
corruption. In both testcases, the malformed messages were retained in
the corresponding input mailboxes.
Regards,
Sergey
[Cc-ing to the list]
Thanks for the samples. I can confirm that I reliably get 'Malformed
email address' for two out of three messages in mailbox Safecharge.com.
The addresses are malformed indeed, as well as the messages themselves.
The problem with these messages is that they contain lines terminated
with CRLF (ASCII 13 10) characters insead of single LF (ASCII
10). Mailutils won't recognize such messages.
The same holds true for the second mailbox (PaySimple.com). In both
mailboxes in question, only the first message has properly terminated
lines and only this message is processed (I wonder what program could
have created such mailboxes).
There is nothing that can be done in that case, except making sure input
mailboxes are properly formatted (e.g. by filtering them through
tr -d '\r').
Another point: although I was able to reproduce the mailformed address
error, I wasn't able to reproduce the reported input mailbox
corruption. In both testcases, the malformed messages were retained in
the corresponding input mailboxes.
Regards,
Sergey