Re: [exim] Pipe transport in router data statement

Góra strony
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Dla: Michael L Griffin, EXIM mailing list
Temat: Re: [exim] Pipe transport in router data statement
Nico Erfurth schrieb:

Sorry, its to early in the morning, need more coffee :)

> I would just add a new router like this before your redirect router:


eticket_alias:
driver = accept
domains = eticket.your-company.tld
local_part = eticket
transport = eticket_transport


eticket_transport
driver = pipe
command = /etc/exim4/eticket_support.pl
home_directory = /usr/local/eticket
user = eticket

------------
An all in one solution would be this:
But I personally prefer the seperated router/transport version


eticket_aliases:
driver = redirect
domains = eticket.your-company.tld
local_part = eticket
user = eticket
router_home_directory = /usr/local/eticket
data = |/etc/exim4/eticket_support.pl
pipe_transport = address_pipe