nmh-workers
[Top] [All Lists]

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

2014-08-04 10:22:01
ken wrote:
And it continues to this day.

   $ readlink -e `which mail`
   /usr/bin/heirloom-mailx
   $ mail ralph <$N
   No message, no subject; hope that's ok
   $ fgrep From: /var/spool/mail/ralph
   From: ralph(_at_)inputplus(_dot_)co(_dot_)uk (Ralph Corderoy)

That looks like you set that directly with the "from" variable.

(what "from" variable?)

does mailx/mail even add a From: header?

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.

paul
=----------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 71.4 degrees)


_______________________________________________
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>