Cannot test spamassassin, what is going on here?

Andrew Colin Kissa andrew at
Thu Sep 10 21:19:28 UTC 2015

On 10 Sep 2015, at 6:40 PM, Les <nagylzs at> wrote:

> Cannot do it with the same user. It is postfix and it cannot run shell commands.

You can by overriding.

su - postfix -s /bin/bash -c 'spamassassin -t test.eml -C /usr/local/etc/MailScanner'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the MailScanner mailing list