[rt-users] Changing queue names
Rich West
Rich.West at divatv.com
Tue Feb 20 12:52:55 EST 2001
sendmail, as well as most other applications, will barf completely on a line
like that. You have the right idea about quoting the queue name because
there are spaces, but, take a look at the whole line... you start the line
with the alias, a colon, the pipe, a QUOTE, the command, another quote.. and
that is where it falls apart. It sees the second quote as the one that
CLOSES the start of the first quote.
You can either escape the second quote with the backslash:
purchasing: |"/usr/local/rt/bin/stripmime \"BusOffice -
Purchasing\" correspond"
Or, you can use a single quote:
purchasing: |"/usr/local/rt/bin/stripmime 'BusOffice -
Purchasing' correspond"
Personally, though, to prevent headaches, you might want to consider removing
the spaces from the queue name all together..
-Rich
> 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
More information about the rt-users
mailing list