Need a bit of help with the antispam plugin

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Apr 8 09:18:35 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVSTya3z1H7kL/d9rAQKLDgf/QePW7F6Hy1pZR67SE33LykLPnL3fA4m0
u76fLz0hauGQOHCrdBIjtAtlYO7zxkZdW4Lv8zvnEmhrhZW6subluPliAMIHHutB
06YVU6Hp5aVLoQRY2+LYxU9yjiMFjBFhN3JkOy5mih1H8i3kp4/t91sfEDHzO+3f
PJl61eNmhnxKg9AX3sQTAQt7AmdSLsCr4mGarISIcmi4P11wV7i+oWhxLEkW3/KX
PM+q8aM7h1VMt+aCFKJ0eTDAtMypIrzauqjb63+T/urJutPHEhi5njxUQ0aKiM01
3j7SeEmwLQWj8YFYQ7MXmfEc9Ye5zVhFOOe0ohiTd3I+ZK59X49ecw==
=TO57
-----END PGP SIGNATURE-----


More information about the dovecot mailing list