Dan Raymond via Postfix-users:
> The sendmail command (ie. /usr/sbin/sendmail) normally extracts
> the sender's display name from the comment field of /etc/passwd.
> This is used to populate the "From" header. However,
> when the -f option is used the /etc/passwd file is not consulted

Indeed. Postfix has multiple override mechanisms:

-f sets the envelope.from address. The value can be any email
   address; it is not limited to names in /etc/passwd. Setting
   this does not affect the "full name".

-F sets the "full name" (this can also be set with the NAME
   environment variable). Setting this does not affect the envelope.from
   address.

And so on.

This orthogonal approach may be unexpected for people who grew up
after Postfix was implemented.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to