Peter Bowyer escribió:
> On 14/12/2007, Adrian Chapela <[EMAIL PROTECTED]> wrote:
>   
>> Peter Bowyer escribió:
>>     
>>> On 13/12/2007, Adrian Chapela <[EMAIL PROTECTED]> wrote:
>>>
>>>       
>>>> Hello,
>>>>
>>>> I have this router:
>>>>
>>>> noscan_router:
>>>>   driver = redirect
>>>>   condition = ${if match_ip{$sender_host_address}{192.168.1.21}}
>>>>   domains = +local_domains
>>>>   data = ${lookup mysql{select maildir from users where
>>>> id='[EMAIL PROTECTED]' and block < 1}{$value}fail}
>>>>   directory_transport = virtual_delivery
>>>>   file_transport = virtual_delivery
>>>>
>>>> With this router IP 192.168.1.21 can send mails and "bypass" content
>>>> filter setup but it can send mails to all domains, I want it could send
>>>> mails only to local_domains and If it sends a mail to a external domain
>>>> this mail must be scanned.
>>>>
>>>>         
>>> No, this router will only trigger if the sender IP matches and the
>>> target domain is in +local_domains - I think that's what you want,
>>> isn't it?
>>>
>>> Maybe you have a later router which accepts mail to other domains from this 
>>> IP?
>>>
>>> Peter
>>>
>>>
>>>       
>> I don't think the same.
>>     
>
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch15.html may help.
>
>  What is the "target domain" ? The domain of
>   
>> sender address ([EMAIL PROTECTED]) or the recipient address
>> ([EMAIL PROTECTED]).
>> Target domain is example.com or external-domain.com ??
>>     
>
> The domain of the recipient address.
>   
Yes, I have a mistake in the next router! You are a master, I didn't 
think in the other routers but my problem was the next router because I 
am bypassing emails of the external domains, it was my error. I think 
domain was the sender domain but No.

Thank you!


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to