[rt-users] Exim alias dilemma

seph seph at commerceflow.com
Sun Jan 27 15:54:19 EST 2002


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

you don't send to queuename+action at localdomain.com, you send to 
rt-queuename+action@<whatever>

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 at 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 at 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 at rc6.org (Remco B. Brink) wrote:
> 
> > Paul Burkett <pburkett at 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 at 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 at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users




More information about the rt-users mailing list