On Thu, Oct 1, 2009 at 12:56 PM, Ralf Hildebrandt <ralf.hildebra...@charite.de> wrote:
>> Is this by design, working as intended? Or am I missing something somewhere? > > Where's the main.cf snippet? Guess I did miss something somewhere. This is how it looks like now; smtpd_sender_restrictions = permit_mynetworks reject_unknown_sender_domain reject_non_fqdn_sender check_sender_access hash:/etc/postfix/chk_sender_access smtpd_recipient_restrictions = permit_mynetworks reject_unknown_reverse_client_hostname reject_non_fqdn_helo_hostname reject_unknown_helo_hostname reject_unauth_destination reject_non_fqdn_recipient reject_unknown_recipient_domain check_recipient_access hash:/etc/postfix/chk_recipient_access reject_unverified_recipient Which works; if 'postmas...@configcast.com' is used as a sender, it rejects the rest of the SMTP session, but if used as a recipient, it's fine, as expected. If I move 'check_sender_access' to the next stage however, like this; smtpd_sender_restrictions = permit_mynetworks reject_unknown_sender_domain reject_non_fqdn_sender check_sender_access hash:/etc/postfix/chk_sender_access smtpd_recipient_restrictions = permit_mynetworks reject_unknown_reverse_client_hostname reject_non_fqdn_helo_hostname reject_unknown_helo_hostname reject_unauth_destination check_sender_access hash:/etc/postfix/chk_sender_access reject_non_fqdn_recipient reject_unknown_recipient_domain check_recipient_access hash:/etc/postfix/chk_recipient_access reject_unverified_recipient then it will reject the recipient with the action specified in the 'check_sender_access' hash database; configcast.com REJECT You are not a known MX for 'configcast.com'. Is that how it's supposed to work? Cya, Jona