[rt-users] Enhanced email gateway

Jesse jesse at fsck.com
Mon Dec 4 14:53:06 EST 2000


An easy way is to  create an RT account with the username 'daemon' and
grant it manipulate access to the queues you want to access.
Be forewarned that this means that if someone uses your mail system
to gain access to a shell, they'll be able to manipulate RT.

	-jesse

On Mon, Dec 04, 2000 at 12:08:56PM +0100, Rainer Dorsch wrote:
> 
> Hello,
> 
> I am wondering if I cannot implement myself a very limited mailgateway to 
> control RT as mentioned in the previous mail (see below). Essentially that 
> would mean to do something like this:
> 
> #!.bin.bash
> 
> # Usage: rt-mg queue prioritaet owner
> # Enables mail queues with rt activities
> 
> id=`cat - | /usr/lib/rt/bin/rt-mailgate --extended-syntax --ticketid --queue 
> $1 --action correspond`
> /usr/lib/rt/bin/rt -prio $id $2
> /usr/lib/rt/bin/rt -give $id $3
> 
> 
> But the script is run by the user daemon, which is not allowed to access the 
> RT (by default). How can I authorize daemon to access RT?
> 
> Thanks.
> 
> Rainer
> 
> > Jesse,
> > 
> > I agree with the function Rainer considers when the Web interface is not
> > disclosed and somebody who cannot access wants to know the latest
> > status.
> > 
> > Regards,
> > 
> > Kazu
> > 
> > 
> > On Wed, 15 Nov 2000 10:52:43 -0500
> > Jesse <jesse at fsck.com> wrote:
> > 
> > > There isn't currently a way to do that.
> > > 
> > > 
> > > On Wed, Nov 15, 2000 at 04:15:55PM +0100, Rainer Dorsch wrote:
> > > > 
> > > > Hmm, maybe I should have asked more detailed:
> > > > 
> > > > I am wondering, if it is possible to send a mail to a queue of RT with the 
> > > > content
> > > > 
> > > > Owner: abc
> > > > Priority: 75
> > > > Due: 2000-11-22
> > > > Subject: xyz
> > > > Content:
> > > > bla bla
> > > > 
> > > > It could work via rt-mailgate's action mode, but I did not find documentation.
> > > > 
> > > > Does anybody know, if that works and if it is documented somewhere?
> > > > 
> > > > Thanks.
> > > > 
> > > > Rainer.
> > > > 
> > > > 
> > 
> > 
> > 
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> 
> 
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

I have images of Marc in well worn combat fatigues, covered in mud, 
sweat and blood, knife in one hand and PSION int he other, being 
restrained by several other people, screaming "Let me at it! 
Just let me at it!"  Eichin standing calmly by with something 
automated, milspec, and likely recoilless.
				-xiphmont on opensource peer review




More information about the rt-users mailing list