RE: [exim] router setup problems

Top Pagina
Delete this message
Reply to this message
Auteur: Mike Hansford
Datum:  
Aan: exim-users
Onderwerp: RE: [exim] router setup problems
OK next dumb question, what's the difference between root and
root@localhost? Your conclusion is that they are different but I don't
understand how. Aren't they both local? If this is the case, they should
both be redirected by the second router which will cause a lookup in
/etc/aliases. What puzzles me is that once postmaster is translated to root
there is then no translation from root to me@??? which I believe
there should be as once redirection has occurred, the message returns to the
start of the routing process and a new alias file lookup should translate it
to me@???.

If there's any confusion, exim and the sending application (currently mutt)
are on the same machine. This is why I'm struggling to tell the difference
between root and root@localhost.

-----Original Message-----
From: Jeremy Harris [mailto:jgh@wizmail.org]
Sent: Monday, 19 September 2005 7:56 PM
To: exim-users @ exim. org
Subject: Re: [exim] router setup problems

Mike Hansford wrote:
> I'm running exim4 and have a exim.conf file. I need exim to redirect mail
> for postmaster@localhost and root@localhost to me@???.
>
>
>
> I have 2 routers set up, pretty much just following the example.conf. The
> first determines non-local addresses and palms them off to smtp. My second
> router does a /etc/aliases lookup which has entries like this:
>
>
>
> postmaster = root
>
> root = me@???
>
>
>
> I get nothing but bounce messages stating that my messages are unroutable.
> If I send a message to postmaster, it is redirected to root@???.
> If I send to root it is redirected to me@???. No matter if I

send
> to postmaster, root or me@mycompany all messages bounce. Where might I

have
> gone wrong here?


Decide whether you're dealing with "root" or "root@localhost", and code
appropriately. Test with "exim -bt", and if that's not detailed enough,
with various combinations of "exim -d-all+foo -bh bar".

- Jeremy