On Wed, Apr 19, 2006 at 03:34:19PM -0600, Philip Prindeville wrote:
> But since I'm submitting on port 465 with authentication, and
> not on port 25... it doesn't make sense to make certain blanket
> tests that would be applied to all "outside" mail.

What I do in this case is make some tests optional on the port you
connect to, using:

if ( $SendmailMacros{"daemon_name"} =~ /SSL/ ) {
    ...
}

This requires you to put the names used in "DaemonPortOptions" in
your filter, but I guess that's not too bad.

daemon_name is even available at connect (and HELO) time, but won't
be read by mimedefang.c until envfrom...

-- 
Jan-Pieter Cornet <[EMAIL PROTECTED]>
!! Disc lamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please  !!
!! archive this message indefinately to allow verification of the logs.   !!
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to