Email address per queue

Hi all,

The GUI seems to allow this on the Queue configuration page. Is it
possible to setup an email address for each queue? If so, how? (I’m
running on Linux / FASTCGI / Postfix).

Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com

rt-users-bounces@lists.bestpractical.com wrote:

Hi all,

The GUI seems to allow this on the Queue configuration page.
Is it possible to setup an email address for each queue? If
so, how? (I’m running on Linux / FASTCGI / Postfix).

Chris, RT doesn’t directly have anything to say about how you get
e-mail into it. Basically you configure your mail system to direct mail
to the ‘rt-mailgate’ program with the appropriate arguments to direct
the message to the appopriate queue. The e-mail address you configure
in the Queue setup specifies to RT what it will put in the headers of
e-mail that RT generates, so this needs to match up with what you have
in your aliases file for your MTA, and any DNS, relay config, or other
external dependencies that are required to get mail to your server.

Here’s a typical /etc/aliases entry for sendmail or postfix:

queue-name: “|rt-mailgate --queue queue-name --action correspond --url
http://yourserver.org/rt/

rt-mailgate communicates with RT via the web server, so the URL needs
to point to whereever RT is configured from Apache.

-bws

Chris, RT doesn’t directly have anything to say about
how you get e-mail into it. Basically you configure
your mail system to direct mail to the 'rt-mailgate’
program with the appropriate arguments to direct the
message

OK,

Since it doesn’t seem like you can have multiple values for:

Set($CorrespondAddress , ‘’);
Set($CommentAddress , ‘’);
Set($RTAddressRegexp , ‘’);

Is it possible to have different aliases for each queue, or will this
screw up RT’s loop detection as in RT_SiteConfig.pm?

Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Covington, Chris wrote:

OK,

Since it doesn’t seem like you can have multiple values for:

Set($CorrespondAddress , ‘’);
Set($CommentAddress , ‘’);
Set($RTAddressRegexp , ‘’);

Is it possible to have different aliases for each queue, or will this
screw up RT’s loop detection as in RT_SiteConfig.pm?

The siteconfig settings are just the defaults. Each queue can have its
own address, but that is configured within RT as the “Basic” information
for a queue.

Joby Walker
ITI SSG, University of Washington


PGP key: https://staff.washington.edu/joby/joby-u-pub.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCcV8MgA0gpghkf88RAkDPAJ9Dj7eelwxbX+zak0+34wUfAY2/UgCfT12T
PeRnjighzOlpvPoPyDfhjBU=
=ksgk
-----END PGP SIGNATURE-----

Since it doesn’t seem like you can have multiple values for:

Set($CorrespondAddress , ‘’);
Set($CommentAddress , ‘’);
Set($RTAddressRegexp , ‘’);

Is it possible to have different aliases for each queue, or will this
screw up RT’s loop detection as in RT_SiteConfig.pm?

As someone else said, CommentAddress and CorrespondAddress are just
the default, RT uses them if the queue specific ones aren’t
set. However, RTAddressRegexp is a regexp, not a single value, and
should be set to match them all.

seph

Hi Chris,

When you’re creating your queue, you specify the addresses that you want
it to send mail as. This doesn’t automatically transfer to your MTA for
receipt of mail. We use a small script to generate our alias file from
the RT database which I have attached - it saves having to remember to
generate the alias lines in addition to creating the queue :slight_smile:

Perhaps others will also find this script useful.

We use exim as our MTA, which allows multiple alias files. I couldn’t
say if you’ll need to munge the auto generated data into a single alias
file if that’s all your MTA supports.

Regards, Ian.
Ian Norton
Mail & Systems Support
Lancaster University, UKFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Covington, Chris
Sent: 28 April 2005 23:03
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email address per queue

Chris, RT doesn’t directly have anything to say about
how you get e-mail into it. Basically you configure
your mail system to direct mail to the 'rt-mailgate’
program with the appropriate arguments to direct the
message

OK,

Since it doesn’t seem like you can have multiple values for:

Set($CorrespondAddress , ‘’);
Set($CommentAddress , ‘’);
Set($RTAddressRegexp , ‘’);

Is it possible to have different aliases for each queue, or will this
screw up RT’s loop detection as in RT_SiteConfig.pm?

Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

rt-aliases (869 Bytes)