View Single Post

  #4 (permalink)  
Old 07-15-2003
Antony
 
Posts: n/a
Default Re: Mail to root going to (user:)postfix instead of specified user

On Tue, 15 Jul 2003 at 11:38:34, Alessandro Selli
<adoro.lo.spam@libero.it> writes
>Il giorno Tue, 15 Jul 2003, Ant cosė ha scritto:
>
>|On Mon, 14 Jul 2003 at 18:57:36, Thomas Spuhler <spuhler@dakotacom.net>
>|writes
>|>Looks like you made the required changes and forgot to run newaliases
>|>Tom
>|>
>|I did run newaliases (see above). I have just ran newaliases and
>|reloaded postfix to make sure and tested - still the same problem. I
>|might remove the rpm and compile it from the source code just for the
>|sake of it.
>|
>
> Make sure you specified the right file_format:file in main.cf. To check
>this, please do the following:
>
>aselli@aselli ~$ grep ^alias_maps /etc/postfix/main.cf
>alias_maps = hash:/etc/aliases
>
>aselli@aselli ~$ ls /etc/aliases*
>/etc/aliases /etc/aliases.db
>
>
>
> Sandro
>
>

Thanks Sandro, I've found it now thanks to your help.

[root@server root]# grep ^alias_maps /etc/postfix/main.cf
alias_maps = hash:/etc/postfix/aliases

I was changing /etc/aliases rather than this one. Changed
/etc/postfix/aliases, ran newaliases and reloaded Postfix and it's now
working fine :)
--
Antony
Reply With Quote