LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix don't delivere mails to root (https://www.linuxquestions.org/questions/linux-software-2/postfix-dont-delivere-mails-to-root-119114/)

mavinac 11-23-2003 05:05 AM

Postfix don't delivere mails to root
 
Hello,
I have problem with sending mail via Postfix. Delivering is running without problem to all users except root. Mail was going to postfix mailbox. I found that there is alias root -> postfix. I deactivate this alias, but then mail is going to nobody mailbox. I can send from root account. Here is log from /mail/info :

Nov 23 10:34:01 r2ac15 postfix/pickup[5336]: 5A16043C7E: uid=501 from=<martin>
Nov 23 10:34:01 r2ac15 postfix/cleanup[5540]: 5A16043C7E: message-id=<20031123103401.5A16043C7E@r2ac15.*******.**>
Nov 23 10:34:01 r2ac15 postfix/nqmgr[5337]: 5A16043C7E: from=<martin>, size=443, nrcpt=1 (queue active)
Nov 23 11:34:01 r2ac15 postfix/local[5542]: 5A16043C7E: to=<root@r2ac15.******.**>, orig_to=<root>, relay=local, delay=0, status=sent ("|/usr/bin/procmail -Y -a $DOMAIN").

Thanks for your tips.

hazza 11-23-2003 05:49 AM

I noticed that mail getting sent to root using postfix isn't delivered too. I think they intended for you to not read the mail as root but in your user account. I just changed the alias in /etc/postfix/aliases from

root: postfix

to

root: myusername

and restarted postfix with

# service postfix restart

I sent a test message to root and it has come through to my user account so it seems to work.


All times are GMT -5. The time now is 02:32 AM.