hey i am using CentOS4.2, Sendmail 8.12 and Dovecot servers.
I set up sendmail and it works fine. i created a user account and he is able to send and receive emails fine.
I created another account, he is able to send mail properly. No mails are bouncing for this account. So i checked the logs and found that the mails directed to the second account are going to root users mailbox.
I checked in /etc/aliases. no aliases created for the second account. No problem found.
I created another account and the same problem occurs...
Am i missing anything??
Any help appreciated.
You could be having a problem with a typo in the username coupled with your /etc/mail/virtusertable file having an entry like this:
which makes all unidentified mail go to the root user's account.Code:@my-domain.org root
You could fix this with an entry like this which will send back an error to the sender.
Code:@my-domain.org error:nouser User unknown