View Full Version : How can I create my own Email Server?

03-20-2010, 05:46 AM

I've been using XAMPP for my webserver to work for a long time already and also have been using google's SMTP server so my forum activation emails work and password recovery etc..

I've been having a lot of problems with emails this last week, I see a lot of un-activated users on my forum due to email issues so I checked on my dedicated server for the error logs and got this:

"sendmail: Error during delivery: Socket Error # 10054
Connection reset by peer."

When I try to send an email from my websites i get that error, I believe it's a problem with google's email server because the problem persists in the 2 dedicated servers I have.

So now what I'm looking for is to create my own email server, I've seen that XAMPP comes with something called Mercury, not sure what it is and/or how it works but all I want is to send emails from my own server, I have multiple domains .com/.net etc. working on my server and some of this domains are working with windows live domains ( domains.live.com ) so I can easily create new accounts & use with msn and wouldn't like to stop using it.

I would like to know if this is possible, I don't really care about the domain used on the email, I just want an email server on my own dedi to send emails and stop using smtp.

I would appreciate a lot some help with this, I'm really not experienced at all with email servers.

Thanks !

03-20-2010, 07:11 PM
You've not mentioned your Operating System. Are your running XAMPP on Linux or Windows?

For Linux I'd recommend using Postfix + Dovecot (there is a steep learning curve)
For Windows 'Mailenable' is easy to deploy and the 'standard' version is free.

Running a mail server is not a trivial thing to do. It needs to be secure and you need to take the time to make sure all of your DNS records exists (and resolve) as they should.

Let us know what the Operating System is and we can be more specific.

03-21-2010, 02:36 AM
Thank you a lot 120 for replying to my post, and yeah, I completely forgot to add the OS I'm actually using, but here is it:

Windows Server 2003 Enterprise SP1

I'm running XAMPP v 1.7.1

Thanks again for your help, it's very appreciated !

03-21-2010, 05:52 AM
If your running server 2003 why not just use MS exchange?