So, in main.cf:


smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, 
reject_unknown_client_hostname, reject_unknown_sender_domain, 
regexp:/etc/postfix/sender-regex

in sender-regex:



/racknerd\.com/  reject

will this be working?

Thanks



August 7, 2025 at 4:33 PM, "Ralph Seichter via Postfix-users" 
<[email protected] 
mailto:[email protected]?to=%22Ralph%20Seichter%20via%20Postfix-users%22%20%3Cpostfix-users%40postfix.org%3E
 > wrote:


> 
> * Corey via Postfix-users:
> 
> > 
> > [email protected] 
> > mailto:[email protected]  reject
> > 
> >  This is not useful since the part of "SRS0=5MgR=s2" changes every time.
> > 
> https://www.postfix.org/regexp_table.5.html should get you started.
> Regular expressions for the win. ;-)
> 
> -Ralph
> _______________________________________________
> Postfix-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to