Hi there,
I am sorry, i made a fresh installation on my vps today and it seems i cannot receive any email from a domain i have created inside, i have search the forum for options how to fix this but i could not find any.
This is my problem:
I have created a account eg: dev@mydomain.com and i have installed roundcube on the same domain name with the location ./email and when i login all is ok, i can send emails but i cannot receive them, i have contacted my hosting provider and they said i got to fix this myself otherwise i need to pay 25 euros per 15 minutes... OMG, i gotta see this myself then....
So, now i have checked my dns settings and i guess all is working fine, i mean, my domain is correct and the server now is working with my domain name,, but i still have this problem, cant receive any emails on my mailbox, anyone can help me? thank you!
First step for any problems of this kind: Review the logs at the time of delivery attempt. Syslog in
/var/log/messages
or/var/log/syslog
depending on your distro. Also the mail log at/var/log/mail.log
(or a variant depending on distro).Please enclose any log excerpts you post in
[code]
[/code] tags to preserve line breaks and monospace font. Also tell us please what exactly happens when you try to send a mail, i.e. what does "cannot receive them" mean exactly.Howdy i am sorry for the late reply i had to travel to another country and i had no contact with internet or my vps since then (Madagascar).
About this issue, this is what i get from the vps himself:
It seems i can send email, but i cannot send them from my account, this is what i get from my google account when i try to send email back to my vps email domain account wich is the main account and the only i have there at the moment
Does this help? i am a newbie on this control panel using it for the first time ever...
The error message from Google says that their mailserver could not connect to yours. You might want to check if Postfix is running on your system using
netstat -tln | grep :25
that should give you a result line.Also make sure that your local firewall
iptables -L -n
is not blocking port 25, that no external firewall does so, or, if you're using NAT, that port 25 etc. are forwarded properly.thank you for your reply, i run a check on system configuration and i have this message on Postfix...
'' Your Postfix version does not support per-domain outgoing IP addresses ''
sorry, however the system is ready to use virtualmin....
Howdy,
Yeah, your "Re-Check Config" looks okay, but you may want to check the things Locutus mentioned to make sure that Postfix is accessible from the Internet.
What is the output of the following commands:
ps auxw | grep postfix
netstat -an | grep :25
iptables -L -n
Those commands will help troubleshoot the problem that you're having.
-Eric
ok, my only question is how do i do that? using putty and type those commands? i am a sick stupid newbie...
Howdy,
Yup! You can use Putty to log in over SSH and type those commands.
Alternatively, you can also go into Webmin -> Others -> Command Shell, and type the commands there.
-Eric
Hi there, this is what i got by typing the cmds....
Okay, your Postfix is configured to listen only on the loopback interface. That's why no connections from the outside are possible. The local IP should be "0.0.0.0:25".
Please post the output you get for these commands:
Did you use the Virtualmin installer script to install it? What Linux distro are you using? If you use the installer script on a Grade A supported system, it will definitely configure Postfix to listen on all interfaces.
Hi there, i used the script installer with putty and my linux is: CentOS Linux 6.5 i belive its a Grade A supported system.
Here is the output:
Okay, you need to add the following line to your
/etc/postfix/main.cf
:inet_interfaces = all
Then restart Postfix.
Are you sure you used the installer script? You have lots of directives in your Postfix configuration that should not be there in a default Virtualmin installation, yet others that should be there are missing.
Did you maybe install Postfix before you used the installer script? That script is meant to be run on a clean system with nothing (in terms of hosting software) but SSH on it.
i am able to reinstall my os anytime and also make a fresh installation of virtualmin, what do you suggest me to do? I used the script to install and then i have been just making some updates as requested, also i think the postfix was installed with the script but i am not sure, should i make a new installation in my vps?
i added the line as requested and the email account its now working properly, but should i make a fresh installation?
Hi there, this issue is fixed and solved, i have some other questions that i will place in a new topic but this issue its now Solved and i must say thank you to Locutus and Andreycheck (yo guys are great)!