Briefly describle my testing env
- window7 (192.168.0.10) with vmware server 45G virtual harddisk with CentOS 6( 192.168.0.13), router Dmz 192.168.0.13
- everything(http, ftp, ssh, mysql, phpmyadmin) work ok except postfix and squirrelmail
- a no-ip domain name
- installation -> webmin -> virtualmin
Email testing case 1
click webmin->postfix mail server->userbox->userA->compose->
->send an email to userB, address is userB@localhost
click webmin->postfix mail server->userbox->userB->
->no email inside (This user has no message in ~userB/Maildir/)
->initially, Maildir doesn't exist
->then i check /var/spool/mail/userB, i can see the recevied email
Email testing case 2
click webmin->postfix mail server->userbox->userA->compose->
->send an email to userB, address is userB@realdomain.no-ip.com
click webmin->postfix mail server->userbox->userB->
->no email inside (This user has no message in ~userB/Maildir/)
->initially, Maildir doesn't exist
->then i check /var/spool/mail/userB, i can't see the recevied email
how to troubleshoot the email server?
thanks
It sounds like there may be a problem with your /etc/procmailrc file.
Can you post it's contents?
Also, how did you perform your Virtualmin installation... did you use the install.sh script?
-Eric
Howdy,
That's unusual! It sounds like it may have gotten deleted somehow... in any case, you can see what the contents of the procmailrc should be in the "procmail" section of the manual install guide:
http://www.virtualmin.com/documentation/installation/manual
Howdy,
On Virtualmin systems, emails should be delivered to $HOME/Maildir.
If that's not what you're seeing, you may want to look at the email logs to see what's going on with email delivery.
Your email logs are located in either /var/log/maillog, or /var/log/mail.log, depending on your distro. Also, your procmail log may help too, that's in /var/log/procmailrc.
As far as outgoing email goes -- do you receive any bounce messages? But, same thing there, you'd likely want to review your mail logs to see what that's not working.
-Eric