hMailServer – email server a la Exchange
Running your own email server (or more correctly, an smtp server) lets you do lots of things – specifically, to allow people to send you email to an email address at your new domain – ie bradzo [at] diyws.ath.cx
Right – so lets get to it.
Download the latest version of hMailServer fromhttp://www.hmailserver.com/?page=download
Choose the hMailServer 5.2 – Build 356 release, because that’s what I’m using for this lesson.
Run the setup.
Click the “Next” button at the Welcome message.
Click the “I accept the agreement” radio button.
Click the “Next” button.
Accept or change the “Select destination location” screen.
Click the “Next” button.
Select “Full installation” from the drop down list.
Click the “Next” button.
Select the “Use external database engine (MSSQL, MySQL or PostgreSQL)” radio button.
Click the “Next” button.
At the “Select Start Menu Folder” screen, just….
Click the “Next” button.
At the “Ready to Install” screen, just…
Click the “Install” button.
Wait for it to do all its stuff.
At the hMailServer Database Setup window, switch to where you installed XAMPP and find the libmysql.dll file, which should be in xamppmysqlbin – copy it from there (right click, select copy) and then paste it into the hMailServer Bin folder (c:program fileshmailserverbin)
Switch back to the hMailServer Database Setup screen, and select the “Create a new hMailServer database” option (radio button)
Click the “Next” button.
Click the “MySQL” radio button.
Click the “Next” button.
In the “Database server address” textbox, type in “localhost”
Leave the Port at 3306
In the “Database name” textbox, type “hMailServer”
In the “Use server authentication – Username” textbox, enter your desired username – remember this because we’ll need it in the next screens….
In the “Use server authentication – Password” textbox, enter your desired password – remember this because we’ll need it in the next screens….
Click the “Next” button.
The wizard now has enough information to proceed.
Now, here is the most important thing: browse to your XAMPP phpMyAdmin screen (http://localhost/phpmyadmin)
Click the Privileges tab at the top of the screen.
Scroll down a bit and click the “Add a new User” link.
At the Username field, type in “hmailserver”
At the Host field, select the “Local” option (selects localhost)
At the Password field, enter your desired password.
At the Re-type field, enter your desired password again.
At the Global Privileges frame, click the “Check All” option. (All the checkboxes should now be ticked)
Scroll down a bit further and click the “Go” button.
You’ve now created a new user with all the correct rights to create a database and do all the stuff that you need to get hMailServer running.
Ok – switch back to the “hMailServer Database Setup – Step 4 of 7? screen.
Click the “Next” button.
Select “mysql (mysql)” from the drop down list.
Click the “Next” button.
At the “hMailServer Database Setup – Step 6 of 7″ screen, click the “Next” button.
Wait till the database has been created, then click the “Close” button.
Now, hMailServer asks you for another password to administer your new mail server. Enter your password, and enter it again.
Click the “Next” button.
You’re now good to go – ensure the “Run hMailServer Administrator” option is checked, and click the “Finish” button.
At the next screen, click the “Connect” button.
Enter your password and click Ok.
Hooray – you’ve now:
Installed hMailServer.
Created a user.
Created the database.
Setup a password for the Admin tool.
Well done and congratulations! You’ve now installed hMailServer, an smtp server. (smtp = simple mail transport protocol)
Next, we see how to set up our mailboxes and all that other really groovy stuff.
Tell us about your experience with hMailServer, the smtp server for Windows, in the comments below.



hi great website !
ive been looking for stuff like this for ages
does hmailserver work with phpbb if i set it to localhost?
Hi Matt
Just downloaded phpBB – let me install and tinker with it, and I’ll get back to you.
Cheers
Brad
Hi again just tested it
it does work but you will have to get your ip removed from spamhaus policy blocklist in order to send mail to some email addresses (like yahoo). It has nothing to do with spam coming from your pc – unless your in the sbs (spam block list) or xbs (eploit black list).Apparently ip addresses dished out to home customers are automatically in the pbs. they say that they will check if the ip is a mail server or not , so i have yet to see if my ip will remain off the list
Hey Matt
Cool – I can see that you’re on a dynamic IP setup as well? Last time it was 83.xxx.xxx.xxx, now its 77.xxx.xxx.xxx?
Excellent – that just goes to show people, that you absolutely can host your own website – even on a dynamic connection!
Well done Matt.
Ok – that is very interesting that IP addresses dished out to home customers are automatically sent to the pbs.
I will check this further – I have setup accounts on hMailServer to send via my standard ISP account – headers etc are sent fine, and the recipient sees the mail coming from the ISP, not me.
Thanks again Matt – you’re a legend!
Cheers
Brad
i was on a different pc when i first posted
These are very nice tips that I will try out, I am glad I ran into it. Thanks.
that’s incredible.
You’re a Really Experienced Blogger, Either have got quality knowledge of what your talking about or you did some great research. Many thanks for this excellent posting.
You’re a Very Skilled Blogger, You either have quality understanding of what your discussing or you did some excellent research. Many thanks for this excellent posting.
I just wanted to add a comment here to say thanks for you very nice ideas. Blogs are troublesome to run and time consuming therefore I appreciate when I see well writen material. Your time is not going to waste with your posts. Thanks so much and carry on You will defintely reach your goals! have a great day!
Epic site I’m so glad I stumbled here through my friend’s blog, Going to need to add this one to the blogroll.
Thank you for the entertaining read! Alright playtime is over and back to school work.
Nice opinion. I found your blog through google while i was researching for web hosting. I will recommend your site to other people and I am sure they hopefully think the same about your writing on this site.
Just write like you’re talking to your friends. And soon, they will be.
Hi I have been reading your blog for the past two weeks and it is interesting, do you have a RSS feed?
What is the meaning of the previous comment? I think it is important.
Hey there, just how do i subscribe to your RSS Feed?
Spitze Design hat dieser Blog. Woher hast du die Vorlage ? War bestimmt sehr teuer.
I love your website! did you create this yourself or did you outsource it? Im looking for a blog design thats similar so thats the only reason I’m asking. Either way keep up the nice work I was impressed
Hey very nice blog!! Man .. Beautiful .. Amazing .. I will bookmark your blog and take the feeds also¡I am happy to find so many useful information here in the post, we need develop more strategies in this regard, thanks for sharing. . . . . .
thanks to your ideas , i¡¯d adore to adhere to your weblog as usually as i can.possess a good day
@Marco I know what your saying there . In the current economy its hard to find a company to work for that pays good and is consistent. I have found that if you just work hard and are consistent you can go places . Look at the author of this article, they are clearly hard working and have just been consistent over time and are now enjoying at least what would appear as somewhat of a success. I would encourage everyone to just keep hustling and moving forward.
Pingback: car radio install
Thank you for the sensible critique. Me and my neighbor were just preparing to do some research about this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such great information being shared freely out there.
Had some problems viewing the website in Firefox on the Mac, but I still loved the post!
Thank you for this very informative article, I wish you much success in all you do.
I heard of it from my friend, I am just ready to use it
Nice opinion. I found your blog through google while i was researching for web hosting. I will recommend your site to other people and I am sure they hopefully think the same about your writing on this site.
I am so happy to read this. This is the kind of research that needs to be given and not the random misinformation that is at the other blogs. Nice one for this unique way of seeing things.
I think that your writing is rather understanding as it highlights an assorted range of good info. Anyhow, was thinking whether you would like to exchange links with my web space, as I am searching to compile more contacts to further enlarge and get better web exposure for my web space. I do not mind you stationing my web links at the front page, just accepting this web links on this page is great and enough. Anyway, would you please reach me at my website if you are keen in exchanging links with me, I would really like that. I would like to thank you and hopefully to get a reply from you soon!
What you do is great – but more frequent updates, please?
You write very detailed,Pay tribute to you.Couldn’t be written any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!
Please, can you PM me and tell me number of much more thinks about this, I am truly fan of one¡¯s webpage¡gets solved properly asap.
I just couldnt leave your website before telling you that we really enjoyed the useful information you offer to your visitors… Will be back often to check up on new stuff you post!
Justwanted to say hello and to let you know that I really enjoy readingyour blog, it is very well written and articulate. Keep up the good work! Check out my new blog called camcorder buying guide
I know this is really boring and you are skipping to the next comment, but I just wanted to throw you a big thanks – you cleared up some things for me!
Thank you , I wish that the world could be a better place.
Very informative blog. I will return.
With all the doggone snow we have had as of late I am stuck indoors, fortunately there is the internet, thanks for giving me something to do.
You made some good points there. I did a search on the topic and found most people will agree with your blog.
I viewed your site. Very cool. Will come back.
Thank you for another informative blog. Where else could I get that kind of info written in such a perfect way? I have a project that I am just now working on, and I have been on the look out for such information.
Come on everyone, we did it last year…
I really like this post, would you provide more information?
What hosting company are you using for your blog?
Getting page one ranking on Google is very difficult for most people. The secret is finding keywords that are not so competitive and typically this means you need to find long tail keywords that have not been discovered by a lot of people. That is what any keyword tool that you purchase should do, at a minimum, and that is where I spend a good chunk of my time – mining for long tail keywords. You can check out why it is the top of Search Engine Marketing tool and also it’s my favorite
Thank you to get sharing this information. But it will be truly great to get some more details!
check out this hosting site
http://geneserv.co.cc
Can you share with us a few related blogs that inspire you? I am really fan of your blog…
Thank you for the great post. I’m bookmarking your post!
Thanks for the great post!
Sorry my english, but this is great site, I wil add to my favorites.
Intriguing, how do I apply this?
Well, I am quite interested in your site. If I were to use this website, I could earn you 100-200 USD daily. I am willing to work on monetizing your site, on the condition that you share 50% of revenues with me. If you are interested, please send me an email.
The articles you have on your blog are always so enjoyable to read. Good work and I bookmarked it.
I love to learning more on this topic if possible, as you gain expertise, would you mind updating your blog with more information?
Great post, thanks for being humble and sharing. Didn’t know about the shared web host potential.. Good to know owning over a thousand sites..
Thanks for this handy walk through!
Thank you very much… You have a great site.
Hello This is a great blog keep your good work and thank you for hvar in with me So nice to hear frome you.Thanks!
found your site on del.icio.us today and really liked it.. i bookmarked it and will be back to check it out some more later ..
Hi, found google to your this blog and it appeard funny but after refresh site displayed fine. Just thought id let you know and keep up the good work.
I just wanted to comment your blog and say that I really enjoyed reading your blog post here. It was very informative and I also digg the way you write! Keep it up and I’ll be back to read more soon mate
Nice Info. I would definitely want to try this.
Hello. And Bye.
I truly enjoyed this. It was very educational and useful. I will back to check on upcoming articles
This is very good article, I am very interested in its topic and read them was a pleasure.
Nice Post. This is really very good article. I am really apreciated to share it with us. Thank you
hey there I just wanted to comment your blog and say that I really enjoyed reading your blog post here. It was very informative and I also digg the way you write! Keep it up and I’ll be back to read more soon mate
Your work certainly doesn’t lose out in offering useful information to readers. Nothing is better than gaining knowledge on something new via reading. Thank you for communicating your inputs with us.
That was interesting but I can`t agree at all.
Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Thanks for lunch!
Good information, valuable and exceptional design, like share lovely stuff with excellent ideas and concepts, a lot of fantastic information and inspiration, both of which we all need, appreciation for all the enthusiasm to offer such valuable information at this point.
I’m trying to open forum but sometimes there are no images on it
Good webpage thanx! Does any person feel there ought to be a more PC term for kids? I definitely feel discriminated against but my mom thinks I’m being silly.
Very informative post, love the way in which you write and I believe that the data helps in a way. I don’t usually say this, but I feel this is a nice job done. In the event you wish to change links, I’d be very happy to provide a link back to your site. Hope to hear from you soon. Cheers
Great post! I started following your blog about a month ago and I like your honesty. Good example to emulate.
very enjoy your posting kind, very interesting, don’t give up as well as keep writing mainly because it just simply that is worth to read it, looking forward to look into more and more of your current well written articles, have a good one
I was looking the some useful information that was referred to in the above article in other websites, but this article was the most helpful so far. Thank you.
Your web site came up during my research and i¡¯m stricken by what you have prepared on this content. I¡¯m at the moment diversifying my search and therefore can not contribute more, nevertheless, I¡¯ve bookmarked your website and will be coming back to keep up with any kind of forthcoming changes. Simply appreciate it and thanks for allowing for my comment.
Hello, great article!! I got you bookmarked. Thanks and best wishes
Pingback: Tweets that mention Lesson 14 – How to install hMailServer | Do It Yourself Web Server / Hosting -- Topsy.com
The articles you have on your site are always so enjoyable to read. Good work and I will be returning often.
Great site man , just keep it .
Thanks for taking the time to discuss this, I feel strongly about information and love learning more on this. If possible,it is extremely helpful for me.
Great post. It was well written. Keep up the good work.
Pingback: Youth hockey
Pingback: Venture capital firms
Pingback: Coach outlet
Any way I’ll be subscribing to your feed and I hope you post again soon.
Nice post and very well written. Thanks for this!
Have you ever thought about adding a little bit more than just your articles? I mean, what you say is fundamental and all. But think about if you added some great photos or videos to give your posts more, “pop”! Your content is excellent but with pics and videos, this blog could certainly be one of the most beneficial in its field. Terrific blog!
Yes I have thought of that.
I’ve moved off Windows so am looking at ways to get some video tutorials happening here.
Thanks for visiting!
Hi there would you mind letting me know which web host you’re working with? I’ve loaded your blog in 3 completely different browsers and I must say this blog loads a lot faster then most. Can you suggest a good hosting provider at a reasonable price? Cheers, I appreciate it!
My web host?
My own computer at home.
Says it all really.
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites website list and will be checking back soon. Please check out my site as well and let me know what you think.
I have been around for a although now, i contemplate myself a loyal reader. Just thought i would let you know!
Hey Lionel!
Thanks!
Is there anything else you would like to read about?
I have been reading this blog for sometime now, however it has taken me a while to say hello. I wanna say thanks i actually take pleasure in your posts
Hi Eveline
Thanks and hello to you too!
I’m glad you find my site worthwhile.
I like the beneficial information you provide in your posts. I will bookmark your web log and check out again here generally. I am quite certain I’ll study many new things right here! Best of luck for the next!
Thanks!
hello!,I love your writing very a lot! proportion we keep in touch more about your article on AOL? I require a specialist in this space to solve my problem. Maybe that’s you! Taking a look forward to look you.
Hi keygen
Sure!
Send me an email and we’ll discuss.
i dont like to comment, but your post made my day and so i shall!
Hi Derrick!
I’m glad you did!
This is excellent! How did you learn this stuff?
Hi best dance workout dvds for women
Thanks for your kind words!
To answer, just many many hours of research and reading and implementing and fixing and, all the rest of it.
There is never a magic bullet for anything. Just hard work, and passion for the topic.
Eventually, things will happen for you.
PnXnY1 As usual, the webmaster posted correctly..!!
Hooray!
A vote for me!
Would you be enthusiastic about exchanging links?
Hi Valentin!
Sure!
As long as they’re “thematically” compatible.
Send me an email and we’ll discuss.
I hate to comment but i am going to for this post. Thanks for your difficult work, please keep it up.:)
Hi Lizbeth!
I’m glad you did comment – I appreciate it!
great work sir…. it was really helpful
You’re welcome!
awesome………. it worked out with me …………….
Cool!
Glad you got it to work!
Hello! I just would like to give an enormous thumbs up for the good information you might have here on this post. I will likely be coming back to your weblog for much more soon.
Hi vegetarian baby food recipes !!
Thanks!
I really like your writing style, superb information, regards for posting : D.
You’re welcome.
Nice post, Love it. Keep it up. Thanks again.
Thanks!
Did it help you install hMailServer?
Did you have any other questions about it?
Terrific work! This is the type of information that should be shared around the internet. Shame on Google for no longer positioning this submit upper! Come on over and talk over with my site . Thank you =)
Hi . I use windows 7. I made a web server. I want to use this hmailserver local , so that to create some mail accounts and be able to opent with outlook. I can’t manage. When try to create an acc. in outlook – get message that mail server not found !
Hi Vlad!
Thanks for visiting.
A question I’ve not had before – ok – start here:
Check out your hosts file – I prefer to have names that map to an IP address (this makes it so easy later on when Apache etc are configured to use domain names, especially with regard to virtual hosts – but that’s for another lesson!)
So, identify which PC is running your webserver, and then add its ip address (assuming its 192.168.1.10) in the hosts file (which should be at /windows/system/drivers/etc/hosts) like this:
my.webserver.com 192.168.1.10
Save the hosts file, and try browsing to it using http://my.webserver.com
Your website should appear.
As for the configuration of hMailServer, you’ll need to add a new domain with the same name: my.webserver.com
Then you can add accounts, and then connect Outlook to it using the same domain name as the mail server.
Let us know how you go!
I love your tutorial , however i need to ask you some thing if a may, i get these error messages could you be nice enough to maybe tell me what they mean?
Access to the path ‘C:UserscreigAppDataLocalHalvar InformationhMailServerhMailAdmin.exe.config’ is denied.
Object reference not set to an instance of an object.
Hi Creig
There’s a thread over at hMailServer forums that may help:
http://www.hmailserver.com/forum/viewtopic.php?f=6&t=20071
The last commenter says this:
“Problem is now solved. I had a file: hMailAdmin.exe.config in appdata folder, removed this and reinstalled. working now”
So give that a go and see how you get on.
Let us know!
Cheers
Brad
Thank you for your kind reply. I am about to give the advice a shot, how ever if i may ask just one last thing, when installing at the point where it said select “mysql (mysql)” from the drop down list. I do not have that option all i see is “mysql2 (mysql2)” is that the same thing or could that be my problem,, Thank you so much
Hi Creig
Its been a long time since I installed hMailServer (and I don’t use Windows anymore), but I think that you’d be ok with selecting the (mysql2) option – its obviously added another “instance” – oops – just looked at your most recent comment. I’m glad it worked!
I’ll go review the instructions for the Windows install of hMailServer.
Thanks for being a regular visitor – I appreciate it.
Cheers
Brad
Problem solved
followed the instructions via post , Thank You
Hi Creig (again!)
I’m glad to read that you’ve got everything working.
Cheers
Brad
Sweet Web Site Ya Got Here!!
I was studying some of your content on this website and I believe this web site is really informative ! Continue posting .
I enjoy your writing style genuinely loving this internet site .
Hi,
I have purchased a VPS for email hosting. Everything is working fine but when I tried to send more emails to my clients using webmail.mysite.com its showed me an error saying “Hourly relay quota is over” something like that. However in my hmailserver the SMTP relay is set to zero which means unlimited. Please help me with this.
Thanks,
Guru.
Hey Guru!
Thanks for visiting.
This might help:
hMailServer error messages.
Cheers!
very nice article, I have been trying to look for this. Thanks!
Thanks for that!
I do believe all of the concepts you have introduced on your post. They’re very convincing and can definitely work. Nonetheless, the posts are very brief for newbies. May just you please extend them a bit from next time? Thanks for the post.
No worries.
Longer posts are on the way!
I absolutely love your blog and find almost all of your post’s to be exactly what I’m looking for. Does one offer guest writers to create content in your case? I wouldn’t mind writing a blog post or expanding on many of the topics you write concerning here. Yet again, fantastic weblog!
Sure!
Shoot me an email with some blog post ideas!
Great post at Lesson 14 – How to install hMailServer | | Do It Yourself Web Server / HostingDo It Yourself Web Server / Hosting. I was checking constantly this blog and I’m impressed! Extremely helpful information specially the last part
I care for such info a lot. I was seeking this particular information for a very long time. Thank you and good luck.
If you dont mind, where do you host your web page? I am shopping for a good quality host and your website seams to be quick and up most the time
Hi
I host my site at home, hence the name Do-It-Yourself Webserver / Hosting.
re quick: I use W3 Total Cache plugin. wordpress.org/extend/plugins/w3-total-cache/
re up most the time: I never turn my server off.
Cheers!
I’m really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Either way keep up the nice quality writing, it’s rare to see a nice blog like this one nowadays..
As a Newbie, I am permanently searching online for articles that can aid me. Thank you
I’m still learning from you, while I’m improving myself. I certainly love reading all that is posted on your website.Keep the tips coming. I loved it!
Excellent blog here! Also your site loads up very fast! What host are you using? Can I get your affiliate link to your host? I wish my site loaded up as quickly as yours lol
Hi
Thanks for your question.
It is my own host, on my own Internet connection, at home.
That’s what this site is all about – Do-It-Yourself Webserver / Hosting.
I also use W3 Total Cache for speed.
And no, I don’t have an affiliate program because this is my own host, but I’ve been thinking about an affiliate program.
What would you like to see if I were to introduce an affiliate program regarding this site?
Cheers
Brad
hello there and thank you for your information I have certainly
picked up something new from right here.
I did however expertise a few technical points using this site,
since I experienced to reload the web site
many times previous to I could get it to load properly.
I had been wondering if your web hosting is OK?
Not that I am complaining, but slow loading instances times will very frequently
affect your placement in google and could damage
your high quality score if ads and marketing with Adwords.
Well I’m adding this RSS to my e-mail and could look out for a lot more of your respective exciting content. Make sure you update this again soon.
Hi rocket spanish app!
You may have caught me at a time when I was updating system software, so I was offline for a bit.
Its up again now!
Cheers
Brad
Hοwdу! I know thiѕ is sοrt
of off-topic but I needed to ask. Does builԁіng a well-estаbliѕhеd blog liκe уοurs
requiге а lot of ωorκ?
ӏ’m completely new to blogging however I do write in my journal on a daily basis. I’d like to ѕtaгt a
blog ѕo I will be ablе to shаre my οwn experience and thoughts onlіne.
Ρleasе let me know if уοu
hаνe any kind of suggestiоns оr tipѕ foг bгаnd new aspiring bloggers.
Thаnκуοu!
Hello Beautiful Green Amber Jewellery….
Since you already have an e-commerce site already rolling, you don’t need any help from me – except to say just add a blog link from your current domain. And there you go. Question answered.
For everybody else – folks, this is just another half-hearted attempt to get backlinks – and gain Google juice.
Sorry, but if you can’t be on topic here, I’m not going to approve comments.
To verify my thought – what has the OP comment have to do with installing hMailServer? (Almost always, they say “I know this is off-topic”)
If you want to add comments here, please at least add something worthwhile to the post, and stay on topic.
Cheers
Admin
I am curious to find out what blog system you happen to be working with?
I’m experiencing some minor security problems with my latest website and I’d like to find
something more risk-free. Do you have any solutions?
Do you have a spam problem on this blog; I also am a blogger, and I was
curious about your situation; we have created some nice practices and we are looking to swap methods with other folks, be sure to shoot me an email if
interested.
Hi, i think that i saw you visited my blog so i came to return the favor.
I am trying to find things to improve my website!I suppose its ok to
use a few of your ideas!!
I do not even know how I ended up here, but I thought this post was great.
Cheers!
I do not know who you are but certainly you are going
to a famous blogger if you aren’t already
Your means of describing the whole thing in this article
is really good, all can simply be aware of it,
Thanks a lot.