Mailing problem

4 posts / 0 new
Last post
#1 Tue, 12/09/2014 - 21:47
Monster

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.

Tue, 12/09/2014 - 22:12
andreychek

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

Wed, 12/10/2014 - 06:54
Monster

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.

Wed, 12/10/2014 - 11:19
andreychek

Howdy,

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

-Eric

Topic locked