-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
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-doveco.... I DO see that the MySQL database is being updated when a new message comes in.
John Perry - WX5JP http://www.jpunix.net https://www.digitalocean.com/?refcode=b90b690ca5bb https://lastpass.com/f?3921926
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJVI9frAAoJEIn5ENyiI2/NsW8P/1izBZ+32eIF34TgJZUKReca LzDC6hXya5Gc4PQ/jAN1LyP26/nd6WGqljtK3wj2qRoclp9+7iVNOsxi3zvFIMME orl1u5vAqQPcR9//BLoYxYy5HS0aEZS1YzuH2Mvxs9Dt+Bh+aJjpn5nsRiO32bRG CLviuVddxHwf6DkLbhIp2ybnZCCyTtWZ22NwsAAwRwocGBKi/vpQ83lUB398Ojn9 aVHEnkzd+QbilPcaU5k4SY/evACDnll4a1m9eBZm5VIvGWnDjmVXUSx+iHODol9X obSSFcXPJRMpq7JBdzpnlyP2EJBMjZun52T7oBA+SpoCKamtZaUzW2r9Q3aAgrYr F88K8EAGrRZgMI8cBwfFAntkygu6SCaWVULMqlmTv+XqyMlKWt+HAfc0EiFSJdos lzryDnU64regk3Y3GknOIxVDT7KzrXGP7MwUPHSqbgYxcKGbas70P8Py4aGYexlJ oNEUTBCb+pS4pzmPpu6QCCt7B0hoU7ZNWs8tlOEVZyFN3I+iAElZf939ciF/2o7E d/gLgmKbt0kRz5LPmKFts8Aw0lZshkk1FEoW+/DvGNCzpf4IpYQjvBl2h4rQmtuo jqoycFCHGCw0bXvohe2g4ZoRZmF0EUqWa7hfHbYxNZRpLa/ygEgYnA9CZPps5WXZ UtX9CydP8CwHHQ8JOjOI =rSXU -----END PGP SIGNATURE-----