design issue - whitelist rules/blacklist rules

Venkata Achanta vachanta at GMAIL.COM
Wed Nov 17 00:52:42 GMT 2004


I am trying to accomplish the following

DENY   Anything From * To *
EXCEPT From no-reply at To *

I have tried different combinations of whitelist and blacklist rules to get
this working and cant get it to work.

From:   * and To: *   yes
From:   no-reply at and To: *   no
( WTH am i doing this? i want to disallow spoofing.MS running Linux box
delivers clean messages to our exchange server so all internal e-mail wont
go thru the MS box )

From:   no-reply at   yes
From:   no-reply at and To: *   yes

(these are some administrative scipts e-mailing from that e-mail addy, i got
to get those but they are getting tagged as spam)

Here are the logs to reinforce my statements:

Nov 15 14:36:12 host sendmail[26920]: iAFMaCJI026920:
from=<no-reply at>, size=902, class=0, nrcpts=1,
msgid=<200411152236.iAFMaCJI026920 at>, proto=ESMTP,
daemon=MTA, relay=host []
Nov 15 13:52:02 host MailScanner[29537]: Message iAFLldov018164 from (no-reply at is whitelisted
Nov 15 13:52:02 host MailScanner[29537]: Message iAFLldov018164 from (no-reply at to is spam (blacklisted)
Nov 15 13:53:18 host sendmail[24290]: iAFLldov018164: to=<johnq at>,
delay=00:05:39, xdelay=00:00:00, mailer=esmtp, pri=120902,
relay=[], dsn=2.0.0, stat=Sent (
<200411152147.iAFLldov018164 at> Queued mail for delivery)

And i dont understand why we are looking at blacklist rules and marking it
as spam if it is already whitelisted in the first place.Is this a design flaw ?

I want to hear from you what the design of this part of the mailscanner is ?
Doesnt the whitelist stuff override the blackklist ? why is it getting
blacklisted ?

Isnt there a way to do "deny by exception" in the mailscanner , i thought it
did but the logs prove me wrong.

Please advice.

Thanks much,
Venkata Achanta

I already started the discussion under "Re: whitelist rules are being
overridden by the blacklist rules ?" ,if you want to look what else i tried.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list