Re: [exim] Remote SMTP using manual route but only for certa…

Top Page
Delete this message
Reply to this message
Author: Cédric MARCOUX (sprimont)
Date:  
To: exim-users
New-Topics: Re: [exim] Remote SMTP using manual route but only forcertainusers???
Subject: Re: [exim] Remote SMTP using manual route but only for certainusers???
Greats, it work with that

exchange2003:
     driver = manualroute
     domains = +local_domains
     transport = remote_smtp
     route_list = * 192.168.123.254
     local_parts = /home/exchange.lst
     unseen = true


Just a last question, this file will be filled with a lot of users, and
his state will change often...

I have noticed that putting a # before the name does not make the
username in *remark* (seems normal cause #foo contains foo)
Do you think there is a way to desactivate some users in this file
without removing all the line containing his name????

Regards

John Burnham a écrit :
>> Thanks for advice,
>>
>> i have try these rules however not seems to work,
>>
>> exchange2003:
>>      driver = manualroute
>>      domains = +local_domains
>>      transport = remote_smtp
>>      route_list = * 192.168.123.254
>>      local_parts = $local_part:lsearch;/home/exchange.lst
>>      unseen = true

>>
>> I have filled /home/exchange.lst with somme user $local_part
>> however keeping or removing name in this file change nothing,
>> every body receive the mail in exchange, any last idea??? ;)
>>
> Yes, you've told it that if the local part of the address is the local part of
> the address
> (local_parts=$local_part) then run this router. Try just
> local_parts=/some/file
> where /some/file is a file containing the local parts you want matched - one per
> line.
> John
>