hello, On Sat, May 28, 2005 at 10:13:38AM +0000, [EMAIL PROTECTED] wrote: > > Hi, > > I have a stock Sarge install for which I am trying to setup exim4. > > However, things are not behaving as expected. > > In /etc/aliases I have: > > root: me > me: [EMAIL PROTECTED]
This is the correct place to put this, and I verified that order doesn't matter. > On the box, I have run "dpkg-reconfigure exim4-config", selecting: [...] All of those options should work, but I don't guarantee it. > However, when I run "mail root" on the box, exim decides the mail is > for "[EMAIL PROTECTED]", rather than [EMAIL PROTECTED] (as I have > specified in aliases). > > I suspect this has something to do with the precedence/priority of > the aliases file? The previous replies have been correct in that you don't need to rebuild the alias file. You also don't need to restart/reload exim4 (I tested this). From what I can see, your setup should work. Here's my idea to debug it: From the exim4 man page, I've found this option: -bt This option runs Exim in address testing mode, in which (there are other good tests in there) I run this and see: [EMAIL PROTECTED]:~$ /usr/sbin/exim4 -bt someone R: system_aliases for [EMAIL PROTECTED] R: system_aliases for [EMAIL PROTECTED] R: system_aliases for [EMAIL PROTECTED] R: userforward for [EMAIL PROTECTED] R: procmail for [EMAIL PROTECTED] [EMAIL PROTECTED] <-- [EMAIL PROTECTED] <-- [EMAIL PROTECTED] router = procmail, transport = procmail_pipe I saw a similar trace when I set the alias to [EMAIL PROTECTED] Perhaps this can give you a clue as to where it's going wrong. Let us know what you find/what went wrong. -- | Richard Darst - rkd@ - lefschetz: up 74 days, 19:20 | zgib.net | "Ye shall know the truth and -- the truth shall make you free"
signature.asc
Description: Digital signature