Rejected email redirect

Sampson, Aaron Sampson at
Wed Mar 28 19:06:04 IST 2012

So Ken are you saying that if I turn off the option in PF that SA is already running the same check by default? If so will we run into the same issue that we have been facing that e-mails that are being sent to us whose name will not resolve will still be rejected, unless I change the config?  Also I already have where (spam?) that does not fall into the high scoring spam score will go to quarantine folders but in the current state rejected emails are being denied in the MTA so never have an option to be processed further.  Which is the reason for looking at the change to allow the e-mails to make it further into the system before being rejected and/or stored.

-----Original Message-----
From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Ken A
Sent: Wednesday, March 28, 2012 11:00 AM
To: mailscanner at
Subject: Re: Rejected email redirect

SA already has a lot of HELO rules, due to all the spam from bots, and the lack of decent HELO checks in MTAs by default.

Use score actions in MailScanner.conf to put spam in quarantine or tag/deliver or whatever. Quarantine here is MTA quarantine, not an IMAP folder named "quarantine".

If you want them in specific IMAP folders, you'll need to use your LDA + sieve, procmail, or similar to match something in the headers - like the X-MailScanner-SpamCheck header with "HELO_"


On 3/28/2012 10:07 AM, Sampson, Aaron wrote:
> So my company is starting to deal with a lot of smaller companies and 
> I am running into an issue of e-mails being rejected due to the HELO 
> command coming back incorrect from the incoming e-mail.  I know this 
> is a simple fix and we have fixed this issue for several companies but 
> that is time consuming, and will become impossible as business grows.  
> Is there a way to for Mail Scanner to take the rejected e-mails and 
> place them in a folder like quarantine or even the quarantined folder?  
> If I change the reject message to a rule set how would I set up the 
> rule to say (any rejected e-mail place in
> FOLDER...)  using MS 4.84.5, with clamd, spamassassin on CENTOS 6.2 in 
> case you need this as well. Thanks

Ken Anderson
Pacific Internet - Latest Pacific.Net Status -
MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list