rules and whitelist

Julian Field mailscanner at ecs.soton.ac.uk
Thu Aug 19 23:16:37 IST 2004


<x-flowed>
At 23:08 19/08/2004, you wrote:
> > >I have an issue with a client who tells me that mail from a specific
> > >domain show always be allowed to reach them. I.E. should not be deleted.
> > >OK, so I created a rule that says the following:
> > >
> > >From:             *@arcas.com                               deliver
> > >
> > >amongst other rules as well.
> >
> > Don't you mean "To:" and not "From:" ?
>[Dave Filchak]
>
>No ... I don't think so. Mail from arcas.com should be delivered and not
>marked as spam. The client can send mail To: arcas.com with no problems.
>It's when the mail is coming into my clients domain that there is a problem.

In which case you want
To:     client.domain.com       deliver

><snip>
> >
> > >  The second part of my question involves setting up rule files specific
> > > to domains. I host a small number of domains but would like to have
> > rules
> > > applicable to each domain only. Is it possible to somehow have a rule
> > > call another rule? For example, in my main rules file I could have:
> > >
> > >             To:      <mailto:*@somedomain.com>*@somedomain.com
> > >         /etc/MailScanner/rules/somedomain.com.rules
> > >
> > >I am led to believe by a very reputable source that you cannot call one
> > >rule file with another. Is there any way to achieve this functionality?
> >
> > You cannot call one rules file from another. However, you can use an "and"
> > condition in a rules file to say
> > To: *@somedomain.com and From: arcas.com yes
> > and things like that.
> >
> > There is also per-domain and per-user whitelist and blacklist support in
> > CustomConfig.pm which you may find useful.
>[Dave Filchak]
>
>Is there info on this in the package or is it on the MailScanner site?

Take a look in CustomConfig.pm, there are some docs in there.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list