New submission from Ben Franksen <[email protected]>:
I just ran into this issue: For testing purposes I had set _darcs/prefs/author to some random text (not a valid email address). This subsequently caused `darcs send` to fail. Specifically, my provider's smtp server rejected the email, citing "policy restrictions". I then hacked darcs so that it provides me with a copy of the email file it pipes into sendmail. Looking at this file explained why the email was rejected: it did not have a correct "From:" header because apparently darcs uses _darcs/prefs/author (if one exists) as the content for the "From:" header. I think we should not do that. It is nowhere documented that the patch author must be a valid email address (even though everyone seems to have adopted that as a convention and I have no trouble with that). Setting the "From:" header should be left to the sending email client. As a work-around I have now configured msmtp to always set the "From:" header, overriding any that may be present in the email (`set_from_header on`). ---------- messages: 24095 nosy: bfrk status: unknown title: should `darcs send` set the From: header? __________________________________ Darcs bug tracker <[email protected]> <https://bugs.darcs.net/issue2736> __________________________________ _______________________________________________ darcs-devel mailing list [email protected] https://lists.darcs.net/mailman/listinfo/darcs-devel
