Wietse Venema wrote:

> 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).

Thanks for the correction!

Best regards
Stefan

-- 
Signal (Desktop) +4915172173279
https://keybase.io/stefan_claas
           

Reply via email to