[rt-devel] Mailer Gateway Patch - Multiple Word Queue Names

Ayan R. Kayal ayan.kayal at yale.edu
Tue Mar 19 13:36:34 EST 2002


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()





More information about the Rt-devel mailing list