> On Jan 4, 2019, at 2:56 PM, Celejar <cele...@gmail.com> wrote:
> 
> And I'm using 3.1.8, where the rewriting isn't acceptable to my mail
> provider, and this feature isn't available ;) So I guess I'm stuck,
> unless I can upgrade Postfix?

Your other option, if possible, is to inject email into Postfix
with the "From:" header already constructed the way you want.
Postfix only adds "From:" headers when missing.

You could also use a PCRE REPLACE rule in smtp_header_checks:

        # Replace some legacy "address (display name)" forms with a
        # more modern "display name <address>" form.
        /^From:\s*([^\s<>]+)\s+\(([^"]*)\)\s*$/ REPLACE From: "$2" <$1>

The server that's accepting "From: display name <address>"
and rejecting "From: address (display name)" is not blameless
It should be able to process either form.

-- 
-- 
        Viktor.

Reply via email to