[Mimedefang] Skipping SA on TLSMTA connections?

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Nov 23 00:31:26 EST 2006


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





More information about the MIMEDefang mailing list