On Wed, Nov 12, 2014 at 1:20 AM, Martin Lambers <mar...@marlam.de> wrote: > Do you see problems with this approach? Are there alternative > suggestions?
My only thought is that via some msmtp options it should be possible to send NULL or literally arbitrary data for any/all elements [1] of the transaction, even if for no other reason than testing the behavior of your [own] SMTP server. Such as how the server mangles the mail you give it. Then this new default approach would not restrict that. Ex: Some servers will fill in an empty body From with either your envelope From, or its notion of your account From they have in say LDAP, yet if you supply a body From in the message, it will not make either such replacement. Some other servers will replace your body From with envelope or account From. A situation like that, possibly users in production may wish to send no body >From in order to let/continue the server float that field however it wants. >Such as perhaps following the account From the user sets in webmail. [1] Which may minimally include any envelope options (from, to, bcc, etc), any meta/received headers, body headers (from, to, date, subject, m-id, etc), and any message body content itself. Note rfc2822 was obsoleted for 5322, the current set for SMTP is below. (From header is in rfc5322: section 3.6) https://tools.ietf.org/html/rfc5322 Internet Message Format https://tools.ietf.org/html/rfc6854 Update IMF to Allow Group Syntax in From: and Sender: Headers https://tools.ietf.org/html/rfc6531 SMTP Extension for Internationalized Email https://tools.ietf.org/html/rfc6532 Internationalized Email Headers https://tools.ietf.org/html/rfc5321 Simple Mail Transfer Protocol ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ msmtp-users mailing list msmtp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msmtp-users