Hi all, I have set up some new rules in smtpd_recipient_restrictions (see below) on my test machine. They don't work exactly as I expected. Is there a way to log the output of each lookup performed? For example, in my configuration I see some logging from the SPF policy checker, but I have no clue what the result of the sender_access, client_access or RBLs is. I can use postmap -q to get some results, but that's a bit cumbersome.
I added a mail.debug rule to syslog, but I don't see any more info than what is already logged using mail.info. smtpd_recipient_restrictions = reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, warn_if_reject check_sender_access hash:/etc/postfix/sender_access, warn_if_reject check_client_access hash:/etc/postfix/client_access, warn_if_reject check_policy_service unix:private/policy-spf, warn_if_reject reject_rbl_client relays.ordb.org, warn_if_reject reject_rbl_client sbl.spamhaus.org, permit Second question: I'm currently using check_sender_access to block email coming from non-existing user addresses at my domain. However, this only checks the MAIL FROM address. Is it also possible to create a rule which checks the From: header. (presumably such check should occur in smtpd_data_restrictions or smtpd_end_of_data_restrictions?) Regards, Freek