2010/9/8 Vaggelis Koutroumpas <[email protected]>:
> Hello,
>
> I've created two routers with exim filters to log all incoming and outgoing 
> sizes of emails so with a php parser I parse the log and create stats per 
> user and per domain for the traffic they do.
>
> I want to set up a condition on the routers so that they will ignore any 
> email if it originates and is destined to the same server.
>
>
> How can I check that? I suppose I have to create a condition that checks the 
> $domain or $sender_address_domain respectively if it is in local_domains, 
> right?
>
>
> Any ideas how to proceed?

Re-use whatever condition you have on the router that deals with local
deliveries. If that's simply 'domains = +local_domains' then you're
good to go....

Peter

-- 
## 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