Question about rejecting email
davidj at bytesinteractive.com
Tue Feb 8 03:19:48 GMT 2011
Thanks for your help.
I created a file called spam.blacklist.rules
I added a rule like so just to test it out
From: exampleemail98234 at gmail.com and To: *@myemailaddress.com yes
I updated the MailScanner.conf file setting the
Is Definitely Spam = %rules-dir%/spam.blacklist.rules
I then sent an email from my gmail account to a specific address which is
mine to see if it would indicate that it was spam.
It came in and not marked.
The thing is I actually want it to reject it or delete it but when I set
delete as the value in the rules file I get an error message from
Syntax error in line 1 of ruleset file
/usr/lib/MailScanner/MailScanner/Config.pm line 2444
Thanks for any help. BTW the MTA is postfix
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Martin
Sent: February 4, 2011 5:48 AM
To: MailScanner discussion
Subject: Re: Question about rejecting email
Depends on the MTA for a reject..
you can create a rule in MailScanner.conf against "Is Definitely spam" so
emails get discarded if to customer and from badperson - you can also
overload these rules quite nicely (search on the wiki for overload)
On 3 February 2011 21:27, David Jourard <davidj at bytesinteractive.com> wrote:
I have mailscanner running for a while and haven't work with it for awhile.
Today a customer asked me to reject email for his email address coming from
email that ends in somename at somedomain.xx where xx is a particular county
he is getting a lot of spam.
Could someone guide me on how to create a ruleset for this request.
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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner