Can't get emails in my mailboxes

April 18, 2014 2.2k views
Hello, I have Ubuntu 12.04 server in digital ocean with WebMin installed. I was following this tutorial how to add emails and stuff to my server: http://www.youtube.com/watch?v=UZc4CcauEn8 I had several problems regarding sendmail and mail configuration but managed to set mapping and all the other stuff. Email sending and everything looks to work, but after that when I visit Read user Mail no emails are in any of inboxes I've sent. Before i was getting failed delivery notices, but now it get's sent, but it doesn't reach my box in webmin to be aviable. I can send emails and they are delivered, but they are not mapped into right inbox. What could be the problem in there?
4 Answers
How are you accessing the users' inboxes? Squirrel mail?
Via webMin read user email module.
Look in your postfix config and ensure that the mailbox_command is included.

mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME

Otherwise the email is going to be going to /var/mail which would explain why you are not seeing it in the users's inboxes.
I get such message: The program 'postfix' is currently not installed.

I was uninstalling postfix cause I was thinking it was causing some confict for sendmail cause it was default for my initial webmin instalation, should I install it? Also my read users email for actual user says that it's directory is /var/spool/mail/username

But actualy in spool folder there's link file to /var/mail and there's no actual users folders inside. Only file without type called root.
Have another answer? Share your knowledge.