1

Topic: 550 5.7.1 Service unavailable; Blocked using zen.spamhaus

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? N
- Related log if you're reporting an issue: mail.log
====
Hi all,

I have a linode that I just use as a webserver and have installed logwatch on it. The server has been running for a couple months now and I send the daily logwatch report to my other linode vps that runs my iredmail installation. In the last few days ive noticed that I have not been receiving the logwatch report and the mail log reports the following:

Apr 10 13:56:12 ownserv postfix/pickup[11675]: 82C4F1D9D0: uid=0 from=<root>
Apr 10 13:56:12 ownserv postfix/cleanup[20375]: 82C4F1D9D0: message-id=<20170410115612.82C4F1D9D0@webserver.com>
Apr 10 13:56:12 ownserv postfix/qmgr[4236]: 82C4F1D9D0: from=<root@webserver.com>, size=10481, nrcpt=1 (queue active)
Apr 10 13:56:18 ownserv postfix/smtp[20377]: 82C4F1D9D0: to=<postmaster@mailserver.com>, relay=mail.mailserver.com[ipv6-address]:25, delay=7.2, delays=1/0.01/6.1/0.01, dsn=5.7.1, status=bounced (host mail.mailserver.com[ipv6-address] said: 550 5.7.1 Service unavailable; client [ipv6-address] blocked using zen.spamhaus.org (in reply to RCPT TO command))
Apr 10 13:56:18 ownserv postfix/cleanup[20375]: A23211D9D4: message-id=<20170410115618.A23211D9D4@webserver.com>
Apr 10 13:56:18 ownserv postfix/qmgr[4236]: A23211D9D4: from=<>, size=12595, nrcpt=1 (queue active)
Apr 10 13:56:18 ownserv postfix/bounce[20389]: 82C4F1D9D0: sender non-delivery notification: A23211D9D4
Apr 10 13:56:18 ownserv postfix/qmgr[4236]: 82C4F1D9D0: removed
Apr 10 13:56:18 ownserv postfix/local[20391]: A23211D9D4: to=<root@webserver.com>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Apr 10 13:56:18 ownserv postfix/qmgr[4236]: A23211D9D4: removed

The logwatch report has been received perfectly fine since inception until the last few days where it is now being reported as blocked by zen.spamhaus. If I check my server ip, my ipv6 ip and my domain on the spamhaus site, neither are listed as blocked.

How can I stop my iredmail server from blocking this email? It is the only email that ever gets sent from the webserver currently.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 550 5.7.1 Service unavailable; Blocked using zen.spamhaus

If you enable DNSBL services in postscreen servce (parameter "postscreen_dnsbl_sites ="), simply add the IP address of webserver in /etc/postfix/postscreen_access.cidr like this:

1.2.3.4 permit

If you enable DNSBL service in "smtpd_recipient_restrictions =", append the IP of your webserver in parameter "mynetworks =".