[Mimedefang] Skipping SA on TLSMTA connections?

Vladimír Solnický vs-ml at email.cz
Thu Nov 23 04:03:57 EST 2006


Philip Prindeville wrote:
> Locally (and for users on the road) we use port 465 (SMTPS).
>
> Since we trust email on this port, it seems a waste of time to scan
> it for Spam.
>
> I figure this is fairly common.  Anyone have an issue with the patch:
>
> ***************
> *** 263,269 ****
>       return if message_rejected();
>
>       # Spam checks if SpamAssassin is installed
> !     if ($Features{"SpamAssassin"}) {
>         if (-s "./INPUTMSG" < 100*1024) {
>             # Only scan messages smaller than 100kB.  Larger messages
>             # are extremely unlikely to be spam, and SpamAssassin is
> --- 266,272 ----
>       return if message_rejected();
>
>       # Spam checks if SpamAssassin is installed
> !     if ($Features{"SpamAssassin"} && $SendmailMacros{'daemon_name'} ne 'TLSMTA') {
>         if (-s "./INPUTMSG" < 100*1024) {
>             # Only scan messages smaller than 100kB.  Larger messages
>             # are extremely unlikely to be spam, and SpamAssassin is
>   
I guess it might cause some compatibility issues for postfix-milter. Can 
any code hacker/postfix user comment on it, please?

Have a nice day,

Vladimír



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the MIMEDefang mailing list