[rt-users] Prevent Subject Lines Starting with RE: or Re: from creating tickets

pjaramillo at kcp.com pjaramillo at kcp.com
Wed Nov 25 15:25:57 EST 2009


Thanks. After some googling, I implemented the following in my sendmail.cf 
to silently discard the subject lines of my choice with out sending an 
annoying reply message

LOCAL_RULESETS
F{FullSubjects} -o /etc/mail/subjects_full
F{PartSubjects} -o /etc/mail/subjects_part
HSubject:       $>CheckSubject

SCheckSubject
R$={FullSubjects}$*     $: REJECTSUBJECT
R$* $={PartSubjects} $* $: REJECTSUBJECT
R$* REJECTSUBJECT $*    $#discard       $: discard

Thanks,
Paul J



From:
Jesse Vincent <jesse at bestpractical.com>
To:
pjaramillo at kcp.com
Cc:
rt-users at lists.bestpractical.com
Date:
11/25/2009 10:26 AM
Subject:
Re: [rt-users] Prevent Subject Lines Starting with RE: or Re: from 
creating tickets






On Wed 25.Nov'09 at  9:42:52 -0600, pjaramillo at kcp.com wrote:
> I won't to stop any emails with the Subject line of RE: <whatever> or 
Re: 
> <whatever> from creating tickets?
> Is this something that can be done with sendmail or rtmailgate, while 
> still retaining the ability for users to create tickets via email?

I'd probably just use procmail for that myself.

> 
> Thanks,
> Paul J
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
[attachment "signature.asc" deleted by Paul Jaramillo/KCP] 





More information about the rt-users mailing list