WhiteList & Blacklist in CustomConfig.pm
Julian Field
mailscanner at ecs.soton.ac.uk
Sat Oct 23 04:33:45 IST 2004
<x-flowed>
At 16:41 22/10/2004, you wrote:
>Hi
>
>I have a domain that I know I will only recieve email
>from a paticular set of IP addresses.
>
>I want to block any mail for this domain that does not
>come from these paticular IP addresses.
>
>I was looking at using the whitelist/blacklist
>function in CustomConfig.pm,
>
>I would set up a whitelist in the whitelist directory
>called domain.co.uk and add to it the IP addresses of
>the servers I know I recieve mail from.
>
>Then set up a blacklist in the blacklist directory
>called domain.co.uk, my question is can I just use *
>to indicate block everything?
You don't use "*", you use "default". This will be over-ridden by any other
entries in the blacklist file for that domain, but you can just have a
single line saying "default" to provide the default value for that domain.
>Am I correct in saying that this gets looked at before
>any virus/spamassasin scanning?
The per-domain black/whitelist code in CustomConfig.pm was intended to be
used for the "Is Definitely Spam" and "Is Definitely Not Spam"
configuration options, but you can apply the same Custom Function to other
(or just several) configuration options.
>Thanks
>
>Paul Houselander
>
>
>
>
>
>
>
>___________________________________________________________ALL-NEW Yahoo!
>Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
>
>------------------------ 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).
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store
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