<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
Why don't you use SPF on your domains?<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
</TD>
</TR>
</TABLE>
<BR>
-----Original Message-----<BR>
<B>From</B>: Gary Faith <<A HREF="mailto:Gary%20Faith%20%3cgafaith@asdm.net%3e">gafaith@asdm.net</A>><BR>
<B>Reply-to</B>: MailScanner discussion <mailscanner@lists.mailscanner.info><BR>
<B>To</B>: <A HREF="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</A><BR>
<B>Subject</B>: (2nd Request) Disable scanning for a client that connects via SMTP-AUTH<BR>
<B>Date</B>: Wed, 20 May 2009 21:50:33 -0400<BR>
<BR>
I am running MailScanner 4.75 on x86_64 and Sendmail 8.13. I have a situation where I am relaying e-mail for a trusted mail server with a dynamic IP who connects to my mail scanner via SMTP Auth. I don't have a need for scanning the outbound e-mail from this server but I do need to have the inbound mail scanned. So I figured I would add the domain to scan.messages.rules.
From: domain.com no
This had the effect of stopping scanning of the mail which was desired but now spam is coming in with the From addresss the same as the To address like: <A HREF="mailto:xyz@domain.com">xyz@domain.com</A> to <A HREF="mailto:xyz@domain.com">xyz@domain.com</A>. These messages are not being scanned and getting passed through due to the rule above. Obviously, I didn't think this through correctly and I need a better solution.
What is required:
1. Outbound mail from the server with a dynamic IP which authenticates to the mail scanner via SMTP Auth = Not Scanned. I wouldn't care if it just goes from sendmail-in to sendmail-out and not even go through mailscanner but I don't know if that is possible.
2. All other mail scanned (like normal).
I know I can't base a rule on the IP address since it is dynamic but I am unsure of any other way to accomplish this. Any thoughts on how I can accomplish this?
Thanks,
<BR>
Gary Faith
</BODY>
</HTML>