[rt-users] How bestpractical.com filters spam in front of RT

Asif Iqbal iqbala at qwestip.net
Wed Sep 17 02:01:33 EDT 2003


On Mon, 15 Sep 2003, Jesse Vincent wrote:

>
> I use the following tool to do my spam filtering in front of RT.
> It uses Mail::Audit and Mail::Spamassassin.  It can, in fact, be run in
> front of any program that receives mail through a pipe in your
> /etc/aliases file. You'll need to make sure it can write to its temp
> directories and your spamassassin setup is as you like it.
>
> Rob Spier wrote this tool for perl.org and I adapted it for RT3.
> I'm eternally grateful. It's made my life suck much less.
>
> in /etc/aliases, I've got this:
> rt-3.0-bugs: "|/opt/bestpractical.com-rt3/bin/mailaudit /opt/fsck.com-rt3/bin/rt-m
> ailgate --queue 'rt3' --action 'correspond' --url http://rt3.fsck.com/"
>
> mailaudit is this:
>
>
> #!/usr/bin/perl
>
> # $Id: bugsfilter,v 1.31 2002/07/31 04:06:22 rt Exp rt $
>
>
> use strict;
>
> # -- CONFIGURATION --
> my $HOME = "/opt/rt3/mail/";

I am guessing you meant /opt/rt3 as $HOME

> $ENV{'HOME'} = $HOME;
> my $maildir = "$HOME/Mail/";
>
>
> use Mail::Audit qw(KillDups);
> use Mail::SpamAssassin;
> $Mail::Audit::KillDups::dupfile = "$HOME/.msgid-cache";
>
> my @defaults = qw(your-rt-owner);

What would be the default value of rt-owner ?

[...]

I will give this a shot

Thanks a lot
-- 
Asif Iqbal
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08
There's no place like 127.0.0.1




More information about the rt-users mailing list