Celejar: > Okay, by testing with swaks I've confirmed the suspicion that I broached > in my previous mail: on the problematic system, the rewrite of the email > header 'From: root' is to 'From: <aaaaa...@zoho.com> (root)', which > causes the mail to be rejected by Zoho's server with '553 Relaying > disallowed as @'. On the working systems, the rewrite is to a more > normal 'From: root <aaaaa...@zoho.com>', which Zoho accepts. > > So: is this a bug? Is there some way I can get Postfix 3.1.8 to do the > rewriting the normal way, like 3.3.2 does, or do I just need to upgrade > Postfix?
See: http://www.postfix.org/postconf.5.htnl#header_from_format Wietse header_from_format (default: standard) The format of the Postfix-generated From: header. This setting affects the appearance of 'full name' information when a local program such as /bin/mail submits a message without From: header through the Postfix sendmail(1) command. Specify one of the following: standard (default) Produce a header formatted as "From: name <address>". This is the default as of Postfix 3.3. obsolete Produce a header formatted as "From: address (name)". This is the behavior prior to Postfix 3.3. Notes: o Postfix generates the format "From: address" when name informa- tion is unavailable or the envelope sender address is empty. This is the same behavior as prior to Postfix 3.3. o In the standard form, the name will be quoted if it contains specials as defined in RFC 5322, or the "!%" address operators. o The Postfix sendmail(1) command gets name information from the -F command-line option, from the NAME environment variable, or from the UNIX password file. This feature is available in Postfix 3.3 and later.