Solved

Emails to my own domain not sent out through QMAIL

Posted on 2013-01-18
7
567 Views
Last Modified: 2013-01-21
I'm have a linux server with Plesk on it. Qmail runs as part of Plesk. The SMTP server on that machine works fine and delivers emails with one exception: All emails to email addresses that have the same domain after the @ as the website hosted on this server, seem to disappear into nothingness.

To reiterate: My website is abc.com and is hosted on server X. All emails sent out via the Qmail SMTP server on server X are not arriving at email addresses like bla@abc.com xyz@abc.com, etc.

Any ideas?
0
Comment
Question by:SWB-Consulting
  • 4
  • 2
7 Comments
 
LVL 11

Expert Comment

by:itguy565
ID: 38795103
Please go to the following site and test your smtp communication. Post the results to this forum.

https://www.wormly.com/tools
0
 

Author Comment

by:SWB-Consulting
ID: 38795122
Connecting...
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
Message sending failed.

I'm sending emails from the server, not from a remote location by the way.
0
 
LVL 10

Expert Comment

by:cpmcomputers
ID: 38795926
Is the receiving mailserver for abc.com on the same or a different server ?
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 10

Expert Comment

by:cpmcomputers
ID: 38795936
Reason I ask is that if the receiving mailserver for abc.com is a different server Then your webserver thinks it is authoritative for that domain so it is delivering the mail internally to itself

As there are likely no pop mailboxes matching the user@abc.com then the mail fails
You can test the theory by setting up a test@abc.com mailbox on the plesk server then throw a mail at it ?

I have seen this several times where contact form data will go to any domain other than itself
Here the answer is to turn off the mailserver in plesk for just that domain
All mail is then resolved and routed externally
0
 

Author Comment

by:SWB-Consulting
ID: 38796195
The incoming pop mail server is already turned off and has been all along ...
0
 
LVL 10

Expert Comment

by:cpmcomputers
ID: 38796223
OK -  which is why I think the emails do not go anywhere and you are getting the 110 port error

The sending qmail smtp on that server in processing your email is effectively asking
 " where is @abc.com" and resolving - "oh thats me?" and trying what is effectively an internal delivery to itself

Where does email to mostotherusers@abc.com goto - another server ?

As above I have seen this many times where a company has a hosted linux website and a seperate mailserver (usually MSexchange) -

Sending to any domain from the webserver other than your own is fine

can you describe the server(s) used in your organisation
Is the plesk server on a isp hosted, vps or similar
0
 
LVL 10

Accepted Solution

by:
cpmcomputers earned 500 total points
ID: 38796240
You can try this:

Delete the related domain in the qmail file /var/qmail/control/virtualdomains Then reload/restart qmail. Now it should work.

 More technical background at http://forum.parallels.com/pda/index.php/t-93222.html
 
This forces the sending server to resolve @abc.com via DNS
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Utilizing an array to gracefully append to a list of EmailAddresses
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now