Need a bit of help with the antispam plugin

Anthony Papillion anthony at cajuntechie.org
Tue Apr 7 21:27:37 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/07/2015 08:14 AM, 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.

I can confirm that I'm having the exact same issue. If I run the
script manually, I get the 'help file' for sa-learn dumped into the
log file. But the file is never created when mail comes in or is
processed.

Anthony
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJVJEvJAAoJEAKK33RTsEsVaX8P/Alj3RNVQst53zcOxkuBHW0I
Ibd399Wxt7DBZYabbPhtR75Rffqa84ROaAfmx+ExibDms8VLxmG3HmrJHL2tUCbI
/E4pDS9MyC08akweSRphQHFxhvu9LvKsVsnvGKP2gJ/Z4LDlqJ7KiB4+BPhohXL9
yoZ1zynQ43Ubh5cC/IG+k8zuXfsiUBmLo/8GLDcjs8Pqrx+C6mdpdXj3HWBm26ma
251ZIMAoKk301xSJhy3eZB7uzYPEJm+Lf74jGDrDUTmg+eC2DG/XRITcCSqoo33h
NZzL7iyquUPUHG6mEdfOooK15o+j9roV2pQ1bWgKdMNc6+6roWPPZLALighutpBn
Wjo72CcK7gL1dRdjDz0Ar2MqIPOoDwygpxOEIlB+//PxNvnOsIsiujMU0U1imTCf
R+zHLYwIMTO1UYWbC4OtT+j8drV/mSNS2PCnBi4T8VNoUW/3oOa1TeWfom+VwlBC
RfWYvE04cqMbOB1cUJVGx5/o1LFwZde29I56SAYOpHqE+H5BWPRvbLM9W39L01B+
ZgDteFg5VNH2DJF3nJFjj1mX5Llif2ZUoneiELu1bmI+A0Za7dEDje+Xhekf8NEn
4dkH57DhiALynw5dx3GrMhNMUXI2nQYGP/1DFRCvPujsS/H6neT/HtnAyZpflNnI
r2WyS7tfbctyEHxaBYXH
=yHyk
-----END PGP SIGNATURE-----


More information about the dovecot mailing list