Re: [exim] pipe transports, aliases, oh my

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: Yan Seiner
Kopio: exim-users
Aihe: Re: [exim] pipe transports, aliases, oh my
On 2011-11-07 at 13:48 -0800, Yan Seiner wrote:
> I am using Request Tracker (http://www.bestpractical.com) which has a
> mailgate.
>
> In the past I've just used aliases to pipe the mail to the appropriate
> command. Exim doesn't allow that (Or at least it's strongly discouraged.)


It's allowed and it's not discouraged, AFAIK.

You need to have pipe_transport defined on the Router which handles
/etc/aliases and the transport which that option references should
probably choose to set an appropriate user.

Myself, I'd create /etc/aliases.rt and then reference that from a custom
Router, so that I could use a transport which sets a dedicated user for
invoking those commands.

The closest I can think of to "discouraged" is that for Mailman
integration it's possible to integrate entirely in Exim without needing
any aliases file additions, so that's just unneeded extra steps to get
things working and folks tend to avoid it.

You might be able to do something similar with RT, using condition
and/or precondition checks, to reduce things down to just the one Exim
Router (and Transport) and not needed extra aliases configuration.

-Phil