Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the difference between a MailServer and a MailGateway?

share|improve this question

migrated from Apr 4 '11 at 19:51

This question came from our site for professional and enthusiast programmers.

I'm inclined to agree with both the answers below, if you're using the term to explain the function of part of a complex mail system, but at the end of the day the two terms can also be said to mean whatever the salesman using them on you wants them to mean. – RobM Apr 5 '11 at 19:25

Nothing really. They are both generally used as terms to describe a 'Mail Transfer Agent' or MTA.

Now, in some implementations you'll see Mail Gateway used to describe a device that sits on the edge of your network, accepting mail, and running security scans against it. But really this is just another form of MTA running anti-virus and anti-spam software.

Some other implementations will define a 'Mail Server' as a server that accepts mail and queues it to be delivered to the end user, which is yet another type of MTA.

And finally you'll find implementations that use the terms inter-changeably.

The common thread is that all of the above are MTA's.

share|improve this answer

As per Zypher's answer, it's just terminology and is used quite inconsistently. However, in general a "mail server" (two words, not one) is the system that actually handles the mailboxes.

A "mail gateway" is a mail server that receives the mail but passes it on. e.g. Some companies provides store and forward services, which are great for those who for one reason or another may not always have their mail server on-line. The store and forward system is a mail gateway. Similarly, a hosted spam filter is also a mail gateway because it receives the mail on your behalf and after processing it passes it on to the destination mail server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.