main.cf:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname,
reject_rbl_client bl.spamcop.net,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client dnsbl.sorbs.net,
reject_rbl_client zen.spamhaus.org
@farrokhi
zen.spamhaus.org is not working
May 2 17:47:14 XXXXX postfix/smtpd: warning: 173.216.85.209.zen.spamhaus.org: RBL lookup error: Host or domain name not found. Name service error for name=173.216.85.209.zen.spamhaus.org type=A: Host not found, try again May 2 17:54:25 XXXX postfix/smtpd: warning: 161.194.254.51.zen.spamhaus.org: RBL lookup error: Host or domain name not found. Name service error for name=161.194.254.51.zen.spamhaus.org type=A: Host not found, try again
dnsbl.sorbs.net rejects mails coming from Gmail servers.
I used warn_if_reject to find out who was blocking gmail, and:
May 2 17:47:14 XXXX postfix/smtpd[]: NOQUEUE: reject_warning: RCPT from mail-qt0-f173.google.com[209.85.216.173]: 554 5.7.1 Service unavailable; Client host [209.85.216.173] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?209.85.216.173; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-qt0-f173.google.com> May 2 20:04:57 XXXX postfix/smtpd[]: NOQUEUE: reject_warning: RCPT from mail-qt0-f179.google.com[209.85.216.179]: 554 5.7.1 Service unavailable; Client host [209.85.216.179] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?209.85.216.179; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-qt0-f179.google.com> May 2 20:16:20 XXXX postfix/smtpd[]: NOQUEUE: reject: RCPT from mail-it0-f44.google.com[209.85.214.44]: 554 5.7.1 Service unavailable; Client host [209.85.214.44] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?209.85.214.44; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-it0-f44.google.com> May 2 20:17:22 XXXX postfix/smtpd[6800]: NOQUEUE: reject: RCPT from mail-io0-f174.google.com[209.85.223.174]: 554 5.7.1 Service unavailable; Client host [209.85.223.174] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?209.85.223.174; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-io0-f174.google.com> May 2 20:18:34 XXXX postfix/smtpd[]: NOQUEUE: reject_warning: RCPT from mail-io0-f182.google.com[209.85.223.182]: 554 5.7.1 Service unavailable; Client host [209.85.223.182] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?209.85.223.182; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-io0-f182.google.com> May 2 20:24:43 XXXX postfix/smtpd[]: NOQUEUE: reject_warning: RCPT from mail-io0-f181.google.com[209.85.223.181]: 554 5.7.1 Service unavailable; Client host [209.85.223.181] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?209.85.223.181; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-io0-f181.google.com>