MailScanner delivers SPAM but will not quarantine properly

Andrew Colin Kissa andrew at
Thu Oct 18 06:00:19 IST 2012

On 18 Oct 2012, at 1:06 AM, Dave Gattis wrote:

> It's been a while, but this one has me stumped:
> This is a new install with Postfix, MailScanner, MailWatch, Spamassassin,
> etc.  If MailScanner is set to deliver SPAM messages, everything works
> perfectly.  When set to hold, they get stuck in the "hold" directory until
> MailScanner gives up.  When they eventually move to quarantine, MailWatch
> reports them as
> "Other Bad Content Detected" in the admin email that is sent
> and
> "MailScanner: Message attempted to kill MailScanner".
> I have intentionally lowered my SPAM scores to replicate this over and
> over until I can get this resolved.  At this point, I am certain that it's
> some sort of permission issue but have tried everything I can think of.
> What's even odder is that I have another server running the exact same
> versions with the exact same permissions and it runs just fine.  I'm open
> to any suggestions as I'm ready to move on to another project.  Thanks for
> your help.
> I don't know what we'd do without MailScanner.
> :-)

Are you running MailScanner with the taint fix? Adding -U in the
/usr/sbin/MailScanner file...
Edit the first line to add -U to the end like;
#!/usr/bin/perl -I/usr/lib/MailScanner -U


More information about the MailScanner mailing list