Exceptions to the rules.

Martin Hepworth maxsec at gmail.com
Thu Dec 5 12:46:53 GMT 2013

and those rules are before the default action line in the
scan.messages.rules files?

Martin Hepworth, CISSP
Oxford, UK

On 5 December 2013 10:06, Stef Morrell <stef at aoc-uk.com> wrote:

> Hi,
> Running MailScanner 4.84.5-3 with Postfix 2.5.1
> Assuming a domain receipt.com for which incoming email is normally
> scanned. I need to make an exception for a couple of known safe senders, so
> that email they send is never scanned at all, even when addressed to
> receipt.com
> This may not be the most sensible plan in the universe, but it is the one
> I have been tasked with by the man who signs my paycheck!
> My understanding is that I can have in MailScanner.conf a line
> Scan Messages = %rules-dir%/scan.messages.rules
> And then in scan.messages.rules, lines of the form
> From: safesender at domain.com no
> From: safesender2 at domain.com And To: recipient at receipt.com no
> To: receipt.com yes
> And this will completely bypass MS for those senders (optionally only when
> sending to stated recipient).
> Nevertheless, the sender's emails are being quarantined, as they contain
> attachments normally stopped by the file content rules.
> I've tried also adding the safe senders into a content ruleset to try and
> get them through the system, but this hasn't helped either.
> I presume I am missing something here. What do I need to do, in order to
> have MS honour such exceptions to the normal rules?
> Thanks
> Stef
> --
> 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20131205/fc168215/attachment.html 

More information about the MailScanner mailing list