[rt-devel] Mailer Gateway Patch - Multiple Word Queue Names
Christian Gilmore
cgilmore at tivoli.com
Tue Mar 19 17:03:34 EST 2002
You'll need to escape your queue quotes. Otherwise, the quotes are not
matched together appropriately.
Regards,
Christian
> -----Original Message-----
> From: rt-devel-admin at lists.fsck.com
> [mailto:rt-devel-admin at lists.fsck.com]On Behalf Of Swayne, Mark A
> Sent: Tuesday, March 19, 2002 3:57 PM
> To: rt-devel at lists.fsck.com
> Subject: RE: [rt-devel] Mailer Gateway Patch - Multiple Word
> Queue Names
>
>
> I could swear I tried double quotes. Let me try this out...
>
> With this line in /etc/aliases:
> prod-tt: "|/web/rt2/bin/rt-mailgate --queue "Production
> Trouble Tickets"
> --action correspond"
>
> I get to emails in response:
> Subject: Ticket Creation Failed
> Body: No permission to create tickets in the queue ''.
> - and -
> Subject: RT Bounce: <Ticket Subject>
> Body: RT couldn't find the queue: Production.Trouble.Tickets
>
> I'm running Redhat 6.2, sendmail version 8.9.3
>
> -----Original Message-----
> From: Ayan R. Kayal [mailto:ayan.kayal at yale.edu]
> Sent: Tuesday, March 19, 2002 10:37 AM
> To: rt-devel at lists.fsck.com
> Subject: RE: [rt-devel] Mailer Gateway Patch - Multiple Word
> Queue Names
>
>
> You need double quotes around the queue name if it's more
> than one word. We
> use a few multiword queues here too and it works just fine...
>
> O- ~ARK
> > -----Original Message-----
> > From: rt-devel-admin at lists.fsck.com
> > [mailto:rt-devel-admin at lists.fsck.com]On Behalf Of Jesse Vincent
> > Sent: Tuesday, March 19, 2002 1:26 PM
> >
> > So I've got this queue called "RT Bugs" and I've never had a problem
> > with this. perhaps you're not properly quoting things in
> /etc/aliases?
> >
> >
> > On Tue, Mar 19, 2002 at 11:31:05AM -0600, Swayne, Mark A wrote:
> > > I discovered that multiword queue names were not getting
> > processed properly
> > > by the mailer gateway. That is, if you have a queue
> named "Customer
> > > Service", you are going to have a hard time getting the mailer
> > gateway to
> > > parse it properly. So I added a little regex to
> translate '_' to ' '.
> > >
> > > It works well as far as I have been able to test, but our
> site is not in
> > > production yet, and traffic is low.
> > >
> > > *** /usr/src/rt-2-0-11/bin/rt-mailgate Thu Nov 29 00:42:41 2001
> > > --- rt-mailgate Thu Mar 14 16:47:07 2002
> > > ***************
> > > *** 89,94 ****
> > > --- 89,97 ----
> > > }
> > >
> > > # }}}
> > > +
> > > +
> > > + $Queue =~ tr/_/ /;
> > >
> > > # get the current mime entity from stdin
> > > my ($entity, $head) = ParseMIMEEntityFromSTDIN()
>
>
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
>
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
>
More information about the Rt-devel
mailing list