Cannot test spamassassin, what is going on here?
RW
rwmaillists at googlemail.com
Thu Sep 10 12:41:52 UTC 2015
On Wed, 9 Sep 2015 14:08:11 +0200
Nagy László Zsolt wrote:
> Looks like spamassassin is using different rules/settings when it is
> ran from the mailscanner daemon. The configuration should be the same
> ( /usr/local/etc/mail/spamassassin is a symbolic link to
> /usr/local/etc/MailScanner/spam.assassin.prefs.conf )
>
> I cannot test spamassassin with the same user, because it is postfix
> which is disabled:
>
> >
> > # su postfix " spamassassin -t test.eml "
> > This account is currently not available.
>
This is because the postfix user doesn't have a default shell
configured, you can use su -m which will use the current shell.
The minus -m option prevents the environment being changed; it might be
necessary to set USER to postfix, and if that user has a home directory
set HOME.
More information about the freebsd-questions
mailing list