Re: [Exim] system_aliases and delivery problem

Top Pagina
Delete this message
Reply to this message
Auteur: Miles Davis
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] system_aliases and delivery problem
Hi Simon, thanks for your reply.

On Fri, Jul 12, 2002 at 01:03:25AM +0100, Simon Williams wrote:
>
> As far as I understand it, Exim will see that you are trying to send
> to a local user 'miles', which is converted to 'miles@xenon' by the
> aliases file. It will take xenon and look for any MX records for it,
> If there are no MX records for it, Exim will look for an A record
> for it. If there are no A records for it, the message should be
> bounced back to the envelope-from address.


But before it looks for MX records, it tests to see if it's in
local_domains, right? That's where it's not matching xenon because I only
had xenon.stanford.edu in there...doesn't it / shouldn't it expand the
hostname fully, or is this it's normal behavior? Anyhoo, xenon has no MX
record but (of course) has an A record.

> I have run a test here, which I believe relates to your situation.
> In my case, I aliased the local user 'miles' to 'simon@avatar', where
> avatar is a machine on my network:


Change that test in one small way -- on avatar, put that alias in the
system aliases and try it -- it gets messed up in the second pass through
dnslookup router, I believe.

> In my case, this happens:
>
> simon@dustpuppy:~$ /usr/exim/bin/exim -bt miles
> simon@avatar
>     <-- miles@???
>   envelope to: simon@???
>   router = dnslookup, transport = remote_smtp
>   host avatar.no-dns-yet.org.uk [192.168.0.4]
> simon@dustpuppy:~$

>
> I have 'qualify_domain' set to 'no-dns-yet.org.uk' (Exim 4.04) and
> have 'avatar.no-dns-yet.org.uk' as a part of 'local_domans' on avatar
> (Exim 3.32).


<snip>

> In your case, that does the following show?:
>
> /path/to/exim -bt miles


Xenon 68 # exim -C /usr/exim/configure.test -bt miles
miles@xenon
    <-- miles@???
  envelope to: miles@???
  router = localuser, transport = local_delivery



Looks right, no? And yet, the email disappears. :(

> Is there anything in the mainlog (or whatever you have called it) to
> show what Exim is doing with the messages? Are there any logs on
> xenon which show anything happening to the messages?


Well, it shows a little:

2002-07-11 17:21:10 17SoBJ-00040u-00 <= root@??? U=root P=local S=315
2002-07-11 17:21:10 17SoBJ-00040u-00 Completed

--
// Miles Davis - miles@??? - http://www.cs.stanford.edu/~miles
// Computer Science Department - Computer Facilities
// Stanford University