Virtualmin email problem

Posted August 5, 2013 11.2k views
Hi, I have installed virtualmin on centos everything is working fine, but I am not able to go to for email i.e. I am not able to access email. I am able to send email from the virtualmin/webmin but I am not able to receive any emails. How do I access the webmail i.e. and how can I receive emails? Thanks for your help in advance.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

20 answers
What's the output of this command (as root)?

netstat -plutn | grep 20000
Thanks for your reply @kamal
when I give this command in putty there is no output.
Any further help regarding this ??
Do you have a firewall enabled? If so, have you checked that the necessary ports are open?
Thanks for your reply @Pablo.
Port 25 is open that I have checked through telenet, how do I check whether firewall is enabled? from webmin >networking >linux firewall it seems to be enabled but I'm not confirm.
Is there any thing that needs to be checked @Pablo
Now when I rebooted the system I am able to access the

But still I am able not receiveing emails.
Thanks for your further help
The emails bounced back today....
@shyamsukhamit: Do you have proper MX records on your domain name? with priority of 5 is the only MX record I have.
Do I need to put anything else?
while googling I found a command and its result is as follows , might be if can be of any help

sudo netstat -an | grep :25
[sudo] password for name:
tcp 0 0* LISTEN
tcp 0 0 :::25 :::* LISTEN
Try waiting a couple of hours for DNS to propagate and try sending an email again.
Do you have an A record for ns1?
No I don't have A record for ns1 in my DNS panel. Do I need to create?
Yes, you have to create an A record to that ns1 resolves to your droplet's IP address and therefore allowing it to accept mail since the MX records point to ns1.
I would like to inform you that ns1 is my host name, is it good to create an A record with that?
thanks @kamal it is working now
Yes, it's actually recommended to create a DNS entry for your hostname.
@kamal , now what are these spf ,text records & reverse IP.
How should I add & setup these records..

Again thanks for your help
Should I add the A record, MX & other thigns for every addon domain ??
@shyamsukhamit: Yes, you should add them for every domain.

Reverse IP/rDNS is automatically set to your droplet's hostname on our control panel.

As for SPF records, take a look at this article:
by Pablo Carranza
A carefully tailored SPF record will reduce the likelihood of your domain name getting fraudulently spoofed and keep your messages from getting flagged as spam before they reach your recipients.
Submit an Answer