[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Ralph Corderoy
Subject: Re: [Nmh-workers] Thoughts: header/address parsing
Date: Tue, 05 Aug 2014 12:40:53 +0100

Hi Ken,

Paul wrote:
> 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: address@hidden (Ralph Corderoy)
> > 
> > That looks like you set that directly with the "from" variable.


> does mailx/mail even add a From: header?

You're right.  I checked here and heirloom-mailx does a `sendmail -i'
and leaves that to add a `From:'.

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

Yep, and I followed that path too.  :-)
And I use Postfix.

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

I had a quick look at Exim, and I think it uses <>.
and various other places.  Postfix is very common though.

Cheers, Ralph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]