Autor: Jeremy Harris Datum: To: exim-users @ exim. org Betreff: 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".