Saturday, October 26, 2013

Fedora 19 spamassassin sysconfig SPAMDOPTIONS

THE ERROR : "spamd: unauthorized connection from ..." 

# systemctl status spamassassin.service
spamassassin.service - Spamassassin daemon
   Loaded: loaded (/usr/lib/systemd/system/spamassassin.service; enabled)
   Active: inactive (dead) since Sat 2013-10-26 22:55:22 EEST; 1s ago
  Process: 23586 ExecStart=/usr/bin/spamd --pidfile /var/run/spamd.pid $SPAMDOPTIONS (code=exited, status=0/SUCCESS)
  Process: 23583 ExecStartPre=/sbin/portrelease spamd (code=exited, status=0/SUCCESS)
 Main PID: 23598 (code=exited, status=0/SUCCESS)
   CGroup: name=systemd:/system/spamassassin.service

Oct 26 21:42:57  spamd[23598]: prefork: child states: IS
Oct 26 21:42:57  spamd[23598]: prefork: child states: II
Oct 26 21:42:57  systemd[1]: Started Spamassassin daemon.
Oct 26 21:46:38  spamd[23599]: spamd: unauthorized connection from ... [192.168.1.26] at port 52573 at /usr/bin/spamd line 1271.

THE SOLUTION : "-A 127.0.0.1,192.168.1.26" 

# cat /etc/sysconfig/spamassassin
# Options to spamd
SPAMDOPTIONS="-d -c -m5 -H -A 127.0.0.1,192.168.1.26"





No comments:

Post a Comment