Subject: RE: qmail or postfix ??
From: Leif Sawyer (lsawyer@gci.com)
Date: Thu May 01 2003 - 07:58:39 AKDT
James Zuelow writes:
> While I am a dedicated Postfix user, I notice that
> spam-proofing Qmail is featured in the SysAdmin issue that
> arrived today. (Thus tying in the spam-conspiracy thread
> *and* the Qmail thread.)
>
> Unfortunately, it isn't a "featured" article for their web
> page so you can't read it online. Does the UAA library
> subscribe to SysAdmin? Any shops in Anchortowne carry it?
I've got a copy of SysAdmin right here on my desk..
So here's the article in a nutshell:
Outbound Spam:
Install the SMTPd-AUTH patch, so you can authenticate your
smtp connections..
http://members.elysium.pl/brush/qmail-smtpd-auth
Use TCPwrappers and the RELAYCLIENT option of qmail to limit
the local hosts that can connect to your smtp server.
Inbound Spam:
Per-User filtering (as specified in the users .qmail file)
preline ~/myfilter.pl
SpamAssassin:
preline spamassassin
Use the Mail::SpamAssasin perl module (or in combination with:)
Use the Mail::Audit perl module to create per-user filtering
scripts like:
#!/usr/bin/perl
use Mail::Audit
my($msg) = new Mail::Audit;
if ($msg-bcc) {
$msg-reject;
}
if ( $msg-subject =~ /viagra/i ) {
$msg-reject;
}
if ( $msg-subject =~ /business[ ]+opportunity/i ) {
$msg-resend('collector@spamcollector.com');
}
-- Binary/unsupported file stripped by Listar --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Thu May 01 2003 - 07:59:42 AKDT