mailscanner and perdomain white and blacklists
dmehler26 at woh.rr.com
Tue Feb 7 17:19:29 GMT 2006
Sorry about the long delay in getting back to you. I checked out
CustomConfig.pm and if i'm reading it right what i have to do is set the "Is
Definitely Spam" and "Is Definitely Spam" to point to a directory for white
and blacklists. So say i want a whitelist for example1.com i would make a
/etc/MailScanner/domains directory for all my domains and point ms to it.
Then make a directory for example1.com and then a file spam.whitelists.conf
adding in what i want. Put the blacklist in the same area. Before i let you
know of my problem do i have this right so far? Checking the MS config on
this box here's what is already in there for those values:
Is Definitely Not Spam=%rules-dir%/spam.whitelist.rules.
Is Definitely Spam=%rules-dir%/spam.blacklist.rules
and those files exist with content. If i'm reading this right these
whitelists and blacklists are applied globally and not per-user and
----- Original Message -----
From: "Julian Field" <MailScanner at ecs.soton.ac.uk>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Thursday, February 02, 2006 12:28 PM
Subject: Re: mailscanner and perdomain white and blacklists
> There is code to do this in CustomConfig.pm in
> /usr/lib/MailScanner/MailScanner. There is documentation in there that
> will tell you how to enable the code and how to set everything up for it.
> Look for the Per-Domain whitelist and blacklist code and you'll find it,
> there is code in the same file for other add-on features as well.
> If you have trouble setting it up or getting it basically working, then
> give me a shout (possibly on IRC) and I'll try to help where I can.
> It's not hard, you don't have to write any code or anything to make it all
> Dave wrote:
>> Hi Julian,
>> Thanks for your reply. I haven't had a moment yet to check out that
>> boxes mailscanner.conf except except just a quick overview of the
>> mta-specific settings. Can the spam whitelists and blacklists be used on
>> a perdomain basis? For example, i've got domain1.com and domain2.com. The
>> user at domain1.com wants a user added to his spam whitelist while the
>> user at domain2.com wants a spammer added to his spam blacklist. Ideally
>> i believe these users at domain 1 and 2 .com want independent lists.
>> Thanks a lot.
>> ----- Original Message ----- From: "Julian Field"
>> <MailScanner at ecs.soton.ac.uk>
>> To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
>> Sent: Thursday, February 02, 2006 4:09 AM
>> Subject: Re: mailscanner and perdomain white and blacklists
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> On 1 Feb 2006, at 23:32, Dave wrote:
>>>> I've got a mailscanner install with sendmail. It's working fine
>>>> and it's working for multiple users. Now i'm getting requests from
>>>> user a to add a username/domain to a blacklist file and user b to
>>>> add another username/domain to a whitelist file. These i'm thinking
>>>> should be separate as they are separate domains. This is on an fc4
>>>> box. Is this doable, any help appreciated.
>>> Blacklist or whitelist in what sense? You basically just need a
>>> couple of rulesets, one for your blacklist and one for your
>>> whitelist. There is already a spam.whitelist.rules which you can use
>>> as a sample from which to create and use a spam.blacklist.rules file.
>>> Look in MailScanner.conf for spam.whitelist.rules and you will see
>>> how to refer a setting to a rules file.
>>> - -- Julian Field
>>> Buy the MailScanner book at www.MailScanner.info/store
>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: PGP Desktop 9.0.4 (Build 4042)
>>> -----END PGP SIGNATURE-----
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> Before posting, read http://wiki.mailscanner.info/posting
>>> Support MailScanner development - buy the book off the website!
> Julian Field
> 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
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
More information about the MailScanner