2011/11/8 Przemyslaw Zoltowski <[email protected]>: >>> Maybe I should try to move SRS router after router which do lookup in >>> aliases file ? What do u think about it ? >> That sounds perfectly reasonable. Make sure your aliases router only >> does your internal domains. > i don't think i'm fully understand what you mean. can you give me more > details ?
The reason I make this distinction is because you didn't say if all of the domains are local. You may need to specifically limit which domains the aliases router is applied to. Typically you'll have something like: domains = +local_domains However if all of the domains are in +local_domains hostlist and you only wanted to skip SRS for example.com, you'll need to specify that in the aliases router. It very much depends on how you have it configured. Let's say you host example.com for yourself, and example.net and example.org are remote domains. When an email is sent to [email protected], you have an alias that redirects fax to [email protected]. If you move the aliases router before the SRS routers, then you'll get that email without any SRS rewriting. Now, send an email to [email protected]. The aliases router must recognize that example.org is not an internal domain. Otherwise, you would get that email aliased to [email protected] as well. As long as the aliases router limits the domains, this is fine. Regards... Todd -- If Americans could eliminate sugary beverages, potatoes, white bread, pasta, white rice and sugary snacks, we would wipe out almost all the problems we have with weight and diabetes and other metabolic diseases. -- Dr. Walter Willett, Harvard School of Public Health -- ## List details at https://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/
