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" 
<postfix-users@postfix.org 
mailto:postfix-users@postfix.org?to=%22Ralph%20Seichter%20via%20Postfix-users%22%20%3Cpostfix-users%40postfix.org%3E
 > wrote:


> 
> * Corey via Postfix-users:
> 
> > 
> > SRS0=5MgR=s2=racknerd.com=supp...@pobox.be 
> > mailto:SRS0=5MgR=s2=racknerd.com=supp...@pobox.be  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 -- postfix-users@postfix.org
> To unsubscribe send an email to postfix-users-le...@postfix.org
>
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to