White Listing E-mail
chris at TRUDEAU.ORG
Wed Nov 12 13:24:19 GMT 2003
How about this...
I have mail that is coming from server1.domain.com, server2.domain.com and
Can I just have per-domain whitelist entries for:
and make it include all servers that may be added in the future? something
----- Original Message -----
From: "Julian Field" <mailscanner at ECS.SOTON.AC.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Wednesday, September 24, 2003 3:55 AM
Subject: Re: White Listing E-mail
> At 23:35 23/09/2003, you wrote:
> >Quoting Julian Field <mailscanner at ECS.SOTON.AC.UK>:
> > > See the per-domain and per-user white and black listing code in
> > > CustomConfig.pm.
> > >
> >Thanks Julian. I did not see the per-domain white listing in
> >But that is probably because I am not looking hard enough. Say, how do I
> >perdomain whitelisting and also, can it be used in conjuction with
> You RTFM.
> Cut straight out of CustomConfig.pm....
> # This set of functions provides per-domain simple spam whitelists and
> # blacklists. Each of the 2 directories set below contains 1 file for
> # each domain, with the domain name being the filename. The file contains
> # a list of entries, 1 per line, each one either being a full address:
> # user at domain.com
> # or an entire domain:
> # domain.com
> # The addresses contained in the file for a domain make up the entire
> # spam whitelist or blacklist for that domain.
> # For example, say you had
> # which included the lines
> # soton.ac.uk
> # ecs.soton.ac.uk
> # jules at julianfield.net
> # 188.8.131.52
> # Then all mail from anything at soton.ac.uk, anything at ecs.soton.ac.uk or
> # jules at julianfield.net would be whitelisted if it was heading to any
> # address @jules.fm. Also all mail from IP address 184.108.40.206 would be
> # whitelisted if it was heading to any address @jules.fm.
> # The same thing works for the blacklist directory.
> # For per user per domain use the file name username at domainname.com.
> # Overall white and blacklists should be put in a file in each directory
> # called 'default'.
> # To enable these functions, set the following in your MailScanner.conf
> # Is Definitely Not Spam = &ByDomainSpamWhitelist
> # Is Definitely Spam = &ByDomainSpamBlacklist
> # Set these to be the location of your whitelist files and blacklist files
> my $WhitelistDir = '/etc/MailScanner/spam.bydomain/whitelist';
> my $BlacklistDir = '/etc/MailScanner/spam.bydomain/blacklist';
> Julian Field
> MailScanner thanks transtec Computers for their support
More information about the MailScanner