Qmail
[Top] [All Lists]

qmail as a spam firewall

To: qmail@list.cr.yp.to
Subject: qmail as a spam firewall
From: up@3.am
Date: Fri, 5 Jan 2007 12:14:49 -0500 (EST)
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
All of my servers run qmail + rblsmtpd + spamd + clamd + simscan.  In
order to reduce load on the main server that my users send out of, I'm
experimenting with filtering some domains on an external server.  I set it
up like this:

DNS:

domain.com.     IN      MX      5       filterhost
domain.com.     IN      MX      10      mainhost

in filterhost, domain.com is in control/rcpthosts and in
control/smtproutes, I have:

domain.com:mainhost

One particular bogus email address was getting hammered, so I put in a
blacklist_to rule in my SA config, restarted spamd, but now, although
bogus@domain.com is triggering the SA rule and those emails are being
detected as spam by filterhost, it still appears to be forwarding it to
mainhost anyway.

Does control/smtproutes come into play BEFORE simscan (which rejects at
the smtp level) does?  What about rblsmtpd?

TIA,

James Smallacombe                     PlantageNet, Inc. CEO and Janitor
up@3.am                                                     http://3.am
=========================================================================


<Prev in Thread] Current Thread [Next in Thread>