Steffen Kaiser: > On Tue, 7 Apr 2015, John Perry wrote: >> On 2015/04/07 07:58, Steffen Kaiser wrote: >>> >>> Is this script executable for all, e.g.: >>> >>> chmod a+x /path/to/script > >> yes. That was the first thing I did. > >>> Is the script located in a directory everybody are allowed to execute, >>> e.g. /usr/local/bin or /usr/bin . > >> Yes. It is in /usr/bin named antispam.sh > >>> Can you run, e.g.: >>> >>> sudo -u nobody /path/to/script >>> >>> and something is happening? > >> yes. I can execute it as "nobody" and a resultant log file is created. >> Since it was run with no parameters the log file basically says I need >> to pass arguments to sa-learn. > >> Also I'm running iRedMail-0.9.0 and trying to set up the spam filter >> based on the intructions found on the webpage >> http://www.iredmail.org/forum/topic8169-iredmail-support-antispam-via-dovecot-and-spamassassin.html. >> I DO see that the MySQL database is being updated when a new message >> comes in. > > Do you have SELinux active? > See almost at the end of > http://wiki2.dovecot.org/WhyDoesItNotWork?highlight=%28selinux%29 > > -- Steffen Kaiser
After checking I've determined that SELinux is NOT active. -- John Perry - WX5JP http://www.jpunix.net https://www.digitalocean.com/?refcode=b90b690ca5bb https://lastpass.com/f?3921926