Solved

Emails to my own domain not sent out through QMAIL

Posted on 2013-01-18
7
574 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

808 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