Re: [exim] Debian Sarge/Exim4: Precedence of /etc/aliases?

Góra strony
Delete this message
Reply to this message
Autor: Steven Wayne
Data:  
Dla: exim-users
Temat: Re: [exim] Debian Sarge/Exim4: Precedence of /etc/aliases?
On Sun, May 29, 2005 at 10:10:31AM +0000, dev.random@??? wrote:
>
>
> Hi,
>
> I have a stock Debian Sarge install for which I am trying to setup exim 4.50.
>
> However, things are not behaving as expected.
>
> In /etc/aliases I have:
>
> root: me
> me: me@???
>
> On the box, I have run "dpkg-reconfigure exim4-config", selecting:
>
>  * Split configuration into small files: "No"
>  * General type of mail configuration: "internet site; mail
>      is sent and received directly using SMTP"
>  * System mail name: "mydomain.com"
>  * IP-addresses to listen on for incoming SMTP connections:
>     "127.0.0.1"
>  * Other destinations for which mail is accepted: ""
>  * Domains to relay mail for: ""
>  * Machines to relay mail for: ""
>  * Keep number of DNS-queries minimal (Dial-on-Demand):"Yes"

>
> Basically, I want the box to deliver mail directly. I want all mail for local accounts to arrive at me@???.
>
> However, when I run "mail root" on the box, exim decides the mail is for "root@???", rather than me@??? (as I have specified in aliases).
>
> I suspect this has something to do with the precedence/priority of the aliases file?
>
> Any pointers would be appreciated.


Not a pointer, but if I have
"root: swayne@???" in my /etc/aliases file and run:

echo Test email|mail root -s "Test email"

it goes to swayne@???

And I'm using Debian with Exim4.

Have you changed the /etc/exim4/exim4.conf.template file at all?

> I appreciate that this is Debian centric question, but I suspect the Debian Exim gurus hang-out here.


They hang out on pkg-exim4-users@???

Steven.
--
.''`.
: :' :
`. `'`
`-