On 05.02.24 15:46, Mark wrote:
Thanks for the idea below. I'm going to try wrapping them in $mua in main.cf
.

However, you said;

"Looking at your smtpd_recipient_restrictions and using reject_rbl_client,
you need to override them too."

I really didn't get this, by "overriding" could you explain further please
where I made a mistake?

all settings like "smtpd_recipient_restrictions" are taken from main.cf, unless they are overridden in master.cf like this:

>submission inet n       -       y       -       -       smtpd
>  -o smtpd_sasl_auth_enable=yes
>  -o smtpd_tls_auth_only=yes
>  -o smtpd_sender_restrictions=permit_sasl_authenticated,reject
>  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
>  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject


so, you override content of settings in main.cf.

Since your smtpd_recipient_restrictions in main.cf:

>But I guess most of my rules are happening in main.cf, which is listed >here;
>
>https://pastebin.mozilla.org/i5tMtPAk

contain number of reject_rbl_client options, it makes sense to override them as above:

"-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject"


In short, I have commented out smtpd_sender_restrictions and smtpd_recipient_restrictions in master.cf, you better keep them as they are.

looking at yout smtpd_recipient_restrictions and using reject_rbl_client,
you need to override them too.
I have moved those to postscreen and only use like nonexistent domains,
users, banned domains described above

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Posli tento mail 100 svojim znamim - nech vidia aky si idiot
Send this email to 100 your friends - let them see what an idiot you are
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to