1

Topic: Blacklist stops working

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5.1
- Linux/BSD distribution name and version:  centos6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? pro
- Related log if you're reporting an issue:
====

I am not sure if blacklisted sender started again or is it because we have upgraded iRedAPD after http://www.iredmail.org/forum/search-po … 38743.html , there are a lot of domians which they are already in the blacklist but CAN send their emails to the users.

Is blacklisting related to iredAPD? Is it possible that your latest update prevent iredAPD to stop working properly?

What log should I look at to see the blacklisting is working or not.

----

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

2

Re: Blacklist stops working

Please turn on debug mode in iRedAPD, then check its log file when some blacklisted sender sent email to you. Show us FULL log related to this blacklisted sender in iRedAPD log file.

FYI: http://www.iredmail.org/docs/debug.iredapd.html

3

Re: Blacklist stops working

ZhangHuangbin wrote:

Please turn on debug mode in iRedAPD, then check its log file when some blacklisted sender sent email to you. Show us FULL log related to this blacklisted sender in iRedAPD log file.

FYI: http://www.iredmail.org/docs/debug.iredapd.html

Before I make it debug, I saw a lot of errors in the log.
I downgraded the iredAPD and (at least) blacklisting is working.


2016-06-20 08:40:54 ERROR <!> Error while applying plugin "throttle": InvalidRequestError('This Connection is closed',)
2016-06-20 08:40:54 ERROR <!> Error while applying plugin "sql_alias_access_policy": InvalidRequestError('This Connection is closed',)
2016-06-20 08:40:54 ERROR <!> Error while applying plugin "amavisd_wblist": InvalidRequestError('This Connection is closed',)
2016-06-20 08:40:54 INFO [127.0.0.1] RCPT, user1@domain.ltd => andrea@gmail.com, DUNNO
2016-06-20 08:40:55 INFO [127.0.0.1] END-OF-MESSAGE, user1@domain.ltd => andrea@gmail.com, DUNNO
2016-06-20 08:43:50 ERROR <!> Error while applying plugin "throttle": InvalidRequestError('This Connection is closed',)
2016-06-20 08:43:50 ERROR <!> Error while applying plugin "sql_alias_access_policy": InvalidRequestError('This Connection is closed',)
2016-06-20 08:43:50 ERROR <!> Error while applying plugin "amavisd_wblist": InvalidRequestError('This Connection is closed',)
2016-06-20 08:43:50 INFO [127.0.0.1] RCPT, user1@domain.ltd => andrea@gmail.com, DUNNO
2016-06-20 08:43:50 INFO [127.0.0.1] END-OF-MESSAGE, user1@domain.ltd => andrea@gmail.com, DUNNO
2016-06-20 08:44:27 ERROR <!> Error while applying plugin "greylisting": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:27 ERROR <!> Error while applying plugin "throttle": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:27 ERROR <!> Error while applying plugin "sql_alias_access_policy": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:27 ERROR <!> Error while applying plugin "amavisd_wblist": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:27 INFO [208.83.243.194] RCPT, bounces-pm-105-2070-19f2c079-00d4-46c1-af8c-cbaf554a1a90@seniorpeoplemeet.com -> brianv@domain.ltd, DUNNO
2016-06-20 08:44:27 INFO [208.83.243.194] END-OF-MESSAGE, bounces-pm-105-2070-19f2c079-00d4-46c1-af8c-cbaf554a1a90@seniorpeoplemeet.com -> brianv@domain.ltd, DUNNO
2016-06-20 08:44:39 ERROR <!> Error while applying plugin "greylisting": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:39 ERROR <!> Error while applying plugin "throttle": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:39 ERROR <!> Error while applying plugin "sql_alias_access_policy": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:39 ERROR <!> Error while applying plugin "amavisd_wblist": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:39 INFO [104.160.74.234] RCPT, bounce-2@bounce.mailingsoapshows.com -> onestep@domain.ltd, DUNNO
2016-06-20 08:44:39 INFO [104.160.74.234] END-OF-MESSAGE, bounce-2@bounce.mailingsoapshows.com -> onestep@domain.ltd, DUNNO
2016-06-20 08:44:40 ERROR <!> Error while applying plugin "throttle": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:40 ERROR <!> Error while applying plugin "sql_alias_access_policy": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:40 ERROR <!> Error while applying plugin "amavisd_wblist": InvalidRequestError('This Connection is closed',)
2016-06-20 08:44:40 INFO [127.0.0.1] RCPT, michelle@domain.ltd => info@xxx.on.ca, DUNNO
2016-06-20 08:44:40 INFO [127.0.0.1] END-OF-MESSAGE, michelle@domain.ltd => info@xxx.on.ca, DUNNO

4

Re: Blacklist stops working

infomiin wrote:

2016-06-20 08:40:54 ERROR <!> Error while applying plugin "throttle": InvalidRequestError('This Connection is closed',)

iRedAPD cannot apply any plugin due to SQL connection was closed.

*) Did you see any error right after restarting iredapd service? Seems your server misses some required Python modules.
*) Could you please turn on debug mode in iRedAPD? We need debug log to help troubleshoot.

5

Re: Blacklist stops working

ZhangHuangbin wrote:
infomiin wrote:

2016-06-20 08:40:54 ERROR <!> Error while applying plugin "throttle": InvalidRequestError('This Connection is closed',)

iRedAPD cannot apply any plugin due to SQL connection was closed.

*) Did you see any error right after restarting iredapd service? Seems your server misses some required Python modules.
*) Could you please turn on debug mode in iRedAPD? We need debug log to help troubleshoot.

The database is on the same server and should not have any issue after upgrading iredAPD.

*) Did you see any error right after restarting iredapd service? Seems your server misses some required Python modules.

No! We did not. It says the upgrade was successfull.
We then downgraded it to previous version, and iredAPD is working (still with the same issue that throttle does not work properly)

*) Could you please turn on debug mode in iRedAPD? We need debug log to help troubleshoot.
Haah! Let me upgrade it and see the reports. I am not expert in repository download. Should I save it in a folder under 0.9.5.2?

6

Re: Blacklist stops working

infomiin wrote:

Haah! Let me upgrade it and see the reports. I am not expert in repository download. Should I save it in a folder under 0.9.5.2?

You can save the latest iRedAPD in any directory, then follow our tutorial to upgrade it:
http://www.iredmail.org/docs/upgrade.iredapd.html