Just to confirm, I had to do tr -d "\r" even 2 times on many messages,
to get it to work.

On Mon, Dec 26, 2016 at 12:06:03AM -2200, Sergey Poznyakoff wrote:
> 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

_______________________________________________
Bug-mailutils mailing list
Bug-mailutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to