Filtering user creation on emails

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.

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@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=“”
EMAIL=“adm.of.rt@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