PDA

View Full Version : Root Not Getting Mail



Brian
03-23-2004, 06:01 AM
I used to get the daily reports fine until DA was installed but now ROOT is not getting anything what so ever. I did what it said in this post http://www.directadmin.com/forum/showthread.php?threadid=2015&highlight=root+mail but it hasn't made any difference. Any help would be appriciated.

DirectAdmin Support
03-23-2004, 09:50 AM
Hello,

So you've done the following? :

1) made sure that the local_user is after the system_aliases
2) you've added an alias for root in the /etc/aliases file?

What errors are produced in the /var/log/exim/mainlog when you try to send root an email?

John

thoroughfare
03-23-2004, 12:20 PM
The only way I got root mail to work for me was created a file '.forward' in the /root dir, containing the email address I wanted it to send the root mail. I did the same for admin, putting .forward in /home/admin.

HTH,
Matt :)

Brian
03-24-2004, 09:26 AM
mainlog output...............

2004-03-24 17:27:04 1B6C9g-0003qm-8Y <= brian@domain.com U=brian P=local-esmtp S=444 id=20040324172656.D14800@domain.com
2004-03-24 17:27:04 1B6C9g-0003qm-8Y User 0 set for local_delivery transport is on the never_users list
2004-03-24 17:27:04 1B6C9g-0003qm-8Y == root@domain.com R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
2004-03-24 17:27:04 1B6C9g-0003qm-8Y ** root@domain.com: retry timeout exceeded
2004-03-24 17:27:04 1B6C9g-0003qo-Bt <= <> R=1B6C9g-0003qm-8Y U=mail P=local S=1361
2004-03-24 17:27:04 1B6C9g-0003qm-8Y Completed
2004-03-24 17:27:04 1B6C9g-0003qo-Bt == brian@domain.com R=localuser T=local_delivery defer (-7): mailbox /var/mail/brian has the wrong mode 600 (660 expected)

thoroughfare
03-24-2004, 09:51 AM
I had exactly the same problem. Try what I said above; root is still on my never_users list but it works now for some reason... don't ask how, but it does :)

Matt