# # Why run your own mail server?
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© November 2002 Tony Lawrence

Why run your own mail server?

First, The Consultant

Recently I was working with another "consultant". I've deliberately put that in quotes because this person really lacked the skills to do the job he was doing, but for political reasons I had to refrain from pushing him out of the way and taking over. His lack of basic knowledge was frustrating, but I gritted my teeth and kept my comments friendly. It wasn't easy.

Anyway, part of what he was doing was configuring a router. I had to hold my breath as he explained that he always left the default password unchanged because "it's easy to remember". After he left, and with the permission of the owner, I changed that. It's just this funny idea I have that a router sitting on the Internet ought not to have a password that is known by a few million people and published on hundreds of websites. I'm funny like that.

We had other fun interactions while he was there, such as his continued attempts to ping 192.168.2.1 from a 192.168.1.0 subnet with no gateway, but that's techy stuff that you don't need to understand. Let's just say that he had no business doing ANYTHING with a router. Yet here he was, and I had to put up with it.

What I needed him to do was include some port forwarding. Specifically I needed him to forward TCP port 25 to a machine inside the LAN. Of course he had no idea what I meant and was staring rather stupidly at the packet filtering screens of the router setup. You don't have to understand what that means either, or why I needed it, or even why it was wrong for him to be looking at packet filtering. Just follow along and eventually I'll get to the point, I promise.

"Why do you need that?", he asked, still staring helplessly at the packet filtering stuff.

"Because the mail server is now behind your router and the outside world still needs to talk to it", I said. Honestly, I was not at all sarcastic. I was tempted, yes. But I was nice.

"Why on earth would he have a mail server?"

The "he" referred to was, of course, our mutual customer who kept looking nervously at me because he knew very well that I wanted to throttle this person.

Our router technician continued:

"I just have people pop their mail down from their ISP. It makes a lot more sense".

OK, we've established that I already had a low opinion of this person's technical qualifications. For a second or two, I wasn't quite sure how to answer. On the face of it, it's a naive question. Yet, as I thought about it, I realized that anyone who DOESN'T run their own mail server might very well wonder the same thing. So, I gave him a respectful and intelligent answer, and that answer, after this long lead in, is what the rest of this article is about.

What are the advantages of having your own mail server?

Indeed, why would you run your own mail server? Obviously it must cost more, at least for small companies with just a handful of mail accounts. You have to buy hardware, and probably mail server software itself, and you have to maintain it, and feed it electricity. It seems like a dumb idea, right?

Nope. It's actually a very good idea, and here (at last) are some of the reasons why.


For a mailserver that I like, see http://aplawrence.com/Kerio.

By the way, our helpless technician didn't seem to appreciate much of this. That's OK, it's a big world and there's room for all of us.


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Why run your own mail server?

8 comments


Inexpensive and informative Apple related e-books:

El Capitan: A Take Control Crash Course

Take Control of Parallels Desktop 12

Photos: A Take Control Crash Course

Digital Sharing Crash Course

Take Control of IOS 11





More Articles by © Tony Lawrence







Fri Jul 28 01:52:24 2006: 2293   anonymous


Interesting, but one-sided. I ran my own mail server for years, and recently gave up because it just wasn't worth the hassle anymore -- even a free service like Gmail does 98% of what I want with 98% less administration effort. Keeping a mail server running reliably and securely requires a real time committment and I see a lot of situations where it's just not worth it for a small/medium business without a dedicated IT staff.

But then if I was a consultant getting paid to maintain it...



Tue Aug 26 06:52:07 2008: 4512   Roarke


Nice article. Especially about the stupid tech. I can't believe where stupid people make it sometimes. I'd bet he fumbled his way through someones networking class smooging the teacher to pass on his heels and got some BullS degree from some BullS college.

That, or he knows someone.
I'm 19 and degreeless, more qualified than him. I would like to know how to run a small time mail server on a basic windows (not server) just for fun and experience. I'd want it to connect to the real world though and be able to send mail to the real world :(

I had some mail server with XAMPP I think its Mercury/32 but I couldn't get it to work with the real world :(
Finding help on the net even proves difficult, but I venture on!

Great site, I'll be back! :)

Roarke



Sun Jan 24 03:36:55 2010: 7947   KevinD

gravatar


I got hmailserver running on a Windows XP Home Edition box. I've found it to be very educating. I did know that I would have to forward port 25 to the server long before starting. I was irritated at the tech reading this article. I can't imagine what it would have been like being in that situation.



Mon Feb 22 21:40:22 2010: 8113   anonymous

gravatar


Great article! I am thinking about running my own mail server and I chanced upon this write-up. Now when someone is thinking about running their own mail server I would assume they would/should know at least half of what you had said .. otherwise they whould not even be going in that direction. However, what I really wanted to know is what is the trouble that I am in for with my own mail server. Every advantage is not worth every trouble. So I would suggest you expand this to why NOT or at least why would someone hesitate or just a list of headaches, etc - you get the idea.



Tue Feb 23 00:50:37 2010: 8114   TonyLawrence

gravatar


It's another machine to maintain. It's another set of user problems to deal with - why didn't my mail get through, why did I get this spam, how do I do this... I think it's worth it, but then support is my business - and so is selling mail servers.



Tue Mar 23 02:51:50 2010: 8258   anonymous

gravatar


I've been looking into setting up my own mail server, but I've discovered that my mail will be rejected due to my dynamic IP address. Is there any way around this, or am I stuck having to pay a whole lot more for a static IP address? Thanks,
Dan



Tue Mar 23 11:43:57 2010: 8259   TonyLawrence

gravatar


You mean rejected from sending out? Don't send out directly - use your ISP's mail server as a relay.



Sat Apr 10 14:49:03 2010: 8395   darksider

gravatar


i can't believe about that techie guy...
im nearly 20 (18th June) and I'm un-qualified (i have Standard Grades & 1/2 my HNC Computing units (including Comp. Architecture I)) and I could at least half-decently set up a network.
i just purchased a server(no HD or RAM) to put together-
(link)
and i plan to get a 1,5TB SATA HD to begin with- also using my spare 3.5GB RAM (upgrading to at least 8GB) - for it, and i am definitely going to run all my own stuff-
that is, a mail server to handle standard member email accounts (i use google apps [gmail] and get an allowance of ~50) and everything else short of an IRC server(unless the need or want arises).
anyway, thanks for the nice article-
simplistic yet complicated ---> just the way I like it!!

-billy-
[darksider/lonewaster]

------------------------


Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





The computer is a moron. (Peter Drucker)




Linux posts

Troubleshooting posts


This post tagged:

Administration

Basics

Mail



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode