nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Thoughts: header/address parsing

2014-08-04 10:46:07
(what "from" variable?)

does mailx/mail even add a From: header?

Ralph's using heirloom mailx, and yes, it can totally do that.
If you look at the documentation it explains how that works.

the current postfix sendmail program uses the (Full Name) format.  it
fills in the (...) with the name given with -F, or with the contents
of $NAME, or with the fullname from /etc/passwd.

which doesn't mean it's "common".  but if postfix does it, it may mean
that it's traditional sendmail behavior, and therefore inescapable.

Well, I just checked ... while Postfix definitely does that, "regular"
sendmail uses the modern form (if you don't supply a From header).
Considering how rarely the old form is seen nowadays, it looks like very
few people today are depending on that behavior.  But your point is well
taken.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>