Single email, multiple Spamassassin attempls
Richard Mealing
richard at fastnet.co.uk
Fri May 17 16:53:21 IST 2013
Robert,
You need to change user to postfix, so - su postfix
For Ubuntu, I would normally 'su' to root first, then - su postfix
http://manpages.ubuntu.com/manpages/jaunty/man1/su.1.html
Thanks,
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Robert Lopez
Sent: 17 May 2013 01:09
To: MailScanner discussion
Subject: Re: Single email, multiple Spamassassin attempls
On Thu, May 16, 2013 at 4:24 AM, Martin Hepworth <maxsec at gmail.com> wrote:
> not normal, but it's telling you whats happening as it can't get a
> proper scan out of the message. I'd check you're permissions and the
> like are good to start with then run the problem message through a
> debug session (loggied in as postfix user first so you get a proper
> look at any permissions issues)
You lost me on "logged in as postfix" ...
# grep postfix /etc/passwd
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
The above is from the new RHEL gateway.
All our older Ubuntu gateways are ...
# grep postfix /etc/passwd
postfix:x:108:116::/var/spool/postfix:/bin/false
I never considered that
Run As User = postfix
Run As Group = postfix
actually required the postfix account to support being "logged into".
Do you mean sudo -u postfix MailScanner ... ?
If I do "sudo -u postfix MailScanner --lint" both this new and the older gateways (which have been working for years) fail but fail differently (different versions of MailScanner as well).
How do I "run the problem message through a debug session"?
In the man pages and in the book I have failed to see how to do that.
--
Robert Lopez
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list