Showing posts with label Plesk. Show all posts
Showing posts with label Plesk. Show all posts

Thursday, 31 March 2011

Standard 5.7.17 Error when sending email from SMTP server

Some months ago we were struggling to get an Exchange Server working. We could send but not receive. In the end we walked away from it.
Today we have been recovering a server from a broadband change, a router reset and re-configuration but without changing anything on the server itself which had previously been running Exchange OK. We could not get mail through.
We did a Google search for 5.7.17 and found some posts which were not very useful but then we happened upon this thread
http://www.google.com/support/forum/p/Google%20Apps/thread?tid=14a3d1192c489e16&hl=en
from M1ke on Google Support Forum
I have followed this thread and can now successfully receive email
I think that I now understand it better than M1ke has described so I will offer some clues.

First, 5.7.17 is NOT an Exchange Server error so if you get it you have not got to the Exchange Server.
Second, the ability to send from servers such as hotmail and gmail are crucial to understanding what is going on.
Third, this content from M1ke is vital

My server and accounts are controlled by Plesk. All domain settings are in 123-Reg but Plesk has its own list of domain settings for each address. I assume it follows the 123-Reg settings because the MX and DNS lookups give those values, and Gmail/Hotmail/Yahoo addresses do not encounter the 5.7.17 error. If there are known Plesk issues please can you detail them so that I can investigate?

the important pieces here are 'My server ..... by Plesk' and by the way I do not think this is a Plesk issue.

Fourth, M1ke gives us the solution in his third post --- remove the mail boxes from Plesk and turn off the mail service for the domain in question. Playing with the MX records is a red herring.

Having done this our email gets correctly transported to Exchange without issue.

Now to the better understanding of the issue.
We were trying to send emails to an exchange server that is related to a domain which is hosted on our Plesk server. The public DNS records at the registrar correctly direct traffic to our server for http, ftp, etc and mail to the Exchange server - each server being found on different IP addresses. Thus hotmail and gmail find the public DNS record and the mail gets transported to the Exchange server.
Like M1ke, we were trying to test sending email from OUR server (running Plesk) to the Exchange server but our domain and the recipient domain are both virtual hosts on our Plesk server, hence Plesk tries to resolve the mail addresses itself, and will do one of two things. It will either drop the mail in a mail box which it knows about or give you a 5.7.17 error if it cannot find that mail box. Because Plesk can resolve the mail to a mail server which it knows about and mail never goes outside the local server and is never seen on the Public network and therefore cannot be received by Exchange.
Once you disable the mail server for that domain in Plesk the mail HAS to go to the public network and can be correctly transported to the correct host.
I hope this post will short cut a few problems for other people.
My thanks to M1ke and if anyone knows how to contact him please do so on our behalf.

Thursday, 23 July 2009

Web server based on OpenPanel

We have been experimenting with control panels for web hosting servers.
Commercially we have been running Plesk on our production servers but we needed to make ourselves a server for test purposes.
After a lot of searching we have come across the Openpanel project. We were looking for an open source freeware control panel able to run on Linux (LAMP) servers. From the screen shots this seemed to offer one of the cleanest interfaces around.
We built the server on an old Intel machine. We installed Ubuntu Server 8.04 LTS using this simply to build the LAMP server.
We then downloaded and ran the Openpanel install process which ran a smoothly as any we have known. We then configured a domain using Openpanel and were able to FTP a website and view it without problem. The whole process from start to finish = 3 hours tops.
Our gratitude to the Openpanel project team.
We will offer our help to the project should it be needed.

Web server change

For all those who might have been affected; we recently had been experiencing some difficulties with our web server stalling for a few minutes at a time.
There was no obvious reason for this but we need to provide a reliable service to our hosted web users.
We have therefore replaced our old server with a better model (still based on AMD, Fedora and Plesk) and transferred all the data to the new server. For the most part the transfer went well.
We had a few problems with the emails.
The new server no longer accepts short email names so if you have your username entered as say 'fred' you now need to change your settings to 'fred@mydomain.co.uk'.
The new server also need smtp authentication so you need to change the outgoing mail server settings to read 'mail server requires authentication' and then set this to be 'same as pop3 server'.
Any difficulties then phone our support team in the normal way.
We apologise to users that experienced problems but we hope the new server gives a better and more reliable service to all our users.

Tuesday, 15 April 2008

New web server in action

We have now installed our new webserver back in the UK to replace the 4 year old rented machine which is in the US.
We feel this will give us a greater measure of control over the service we provide to our clients, particularly as the number of clients keeps on increasing.
The new server has been built on an AMD platform running the Fedora 7 operating system. It runs the Plesk control panel software to maintain the web sites themselves.
We had several attempts at loading the software onto a Ubuntu based server but the final result was not robust enough. We finally chose to run with Fedora 7, Plesk does not run on Fedora 8, and Fedora 6 does not automatically support SATA disk drives.
We have now begun the long process of migrating domains across to the new server so if clients experience a slight hiccup in service over the next fews days, please forgive us and call us for support.