Re: [Exim] Questions using transport filter

Pàgina inicial
Delete this message
Reply to this message
Autor: Patrice Fournier
Data:  
A: Tim Tassonis
CC: exim-users
Assumpte: Re: [Exim] Questions using transport filter
Quoting Tim Tassonis <timtas@???>:

> - If no, is there another way to call an external progam for all
> outgoing mail deliveries?


Exim 4. :)

If you can't upgrade, you can use a router like:

encrypt_router:
condition = "${if eq {$received_protocol}{encrypted} {0}{1}}"
driver = domainlist
route_list = "*"
transport = encrypt_transport
errors_to = postmaster

and set an encrypt_transport according to your need (see the pipe driver).
The command you will call in that transport will need to pass the message
back to exim with protocol encrypted (-oMr encrypted). Search for amavis
and/or SpamAssassin for examples of such setups (I'm not sure there are
routers examples for SpamAssassin but there are for amavis).

--
Patrice Fournier
pfournier@???