Hi I cannot get the blacklist to work when sending to blacklisted recipients. I have checked the mysql db and it has the correct entries in it as displayed in ISPCONFIG. The main.cf file of postfix is: ```smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, reject_unlisted_recipient, check_recipient_access proxy:mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_sasl_authenticated, reject_non_ fqdn_recipient, reject_unauth_destination, check_policy_service unixrivate/quota-status``` I have also checked the file: /etc/postfix/mysql-virtual_recipient.cf This is all correct and the select statement responds with REJECT as it should. There are no errors in mail.err or mail.log BUT the email is still sent to my blacklisted email address. I'm at the end of the tunnel now..... help needed thanks in advance
Sorry forgot to add the following test results in REJECT "postmap -q rejectatoutlook.com mysql:/etc/postfix/mysql-virtual_recipient.cf" REJECT
It might be that you have to enter @rejectatoutlook.com and not rejectatoutlook.com in the blacklist.
Ok so further investigation shows that my h application using php mail bypasses SMTPD and uses the sendmail function, so this will not work. Apparently virtual alias maps might work.....