Scappatura Rocco: > > smtpd_recipient_restrictions = > > ... > > check_client_access proxy:mysql:/etc/postfix/mysql-check-client-access.cf > > ... > > Hello, > > indeed I can't figure out why the check above can cause the error: > > "Client host rejected: Access denied" > ... > Here complete errore received by the sender: > > <y...@example.com>: > 554: 5.7.1 <sonic307-9.consmr.mail.ir2.yahoo.com[87.248.110.34]>: Client host > rejected: Access denied
You can use the postmap command so simulate the queries that check_client_access makes: postmap -q 87.248.110.34 proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q 87.248.110 proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q 87.248 proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q 87 proxy:mysql:/etc/postfix/mysql-check-client-access.cf And for the domain name queries that check_client_access makes: postmap -q postmap -q sonic307-9.consmr.mail.ir2.yahoo.com proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q postmap -q consmr.mail.ir2.yahoo.com proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q postmap -q mail.ir2.yahoo.com proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q postmap -q ir2.yahoo.com proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q postmap -q yahoo.com proxy:mysql:/etc/postfix/mysql-check-client-access.cf postmap -q postmap -q com proxy:mysql:/etc/postfix/mysql-check-client-access.cf If any of those queries returns a result, then that is the action that Postfix will execute. Wietse