ZhangHuangbin wrote:Hi Roman,
*) Could you please turn on debug mode in iRedAPD, and show me detailed log in /var/log/iredapd.log related to this blacklisted sender(s) (when you received any email sent by them)?
*) Show me output of below command:
# grep 'plugins' /opt/iredapd/settings.py
Hi,
I put iredapd into debug mode (log_level = "debug"), restarted it (/etc/init.d/iredapd restart) but still see nothing in its log even if mails flow through the system:
==> /var/log/iredapd.log <==
2015-06-21 03:44:18 INFO Starting iRedAPD (version: 1.6.0, backend: mysql), listening on 127.0.0.1:7777.
2015-06-21 03:44:18 INFO Loading plugin: reject_null_sender
2015-06-21 03:44:18 INFO Loading plugin: amavisd_message_size_limit
2015-06-21 03:44:18 INFO Loading plugin: amavisd_wblist
2015-06-21 03:44:18 INFO Loading plugin: sql_alias_access_policy
2015-06-21 14:37:55 INFO Starting iRedAPD (version: 1.6.0, backend: mysql), listening on 127.0.0.1:7777.
2015-06-21 14:37:55 INFO Loading plugin: reject_null_sender
2015-06-21 14:37:55 INFO Loading plugin: amavisd_message_size_limit
2015-06-21 14:37:55 INFO Loading plugin: amavisd_wblist
2015-06-21 14:37:55 INFO Loading plugin: sql_alias_access_policy
# grep 'plugins' /opt/iredapd/settings.py
plugins = ["reject_null_sender", "amavisd_message_size_limit", "amavisd_wblist", "sql_alias_access_policy"]
# netstat -antp | grep 7777
tcp 0 0 127.0.0.1:7777 0.0.0.0:* LISTEN 378/python
It's the only row that has port 7777 in it (commented):
# grep 7777 /etc/postfix/main.cf
#smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031,
May be iredapd doesn't work at all?
Regards,
Roman