Martin Stenzel via Postfix-users:
>
> Thank you, but I want to know about the last of the rules that was
> applied to an email, not the general configuration.
Output from this command:
postconf smtpd_recipient_restrictions
That is what gets parsed.
If you want to test what happens when a remote client connects,
then you can set:
main.cf:
smtpd_authorized_xclient_hosts = 127.0.0.1
Execute "postfix reload", and connect with netcat to host 127.0.0.1
port 25. For an example see https://www.postfix.org/XCLIENT_README.html
Wietse
>
>
>
> On Wednesday, 07 August, 2024 14:28 CEST, Ansgar Wiechers via Postfix-users
> <[email protected]> wrote:
> On 2024-08-07 Martin Stenzel via Postfix-users wrote:
> > this is part of my main.cf file
> >
> > smtpd_recipient_restrictions = check_recipient_access
> > pcre:/etc/postfix/recipient_access.pcre, permit_mynetworks,
> > permit_sasl_authenticated, permit_dnswl_client
> > 626cf513f08bea5051b8c928c93b99.white.mail.abusix.zone,
> > reject_unauth_destination, reject_rhsbl_client
> > 626cf513f08bea5051b8c928c93b99.dblack.mail.abusix.zone, reject_rhsbl_helo
> > 626cf513f08bea5051b8c928c93b99.dblack.mail.abusix.zone, reject_rhsbl_sender
> > 626cf513f08bea5051b8c928c93b99.dblack.mail.abusix.zone, reject_rbl_client
> > 626cf513f08bea5051b8c928c93b99.combined.mail.abusix.zone
> > Now I wonder, how do I know that the later rules (starting
> > with reject_rhsbl) get parsed?
> > These are blacklist and whitelist entries to fight spam. Can I have
> > this information by expanding verbosity of postfix logging?
>
> The postconf utility will show you the active configuration:
>
> postconf -n smtpd_recipient_restrictions
>
> Regards
> Ansgar Wiechers
> --
> "Abstractions save us time working, but they don't save us time learning."
> --Joel Spolsky
> _______________________________________________
> Postfix-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
> --
> Martin Stenzel ? er/ihm ? he/him
> [email protected]
>
> An der Drehscheibe 9
> D-50733 K?ln ? Cologne
> Deutschland ? Germany
>
>
>
> This message was checked by ESET Endpoint Antivirus for Linux.
> Detection Engine Version: 29685 (20240807).
> _______________________________________________
> 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]