Mailing problem

Hello guys,
I’m having a problem with my mailing service. I can send emails from server, but it I can’t receive them from external address. For example, I can send email to hotmail, gmail, etc. accounts but when I try to reply on them there is no message in my mailbox.
Also, when I try to send message to myself from my server, message doesn’t appear in usermin’s mailbox. For example, I created user address info@example.com and when I login to that user there is no messages in Inbox/Spam folder, but when I go to “inbox mail file” directory of that user I can read mails there, same goes for aliases.

Operating system: CentOS Linux 6.6
Webmin version: 1.720
Virtualmin version: 4.12.gpl GPL
Usermin Version: 1.630

This is is my first time setting-up mailing service, so my apologizes if I didn’t provide enough information or if I’ve done something wrong.
Regards.

Howdy,

Does your service provider allow connections to port 25? Some providers block that, preventing email from arriving.

One thing you may want to do is review /var/log/maillog after sending an email to see if there is an incoming email attempt. That log will also help identify where emails are going if they are arriving… that, and you may also want to look in /var/log/procmail.log.

Also, since it’s not working locally either, you may want to verify that in Edit Virtual Server -> Enabled Features, that the Mail for Domain feature is enabled.

-Eric

I have done all that before I posted here, logs didn’t provide much useful informations and mail feature was enabled. I figured out what was creating problem, it was the variable inet_interfaces = localhost set by default, I changed it to inet_interfaces = all and it’s working now. Problem with mail not correctly going to Inbox is solved by changing DEFAULT=/var/mail/$LOGNAME and ORGMAIL=/var/mail/$LOGNAME to DEFAULT=$HOME/Maildir/ and ORGMAIL=$HOME/Maildir/


Thank you for trying to help, I appreciate it. Hope this will also help someone in future.
Cheers.

  • Nenad.

Howdy,

We’re glad that you got that all working, thanks for letting us know how you fixed it!

-Eric