[rt-users] filtering user creation on emails

Rasmus Brøgger Rasmus.Brogger at uni-c.dk
Sat Sep 6 07:29:52 EDT 2003


On Fri, Sep 05, 2003 at 11:53:28AM -0700, Sean Perry wrote:
> Is there a good place to drop a filter that prevents new user additions 
> if they do not match some regex?  In particular we have the auto-cc 
> feature enabled, which is quite nice.  But every now and then someone 
> accidently leaves in a cc to some address we dont want in the system 
> (mailing list, outside addy, etc).  Since I can not delete bad accounts 
> I have to look at the User list periodically and lock them.
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I use procmail to scan for know addresses before a mail is handed to
rt-mailgate.

eg:

procmailrc for a queue:

QUEUE="<name>"
EMAIL="<adm.of.rt at host>"

:0
* ^X-Spam-Level: \*\*\*
!$EMAIL

:0
* ^From:.*Mailer-Daemon
* ^Subject:.*NDN:
/dev/null

:0
|/usr/local/rt2/bin/rt-mailgate --queue $QUEUE --action correspond

#My spam check is done by postfix and spamassassin

/rhb



More information about the rt-users mailing list