Rejected email redirect

Sampson, Aaron Sampson at p2sol.com
Wed Mar 28 20:36:33 IST 2012


Okay I will take some of these options to the team and try a few.  I will try to remember to come back and post results in case anyone else runs into a similar issue.

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Ken A
Sent: Wednesday, March 28, 2012 1:48 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: Rejected email redirect



On 3/28/2012 1:06 PM, Sampson, Aaron wrote:
> So Ken are you saying that if I turn off the option in PF that SA is 
> already running the same check by default?

Very similar checks, probably not the same exactly.. I have not done any comparison.. See `grep HELO /usr/share/spamassassin/*` to see what they check..


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?

It may be tagged as spam and whatever you configure MailScanner to do - it will do. That's easy to deal with though. You can whitelist by IP, or change the scores of the HELO rules, or write new rules to offset the HELO rules.
ie: look for
HELO =~ /(?:somecompany|someothercompany)/ (not tested)..

Ken



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 lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Ken A 
> Sent: Wednesday, March 28, 2012 11:00 AM To:
> mailscanner at lists.mailscanner.info 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_"
>
> Ken
>
>
>
> 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 - http://www.pacific.net Latest 
> Pacific.Net Status - http://twitter.com/pacnetstatus -- MailScanner 
> mailing list mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!

--
Ken Anderson
Pacific Internet - http://www.pacific.net Latest Pacific.Net Status - http://twitter.com/pacnetstatus
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list