Autor: Sébastien CARRE
Data:
Para: exim-users
Asunto: [exim] Smarthost with a local adress
Hello,
I'm trying to add a new filter (or rule?) in our Exim 4 server.
I want for a specific local destination adress (user1@localdomain) to
redirect it with smarthost.
I searched on Internet and found this :
Modified the config file to :
.ifndef DCsmarthost
DCdefault_sh = DEBCONFsmarthostDEBCONF
DCsmarthost =
${lookup{$sender_address}lsearch{CONFDIR/smarthost_per_user}{$value}{DCd
efault_sh}}
.endif
Created the smarthost_per_user file with :
user1@localdomain : smarthost_adress
Restarted Exim, no problems all seems to work.
But this doesn't work because the adress is in the localdomain, so not
routed with the smarthost...
Does anyone know a solution for this ? :)
Thanks to all for you're reply.
Sebastien