Hello,

Consider the following email example:

$ cat >test <<EOF
From: [email protected]
To: [email protected]

EOF

The only thing to notice is that "From:" appears before "To:".

$ msmtp --read-recipients --read-envelope-from < test
msmtp: no recipients found

The thing is that the "bug fix" introduced in 1.4.29 also introduce this
bug.

Namely line 1477 in msmtp.c

"if (from_hdr >= 0)" replaces "if (from_hdr == 0)" which then skips the
reading of the forthcoming recipients.

Assuming  my  conclusions are  correct,  I  consider this  bug  critical
since this  makes the  flags --read-recipients  and --read-envelope-from
incompatible.

Best regards,

-- 
Nicolas Pouillard
http://nicolaspouillard.fr

Attachment: pgpU7mIPxVnCX.pgp
Description: PGP signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
msmtp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to