[rt-users] Added bounce Detection for RT3

Stewart James stewart.james at vu.edu.au
Thu Mar 20 00:35:22 EST 2003


If I get this wrong one more time, I'm gonna give up.
If anyone manages to follow this thread and ednd up with working files I
will be amazed!

I stuff Action.Sendmail.pm.diff this one is actually a diff WOOHOO

Sorry again.

> On Thu, 20 Mar 2003, Stewart James wrote:
>
> > Date: Thu, 20 Mar 2003 15:47:15 +1100 (EST)
> > From: Stewart James <stewart.james at vu.edu.au>
> > To: rt-users at lists.fsck.com
> > Subject: [rt-users] Added bounce Detection for RT3
> >
> >
> >
> > Hi,
> >
> > Here is my loose bounce detection for rt3. As usual not really tested, but
> > working for me.
> >
> > thse are diffs ofr ~rt3/lib/RT/Action/Sendmail.pm and
> > ~rt3/lib/Interface/Email.pm
> >
> > Add:
> >
> >  Set($BounceDomain, "yourdomain.com");
> >
> > to your RT_SiteConfig.pm where yourdomain is where you want your bounces
> > to go to.
> >
> > Under sendmail I put an alias
> >
> > bounce+*: "|/usr/local/rt3/bin/rt-mailgate --queue general --action comment --url http://WEBURL"
> >
> > THe queue is not important, email sent to people is sent as
> > bounce+ticket-#@vu.edu.au The system should figure out from that which
> > ticket to put the message into so the queue is not important.
> >
> > Also you must add a user 'bounce' (I set the real name to Bounced Message
> > - that way users see "Bounced Message VIA RT") and give use bounce tha
> > ability to comment on all tickets globally.
> >
> > I worked on this while doing other bits and peices so hope I did not
> > forget any other files I have altered.
> >
> > I'm not too worried about this but you might: Sendmail will add a warning
> > that www-data sent mail as bounce+yadayada, I think you can add www-data
> > to trusted users of senbmail for that to be stopped. I do not mind the
> > system doing this myself.
> >
> > If someone tries this and gets it working please let me know. Be aware,
> > that there is no 'loop' detection on this - if a non-requestor is
> > generating the bounces you will get a loop happening.
> >
> > Stewart
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Action.SendEmail.pm.diff
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030320/b7d50b8a/attachment.ksh>


More information about the rt-users mailing list