I have POSTFIX
set up to filter certain email addresses. The main.cf
file contains:
smtpd_recipient_restrictions =
check_recipient_access hash:/etc/postfix/blacklist,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
permit
When I try to send an email to one of the addresses on the blacklist, I get the error 554 5.7.1 Access denied.
just as it should be. Also when I try to send with telnet the message gets blocked. However, this server has a mailing software installed which is php
based and uses swiftmailer to send messages. When I try to send a message using this software, any message to one of the blocked addresses goes through.
What could be the reason for that? How can I trace it down and debug this?