One correction:
> > Anyway, if you can identify all the the mail2news gateways AND your users
> > must use your server set up a transport map:
> > 
> > /etc/postfix/main.cf
> >     transport_maps = hash:/etc/postfix/transport
> > 
> > /etc/postfix/transport:
> >     mail2n...@axample.com   newsgateway:
> >     mail2news@other.example newsgateway:
> > 
> > (or use a pcre: map if you want broader coverage). 
> > 
> > /etc/postfix/master.cf:
> >     newsgateway      unix  -       -       n       -       -       smtp
> >     -o header_checks=pcre:/etc/postfix/news-header-checks.pcre

That should be smtp_header_checks (make changes while delivering),
not header_checks (make changes while receiving).

        Wietse

> > Then populate news-header-checks.pcre with all the patterns that
> > you need to modify or discard information. It will of course break
> > DKIM signatures so be aware of that in your DMARC policies.
> > 
> >     Wietse
> 
> Thanks a lot for your help, much appreciated!
> 
> Best regards
> Stefan
> 
> -- 
> Signal (Desktop) +4915172173279
> https://keybase.io/stefan_claas
>            
> 

Reply via email to