(2nd Request) Disable scanning for a client that connects via SMTP-AUTH

Jeffry Page jtp at jtpage.net
Sat Jul 4 18:51:48 IST 2009


I have done this using MIMEdefang and a custom function for mailscanner. I
have it currently setup for sendmail.

I had to do this because mail I sent from my home machine via SMTP would get
flagged on the spamhaus-ZEN RBL, which any home internet IP should. I really
wanted to use this RBL so this was the solution. It feels kind of hacky the
way its done, but it works really well and is totally transparent.

I looked it up and mimedefang is only for sendmail, but if you have a way to
add a customer header in on other MTA's then it would work for this also. I
only used MIMEDefang to add a header in before mailscanner got the email.

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Julian
Field
Sent: Thursday, July 02, 2009 5:00 PM
To: MailScanner discussion
Subject: Re: (2nd Request) Disable scanning for a client that
connectsviaSMTP-AUTH

In which case please tell me how I find out from the email headers, in 
such a way that it works for all 4 supported MTAs. I'm not interested in 
a sendmail-only solution.

Thanks,
Jules.

On 02/07/2009 22:18, Mat Murdock wrote:
> I know I'm kind of bringing this topic back from the dead, but 
> spamassasin has a rule called "ALL_TRUSTED" that detects if the e-mail 
> used smtp-auth.  If so it give it negative score.  It does this by 
> looking at the sendmail headers.  The problem I have is that my users 
> are sending their mail from ip's that are on dns blacklists.  It would 
> be nice if MailScanner was also able to read the headers the same way 
> that spamassassin does and allow the user to skip dns blacklist checks 
> for authenticated e-mails.
>
> Mat
>
> Gary Faith wrote:
>> That is exactly what I want to do but I am not a sendmail expert and 
>> I don't know how.  I was hoping someone would know how to do this.
>>
>> >>> Mark Sapiro <mark at msapiro.net> 5/24/2009 1:42 PM >>>
>> On Sat, May 23, 2009 at 09:13:41PM -0400, Gary Faith wrote:
>> > My business that has the mail scanner is my ISP and all my personal 
>> outbound mail will be going through that mail scanner.  Discussing 
>> whether I can relay through someone or another is pointless.  What I 
>> need is a way to not scan e-mail when it comes from a trusted 
>> source.  Do you know how I can do this?
>>
>>
>> I use Postfix and am not really familiar with how MailScanner works with
>> sendmail, but can't you just do something in the sendmail 
>> configuration to
>> identify the SMTP-AUTH mail and queue or deliver it in a way that 
>> bypasses
>> MailScanner?
>>
>> -- 
>> Mark Sapiro mark at msapiro net       The highway is for gamblers,
>> San Francisco Bay Area, California    better use your sense - B. Dylan
>> -- 
>> 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!
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, 
>> and is
>> believed to be clean. 
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean. 

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Follow me at twitter.com/JulesFM

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-- 
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
http://lists.mailscanner.info/mailman/listinfo/mailscanner

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

Support MailScanner development - buy the book off the website! 

-------------------- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is believed to be clean.


-------------------- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is believed to be clean.



More information about the MailScanner mailing list