Block list by email

Alexandre Gorges algorges at gmail.com
Thu Feb 26 23:51:50 GMT 2009


Great.

Let me see. Please help.

I want the mail test at domain.com not receive any file. exe and any email that
comes from spam at spammer.com

In Mailscanner.conf, I modified the "Filename Rules"   to Filename Rules =
/etc/Mailscanner/rules/filename.rules.

In filename.rules, I added

To: test at domain.com /etc/MailScanner/rules/filename-test.rules
FromOrTo: default /etc/MailScanner/filename.rules.conf

Inside filename-test.rules, I added

deny \.exe$ - -

So, to block spam at spammer.com, I use the  " Is Definitely Spam =
/etc/MailScanner/rules/spam.blacklist.rules"

In spam.blacklist.rules, I added

To: test at domain.com /etc/Mailscanner/rules/blacklist-test.rules
FromOrTo:    default                    no

Inside blacklist-test.rules, I added

From: spam at spammer.com yes


It is correct? 

Thanks again.


From: Alex Neuman <alex at rtpty.com>
Reply-To: Lista Mailscanner <mailscanner at lists.mailscanner.info>
Date: Thu, 26 Feb 2009 10:19:21 -0500
To: Lista Mailscanner <mailscanner at lists.mailscanner.info>
Subject: Re: Block list by email



On Thu, Feb 26, 2009 at 8:24 AM, Alexandre Gorges <algorges at gmail.com>
wrote:
> Hello,
> 
> It is possible to create blacklist, whitelist and filename list by email?
Yes! 
> 
> If it possible, how?
By editing the .rules files and following the examples within.
> 
> 
> Thanks
You're welcome! 
> 
> 
> 
> 
> []'s
>  Alexandre Gorges ⌘
> http://algorges.blogspot.com
> http://www.dag.eti.br
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090226/4b5d84d9/attachment.html


More information about the MailScanner mailing list