Results 1 to 3 of 3
hi
I cannot send any mails to the root user;
Code:
ext:/var/mail# echo "Message" | mailx -s "this is a test mail" root@localhost
ext:/var/mail# mail
No mail for root
other ...
- 09-13-2006 #1Linux Newbie
- Join Date
- Jun 2004
- Posts
- 120
cannot send any mails to the root user
hi
I cannot send any mails to the root user;
other user get mails without any problems.Code:ext:/var/mail# echo "Message" | mailx -s "this is a test mail" root@localhost ext:/var/mail# mail No mail for root
I have sarge stable with postfix installed.
greetingsCode:ext:/# newaliases ext:/# postmap /etc/aliases postmap: warning: /etc/aliases, line 2: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 3: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 4: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 5: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 6: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 7: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 8: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 9: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 10: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 11: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 12: record is in "key: value" format; is this an alias file? postmap: warning: /etc/aliases, line 14: record is in "key: value" format; is this an alias file? ext:/# postalias /etc/aliases ext:/# cat /etc/aliases # /etc/aliases mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root webmaster: root www: root ftp: root abuse: root noc: root security: root ext:/# /etc/init.d/postfix restart Stopping mail transport agent: Postfix. Starting mail transport agent: Postfix.
ccLast edited by cc; 09-14-2006 at 02:39 AM. Reason: configure mailx
- 09-14-2006 #2Linux Newbie
- Join Date
- Apr 2005
- Location
- CT --> PA
- Posts
- 170
have you rebuilt the database since making those changes? Once you make changes (or every time you do) you need to rebuild it, so that it may be parsed correctly (i believe it actually compiles an inline copy elsewhere that it uses for realtime parsing of the aliases file).
Chicks dig giant mechanized war machines
- 09-16-2006 #3Linux Newbie
- Join Date
- Jun 2004
- Posts
- 120
I found this:
I've deletedCode:# cat .forward | mailx linux@localhost
and have done the following:
now it seems to work.Code:# dpkg-reconfigure postfix


Reply With Quote
