Voytek:
> On Sat, November 17, 2018 12:01 am, Wietse Venema wrote:
> 
> 
> thanks !
> 
> >> or where ? to reject/block ?
> >
> > /etc/postfix/sender_pcre:
> > /@.*@/       reject
> >
> >
> > /etc/postfix/main.cf:
> > smtpd_sender_restrictions = check_sender_access
> > pcre:/etc/postfix/sender_pcre
> 
> I currently have as so, add as 1st or last ?
> 
> ...
> smtpd_sender_restrictions =
>  permit_mynetworks,
>  permit_sasl_authenticated
> ...

If first, then it will affect local, authorized, and remote clients.

If last, then it will affect remote clients.

        Wietse

Reply via email to