[Mimedefang] Sending Spam complaints

Cormack, Ken kcormack at acs.roadway.com
Tue Oct 7 08:31:02 EDT 2003


Andrea,

Here's how we do it.  We are set up to NOT run SpamAssassin on outbound
traffic from our internal relay, and we do NOT run SA against the
systemically-generated traffic from any of our DMZ hosts.  First, we define
to subroutines...

# dont process outbound from taomap
sub Exclude_FromInternal() {
  # don't process stuff from internal relay
  if ($RelayAddr eq "XXX.XX.XXX.XX") {
    return 1;
  }
  return 0;
}

# dont process outbound from a DMZ host
sub Exclude_FromDmz() {
  # don't process stuff from DMZ
  if ($RelayAddr =~ /XXX.XX.XXX/) {
    return 1;
  }
  return 0;
}

Then in filter_end, we modify the call to SpamAssassin, as follows:

if ($Features{"SpamAssassin"} && !Exclude_FromInternal() &&
!Exclude_FromDmz()) {

Doing this, we still run SA to scan inbound traffic, but outbound traffic is
not processed by SA.  Hope this example helps.

Ken



-----Original Message-----
From: Andrea Venturoli [mailto:ml.ventu at flashnet.it]
Sent: Tuesday, October 07, 2003 1:07 PM
To: mimedefang at lists.roaringpenguin.com
Subject: [Mimedefang] Sending Spam complaints


Hello.
I apologize if this is a FAQ, but since I upgraded to 2.37 I have the
following problem: whenever a spam message gets
through my filters I inform the ISP where it originates and I obviously need
to send a copy of the offending mail;
sometimes this report is blocked as spam, even though the message alone
managed to reach my inbox.
How do I turn off spam checking on outbound e-mail (while obviusly leaving
it on for incoming ones)?

 bye & Thanks
        av.



_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang



More information about the MIMEDefang mailing list