Author: Phil Pennock Date: To: Robert Fargher CC: exim-users Subject: Re: [exim] How do I stop Exim from re-writing all incoming mailTo:
address to qualified domain?
On 2008-03-12 at 11:13 -0800, Robert Fargher wrote: > On Wednesday 12 March 2008 11:32:00 Tony Finch wrote:
> >On Wed, 12 Mar 2008, Robert Fargher wrote:
> >> I'm running Exim 4.63-5 on Fedora Core 6. All mail that is being
> >> delivered to this machine is having the primary_hostname
> >> (in-vancouver.com) appended to the local address. If I disable
> >> primary_hostname, the FQDN is appended instead.
>
> >Exim doesn't behave as you describe by default. How have you configured
> >it?
>
> Here's my exim.conf file. There are no re-writers.
I'm willing to bet that most of your email addresses are virtual ones,
hitting this. And furthermore that you don't have the domain-name
included in the alias file. So the new local_parts are being qualified
with the default domain.
Add "qualify_preserve_domain" to that Router so that domain-less
addresses are qualified with their previous domain.