Am 25.11.2014 um 15:22 schrieb Paul Gardiner:
That rule is present, and the problem is definitely with spampd
because I just piped a message through spamassassin from the command
line and all the headers were added. Struggling to see how spampd
is messing it up though. I can't see anywhere that it sets or
overrides the rules directory. I'm sort of surprised that's even
possible.

check all permissions and under what user it is running!

i added "ExecStartPre" to make sure before spamd is started all rules are wolrd readable because repeatly after sa-update a parent folder was not readable for the "sa-milt" user

[Service]
Environment="TMPDIR=/tmp"
PermissionsStartOnly=true
ExecStartPre=/usr/bin/find /var/lib/spamassassin/ -type d -exec /bin/chmod 0755 "{}" \; ExecStartPre=/usr/bin/find /var/lib/spamassassin/ -type f -exec /bin/chmod 0644 "{}" \; ExecStart=/usr/bin/spamd -c -H --max-children=25 --min-children=10 --min-spare=5 --max-spare=15 --port=10028
ExecReload=/usr/bin/kill -HUP $MAINPID
Environment="LANG=en_GB.UTF-8"
User=sa-milt
Group=sa-milt
Nice=15
StandardOutput=null
StandardError=null
SyslogFacility=mail
Restart=always
RestartSec=1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to