Date: Thu, 10 Sep 2015 13:41:46 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: Cannot test spamassassin, what is going on here? Message-ID: <20150910134146.2a987efd@gumby.homeunix.com> In-Reply-To: <55F0212B.9090708@shopzeus.com> References: <55F0212B.9090708@shopzeus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Sep 2015 14:08:11 +0200 Nagy L=E1szl=F3 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=20 > /usr/local/etc/MailScanner/spam.assassin.prefs.conf ) >=20 > I cannot test spamassassin with the same user, because it is postfix=20 > which is disabled: >=20 > > > > # su postfix " spamassassin -t test.eml " > > This account is currently not available. >=20 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.=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150910134146.2a987efd>