xegr...@gmail.com:
> Hi. In a new install of Postfix 3.4.7-0+deb10u1 on Debian buster,
> I would like Postfix to append $myhostname instead of $myorigin
> to local mail with a From header containing just a username, like
> cron or fail2ban emails.  This server is listed in mx records for
> example.com.  In older Postfix installations (3.1) it seemed that
> only setting the below would be enough for local mail to be addressed
> from, for example, r...@mx.example.com.  Wondering what I am missing
> or what to check next.

Postfix 3.3 changes the default From: header format:

    Old:    From: address (name)

    New:    From: name <address>

To get the old form (which is non-standard):

/etc/postfix/main.cf:
    header_from_format = obsolete

        Wietse

Reply via email to