[rt-users] mailer daemon email

Bruce Campbell bruce_campbell at ripe.net
Fri Jan 11 18:49:15 EST 2002


On Fri, 11 Jan 2002, Bruce Campbell wrote:

> On Thu, 10 Jan 2002, Shawn Page wrote:
>
> > A message was sent to an incorrect email address from RT 2.0.7.  The
> > mailer-daemon sent the usual message stating that the address does not
> > exist, whereupon RT sent a reply to the new mailer-daemon user.  Is
> > there a way to keep RT from sending these messages to the mailer-daemon?
>
> My current madness (see other ticket) is reimplementing
> AutoReplyToRequestors to observe a 'do not send autoreplies' field in the
> given user's comment.  (so we can not autoreply to all of our cutsie log
> reports etc).  Would that help you?

Ok, the above will shortly be available as AutoReplySquelch.tgz from
http://www.amsterdamned.org/~bc/rt/

It works by looking in the User's Comment field for:

	Autoreply on Transaction: Suppress

(case insensitive, doesn't care whats after 'suppress').

If theres a match, it doesn't continue (no mail sent).  If theres no
match, its just the same as AutoReplyToRequestors (calls the same code).

Next up (after I sleep), code to dynamically add/remove that field based
on whether a given user is mailing us too often (ie, mail loop).

-- 
                             Bruce Campbell                            RIPE
                                                                        NCC
                                                                 Operations






More information about the rt-users mailing list