Re: [exim] smart host

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jason_Meers
Päiväys:  
Vastaanottaja: Sergio Aguirre
Kopio: exim-users
Aihe: Re: [exim] smart host

>>
>> 1) Can the mail just get sent to the appliance first?
>>
>> 2) Can the appliance add a header to tell us it has already seen the
>> message?
>>
>> 3) Have you read Tim Jacksons paper and considered running Anti-Spam
>> on the Exim box itself?
>> http://www.exim-new-users.co.uk/content/view/99/39/
>>
>> Thanks
>> Jason_Meers
> The first option is discarted, because there are more than one thousand
> clients and most of them connect the exim with ip, and the guy
> responsable of this doesn't want to change,
>
> The second one could be, I tried to recognize the header to stop the
> loop, but the exim send me a configuration error, of course i didn't
> configure fine, i tried with the next lines:
>
> smart_route:
> driver = manualroute
> transport = remote_smtp
> route_list = * "${if match{$sender_rcvhost:}{\something_on_header.*\}\
>                   {!+local_domains}{ip_of_appliance_filter}}"

>
> The exim recongize the header, but not the !+local_domains, it send me
> an mta error with this option.
>
> 3. I am not the postmaster of this exim box, and I ask the postmaster
> guy to do it, but they want to use the appliance, so I don't have other
> way to do it,
>
> I think the best way is the second option, only i need to know how to do
> the actions.
>


You don't need to test the domain in the "route_list".
You can just set as condition on this router such as:

domains = !+local_domains

under your

driver = manualroute statement.

Thanks
Jason_Meers
--
website at: http://www.exim-new-users.co.uk
hosting by: http://www.line3.co.uk