On 25/09/13 17:49, Ezequiel M. Cardinali wrote:
> When exim process an outgoing email, needs to check for some header, for
> example X-GROUP-1, to determine wich group/file of IP addresses needs to
> use, I use a perl script that returns a random IP address of a given
> file as parameter. Exim recive the emails from an aplication that can
> put any required header if I need it.
>
> I'm pretty new to exim, and I don't know how can I do it, can anyone
> help me?
"interface" option on an smtp transport, and a suitably constructed
lookup using $h_X-GROUP-1. Docs at
http://exim.org/exim-html-current/doc/html/spec_html/index.html
--
Cheers,
Jeremy