MailScanner suddenly stopped working and screwed up everything

jan gestre at
Sun Feb 8 02:04:21 GMT 2009

On Sun, Feb 8, 2009 at 2:58 AM, Glenn Steen <glenn.steen at> wrote:
> 2009/2/7 jan gestre < at>:
>> On Fri, Feb 6, 2009 at 10:56 PM, Martin Hepworth <maxsec at> wrote:
>>> 2009/2/6 jan gestre < at>:
>>>> Hi Guys,
>>>> I've several mail servers running (postfix + dovecot + mysql +
>>>> mailscanner) that has been up for a long time now and suddenly it
>>>> stopped working one by one. It began by users experiencing bouncing
>>>> emails even though the user exist then it became worst, all emails is
>>>> now being tagged as spam even those from yahoo and gmail. I suspect
>>>> MailScanner might be causing the issue so I turned it off but the
>>>> server keep on rejecting emails because of postfix's
>>>> smtpd_client_restrictions rule that blocks emails if it came from an
>>>> ip address listed on, but after disabling that parameter
>>>> emails from sites like yahoo and gmail still gets blocked according to
>>>> postfix it's listed in sbl-xbl list, I know for a fact that this
>>>> shouldn't suppose to happen but it did. Anybody ever experienced this?
>>>> What's the workaround, I'm stumped, I have no idea why it suddenly got
>>>> screwed.
>>>> TIA
>>>> Jan
>>>> --
>>>> MailScanner mailing list
>>>> mailscanner at
>>>> Before posting, read
>>>> Support MailScanner development - buy the book off the website!
>>> Jan
>>> do you pay for the spamhaus feed? If not this could be the problem..
>> I've read the dnsblusage from spamhaus and I'm sure the volume of
>> emails we're getting is nowhere near that number. Here's an info of
> But if you use a forwarder for your lookups, that one might have been
> blocked by them. Did you check if a manual lookup works?
> (snip)

I'm using OpenDNS for lookups, I don't see any problem with it.

I tried upgrading MailScanner to see if the old version was causing
the problem, with spamhaus still disabled in postfix, it worked for a
while but after enabling spamhaus at the MTA level, I'm back to the
old problem. Disabled the spam check at the MTA level but emails are
still bouncing, I'm stumped :(

For the meantime I've removed the HOLD in header checks as suggested by Bastian.

My other Mail Server has an identical configuration but it's not
exhibiting this behavior.

More information about the MailScanner mailing list