[Mimedefang] Hacking in authenticated local submissions

Philip Prindeville philipp_subx at redfish-solutions.com
Tue May 16 00:31:01 EDT 2006


Matthew.van.Eerde at hbinc.com wrote:

>Philip Prindeville wrote:
>  
>
>>Do we want to change the line:
>>
>>    if ($Features{"SpamAssassin"}) {
>>
>>in mimedefang-filter, for instance, to skip this check if $auth_authen
>>is valid?
>>    
>>
>
>Yup. http://www.mimedefang.com/kwiki/index.cgi?SMTPAuth
>  
>

Thanks.  Should that be "defined" or "exists"?  Because you can populate
a hash with:

    $hash{key} = undef;

and "defined($hash{key})" will be false, but "exists($hash{key})" with not.

-Philip

>David, perhaps the synthesize_received_header could add an ESMTPA keyword for mail received under the auspices of SMTP AUTH?  That would allow SpamAssassin to know that the mail was from an authenticated source.
>
>http://www.ietf.org/rfc/rfc3848.txt
>http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4184
>
>  
>




More information about the MIMEDefang mailing list