View Single Post
  #6   (View Single Post)  
Old 5th June 2010
xiphias xiphias is offline
Port Guard
 
Join Date: May 2008
Posts: 31
Default

/etc/mail/aliases is a symlink to /etc/aliases on my machine.

Code:
coppermine $ postconf alias_maps
alias_maps = hash:/etc/aliases
coppermine $ ls -l /etc/aliases*
-rw-r--r--  1 root  wheel   1656 Jun  1 20:48 /etc/aliases
-rw-r--r--  1 root  wheel  16384 Jun  5 17:01 /etc/aliases.db
coppermine $ ls -l /etc/mail/aliases*
lrwxr-xr-x  1 root  wheel  12 Jun  1 19:29 /etc/mail/aliases -> /etc/aliases
lrwxr-xr-x  1 root  wheel  15 Jun  1 19:28 /etc/mail/aliases.db -> /etc/aliases.db
I tried aliasing root to a local user and it still tries to relay it out to root@coppermine.abcdef.co.uk, so it would seem it doesn't realise that it's the destination for it's hostname. I will leave it a few days, then rewrite the config from scratch, see if I manage any better.

By the way, I'm using FreeBSD 7.1 RELEASE p11 i386, I also have a postfix configured in a similar way on a Debian desktop and that works fine.
Reply With Quote