View Single Post

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

On Mon, 14 Jul 2003 at 18:57:36, Thomas Spuhler <spuhler@dakotacom.net>
writes
>Antony wrote:
>
>> Hi,
>>
>> I have installed RH9 with postfix-2.0.13-3.rh9. Postfix is happily
>> routing mail to individual users when collected using fetchmail (with
>> procmail and spamassassin), however mail to root is going to
>> /var/spool/mail/postfix rather than the user I specified in /etc/aliases
>> (antony).
>>
>> In /etc/aliases I have specified "root: antony". There were no entries
>> in here for a user called postfix, so I guess Postfix doesn't know what
>> to do with mail addressed to root and it has to go somewhere. I've
>> tried adding "postfix: antony" to the file but that didn't help. Local
>> mail to other users is routing fine. After modifying /etc/aliases I
>> have ran "newaliases" and reloaded Postfix.
>>
>> I have RH9 running on another machine with Postfix and mail to root is
>> being sent to the correct user, however I cannot see what is different
>> in the configs which would cause this one not to route the mail to the
>> correct. Apart from this small inconvenience Postfix is working fine as
>> far I am know.
>>
>> I didn't get too much joy with Google or the Postfix man/FAQs/website
>> :(
>>
>> Any suggestions welcome, I pretty new to this but will fiddle with it
>> until it works (it's only a test machine) as I'm bound to learn
>> something :)
>>
>> HAND

>
>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.
--
Antony
Reply With Quote