Feature request: Overloading Whitelists/Blacklists
MailScanner at ecs.soton.ac.uk
Thu Sep 8 18:27:20 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
The answer to your question is all in
/usr/lib/MailScanner/MailScanner/CustomConfig.pm. There is code in there
to provide per-user and per-domain white and black-lists. It's all
obvious in that file, it gives you instructions on what to set in your
MailScanner.conf and how to lay out the files.
You can then just build the files from a database on a regular basis,
and kill -HUP (or service MailScanner reload) to tell MailScanner to
re-read all the files. It caches the files internally which makes it a
whole lot faster!
This method is heaps faster than using a large conventional ruleset.
It would be really helpful if you could log what you did into the wiki
so that the instructions are there for others.
If you have problems setting it up, just shout for help.
Joost Waversveld wrote:
>We want to use MailScanner for a lot of domains. I was checking if we could
>define the whitelist per domain in a seperate file. Unfortunately I do not get
>it working. I tried the solution you can find on the wiki about "overloading
>but then I get an syntax error. Apparently this does not work for defining
>We want to do this so it's much easier to administrate all the settings for our
>According to the error I got, I think this is not an feature what's already in
>Mailscanner, what makes this email an Feature request. :) I really hope this is
>gonna be an feature of MailScanner.
>------------------------ 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 Wiki (http://wiki.mailscanner.info/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>Support MailScanner development - buy the book off the website!
Buy the MailScanner book at www.MailScanner.info/store
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 Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner