scanning rules
eclipsem at optusnet.com.au
eclipsem at optusnet.com.au
Wed Nov 14 21:49:25 GMT 2007
> Glenn Steen <glenn.steen at gmail.com> wrote:
>
> On 14/11/2007, eclipsem at optusnet.com.au <eclipsem at optusnet.com.au>
> wrote:
> >
> > Hello,
> >
> > I would like to have something clarified about scan rules.
> >
> > # If this is set to yes, then email messages passing through
> MailScanner
> > # will be processed and checked, and all the other options in this
> file
> > # will be used to control what checks are made on the message.
> > # If this is set to no, then email messages will NOT be processed or
> > # checked *at all*, and so any viruses or other problems will be
> ignored
> > Scan Messages = /opt/MailScanner/etc/rules/scan.rules
> >
> > This file contains -
> >
> > From: 127.0.0.1 no
> > From: 10.0.1.6 no
> > FromOrTo: default yes
> >
> > These are the IP's of the local server, now I have a script that
> generates emails upon email to sales department, to other sales reps, it
> is a new generated message, not forwarded as it contains some SQL
> content. The thing is MailScanner still wants to scan the message when
> its submitted.
> >
> > I also have these IP's in -
> > Information Header = /opt/MailScanner/etc/rules/header.rules (in
> case we take them out of all scanning rules at later date)
> >
> > Could this settings be countermanding the "no scan" rules?
> >
> > Also we strip out some Exchange headers in MailScanner using "Remove
> These Headers" this works very well, except we turned off Spam Checks,
> for a bit trying to debug the above problem , and we noticed
> > that MailScanner stopped removing that header but yes all the other
> scan rules were still active?
> >
> > TIA
> > Edward
>
> It should function exactly as it says "on the tin".... Could we see
> some example log entries (all relevant entries, from connect to the
> MTA, through MS and on to final delivery), and perhaps an example
> message (with headers) as well?
>
They all say the IP 10.0.1.6, which it is told by the rules above to ignore, mailscanner adds the headers to the message including spamassassins so I know it is ignoring the "do not scan" rules and scanning them.
More information about the MailScanner
mailing list