Exim alias dilemma

Hey, I followed the instructions that were listed in the helpful installation guide, but when I seem to send an email to a queue, it doesn’t show up in the web interface. Does anybody know any reasons why? I’m using Exim and I copied and pasted the code from the guide in the correct locations of the exim.conf Any help would be greatly appreciated, thanks.

Paul Burkett
ATG Intern
http://www.red-fusion.org/

Paul Burkett pburkett@callatg.com writes:

Hey, I followed the instructions that were listed in the helpful installation guide, but when I seem to send an email to a queue, it doesn’t show up in the web interface. Does anybody know any reasons why? I’m using Exim and I copied and pasted the code from the guide in the correct locations of the exim.conf Any help would be greatly appreciated, thanks.

Can you show the code you added to your exim.conf?

Did you also add the correct aliases to your /etc/aliases file?

An example. Mailing to rt@domain.com will generate a ticket in the
"general" queue:
rt: "|/local/rt2/bin/rt-mailgate --queue general --action correspond"
rt-comment: “|/local/rt2/bin/rt-mailgate --queue general --action comment”

regards,
Remco

Remco B. Brink - Blyfri Productions AS Chief Tech Officer - http://blyfri.as
Personal site at http://rc6.org – PGP/GnuPG key at http://rc6.org/rbb.pgp

“Hey, I know this! This is Unix!” - Jurassic Park

Sure, here’s a snip that’s located in the TRANSPORTS section of the exim.conf:

my rt hack

local_delivery_rt:
driver = pipe
command = "/usr/local/rt2/bin/rt-mailgate| --queue| ${quote:$local_part}| --action| ${quote:${substr_1:$local_part_suffix}}"
return_path_add
return_output
prefix = ""
suffix = “”

And this is a snip from the DIRECTORS section:

localuser_rt:
driver = smartuser
suffix = +*
prefix = *-
new_address = ${quote:${lc:${local_part}}}@${domain}
transport = local_delivery_rt

I don’t really get this hack but supposedley I can send a queue to queuename+action@localdomain.com without actually entering an alias in the exim.conf file. Is this true? Or am I misinterpreting the hack?On 23 Jan 2002 11:32:14 +0100 remco@rc6.org (Remco B. Brink) wrote:

Paul Burkett pburkett@callatg.com writes:

Hey, I followed the instructions that were listed in the helpful installation guide, but when I seem to send an email to a queue, it doesn’t show up in the web interface. Does anybody know any reasons why? I’m using Exim and I copied and pasted the code from the guide in the correct locations of the exim.conf Any help would be greatly appreciated, thanks.

Can you show the code you added to your exim.conf?

Did you also add the correct aliases to your /etc/aliases file?

An example. Mailing to rt@domain.com will generate a ticket in the
"general" queue:
rt: "|/local/rt2/bin/rt-mailgate --queue general --action correspond"
rt-comment: “|/local/rt2/bin/rt-mailgate --queue general --action comment”

regards,
Remco


Remco B. Brink - Blyfri Productions AS Chief Tech Officer - http://blyfri.as
Personal site at http://rc6.org – PGP/GnuPG key at http://rc6.org/rbb.pgp

“Hey, I know this! This is Unix!” - Jurassic Park

Paul Burkett
ATG Intern
http://www.red-fusion.org/

This looks like my hack that’s mentioned in rt/fm.

you don’t send to queuename+action@localdomain.com, you send to
rt-queuename+action@

the leading rt- is important, as this setup creates special handling
for mail that would otherwise go ti the user rt.

seph

Paul Burkett pburkett@callatg.com writes:

It still doesn’t work, so I don’t need to add anything to me /etc/aliases ?

Also, is there a list of actions, I am trying to send to address rt-5e+correspond@localdomain.com is this wrong? Is there an action to create a new ticket? ThanksOn 27 Jan 2002 12:54:19 -0800 seph seph@commerceflow.com wrote:

This looks like my hack that’s mentioned in rt/fm.

you don’t send to queuename+action@localdomain.com, you send to
rt-queuename+action@

the leading rt- is important, as this setup creates special handling
for mail that would otherwise go ti the user rt.

seph

Paul Burkett pburkett@callatg.com writes:

Sure, here’s a snip that’s located in the TRANSPORTS section of the exim.conf:

my rt hack

local_delivery_rt:
driver = pipe
command = "/usr/local/rt2/bin/rt-mailgate| --queue| ${quote:$local_part}| --action| ${quote:${substr_1:$local_part_suffix}}"
return_path_add
return_output
prefix = ""
suffix = “”

And this is a snip from the DIRECTORS section:

localuser_rt:
driver = smartuser
suffix = +*
prefix = *-
new_address = ${quote:${lc:${local_part}}}@${domain}
transport = local_delivery_rt

I don’t really get this hack but supposedley I can send a queue to queuename+action@localdomain.com without actually entering an alias in the exim.conf file. Is this true? Or am I misinterpreting the hack?

On 23 Jan 2002 11:32:14 +0100 remco@rc6.org (Remco B. Brink) wrote:

Paul Burkett pburkett@callatg.com writes:

Hey, I followed the instructions that were listed in the helpful installation guide, but when I seem to send an email to a queue, it doesn’t show up in the web interface. Does anybody know any reasons why? I’m using Exim and I copied and pasted the code from the guide in the correct locations of the exim.conf Any help would be greatly appreciated, thanks.

Can you show the code you added to your exim.conf?

Did you also add the correct aliases to your /etc/aliases file?

An example. Mailing to rt@domain.com will generate a ticket in the
"general" queue:
rt: "|/local/rt2/bin/rt-mailgate --queue general --action correspond"
rt-comment: “|/local/rt2/bin/rt-mailgate --queue general --action comment”

regards,
Remco


Remco B. Brink - Blyfri Productions AS Chief Tech Officer - http://blyfri.as
Personal site at http://rc6.org – PGP/GnuPG key at http://rc6.org/rbb.pgp

“Hey, I know this! This is Unix!” - Jurassic Park


Paul Burkett
ATG Intern
http://www.red-fusion.org/


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Paul Burkett
ATG Intern
http://www.red-fusion.org/

Paul Burkett pburkett@callatg.com writes:

It still doesn’t work, so I don’t need to add anything to me /etc/aliases ?

Also, is there a list of actions, I am trying to send to address
rt-5e+correspond@localdomain.com is this wrong? Is there an action
to create a new ticket? Thanks

I don’t have a list of actions handy, it’s whatever rt-mailgate
supports. I know I’ve seen it documented somewhere. correspond sounds
like what you want here though.

is your rt installed in /usr/local/rt2? if
/usr/local/rt2/bin/rt-mailgate, you’ll have to change the path for it.

is your modded exim.conf on the host that recieves localdomain.com
mail? if it’s not, then you will need something to get the mail from
there, over to where the special exim set up is.

for example, mail to commerceflow.com ends up on
mail.commerceflow.com. when I want stuff to get into rt, I add an
entry to mail.commerceflow.com’s /etc/aliases, along the lines of:
abuse: rt-abuse+correspond@rt2.commerceflow.com
this sends abuse@commerceflow.com to rt-abuse+correspond@rt2.commerceflow.com
rt2.commerceflow.com has the special exim.conf, which then does the
right magic, and treats is as a correspond transaction in the abuse queue.

seph