[rt-users] Changing queue names

Timothy A. Gregory tgregory at tarjema.com
Tue Feb 20 12:49:13 EST 2001


Thanks Jesse -

when I take stripmime out of the mix your suggestion worked.  I'll take a
look at the stripmime script and see if I can figure out the queue name
parsing - probably it just needs to be adjusted to re-quote the queue_id

--tag


On Tue, 20 Feb 2001, the heavens parted and Jesse said:

> I can't speak to whether stripmime is space-safe for queue names, but
> using single quotes should work.  when you use double quotes within
> a double quoted string, most parsers get confused.
> 
> 
> purchasing:                |"/usr/local/rt/bin/stripmime 'BusOffice - Purchasing' correspond"
> 
> 
> On Tue, Feb 20, 2001 at 09:17:35AM -0800, Timothy A. Gregory wrote:
> > Hey all,
> > 
> > this could actually be answered in either of two ways:
> > 
> > 1) We have some queue names that have spaces in them. Is there a way to
> > get email to actually work with those queues?  the address is purchasing@,
> > and I have this in /etc/aliases:
> > 
> >  Purchasing rt alias
> > purchasing:                |"/usr/local/rt/bin/stripmime "BusOffice -
> > Purchasing" correspond"
> > purchasing-comment:        |"/usr/local/rt/bin/stripmime "BusOffice -
> > Purchasing" comment"
> > purchasing-action:         |"/usr/local/rt/bin/stripmime "BusOffice - 
> > Purchasing" action"
> > 
> > The only difference between this entry and the 8 other queues involved is
> > that there is are spaces in the queue name.  When someone sends mail to
> > this queue they get this back:
> > 
> >      There has been an error:
> >      There has been an error with your request:
> >      You don't have permission to create requests in this queue. Either 
> >      you're not a queue member or non-members aren't allowed to create 
> >      requests in this queue.
> > 
> > Though the queue is set up to allow non-members to open new tickets.
> > 
> > 2)  If spaces are not going to work, then can I change the queue name to a
> > single word with no spaces using MySQL directly, or is there some
> > recommended utility for this?
> > 
> > 
> > Thanks for the help,
> > 
> > --tag
> > 
> > +--------------------------------------------------+
> > | Timothy A. Gregory        http://www.tarjema.com |
> > | *NIX SysAdmin               tgregory at tarjema.com |
> > | Arabic > English Translator         IBM AIX CATE |
> > +--------------------------------------------------+
> > Habit is habit and not to be flung out of the window by any man, but
> > coaxed downstairs a step at a time.  
> > --Mark Twain
> > 
> > 
> > _______________________________________________
> > 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
> 
> T\'waS br|ll1G 4|\||> 7#e sl1T#Y T0v3s D1|> gYR3 4nd Gimb at 1 1|\| 7#E \/\/A83
> all |\/|1|\/|53Y W3R3 d4 60r0GR0V3s @|\||> |>4 M0MES wr47H oUTGR4b3.
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

+--------------------------------------------------+
| Timothy A. Gregory        http://www.tarjema.com |
| *NIX SysAdmin               tgregory at tarjema.com |
| Arabic > English Translator         IBM AIX CATE |
+--------------------------------------------------+
Habit is habit and not to be flung out of the window by any man, but
coaxed downstairs a step at a time.  
--Mark Twain





More information about the rt-users mailing list