Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to have a very lightweight and easy mail transfer agent on my server. The only purpose of this MTA is to buffer outgoing email messages locally and forward them to ISP's mail servers.

What options Ubuntu offers?

Criteria

  • Easy to configure for forwarding purposes

  • Simple - average user can understand how it works

  • Secure - outside traffic is disabled

  • No incoming email support needed

I have had various issues with sendmail and other complex solutions which are overkill for my modest needs.

share|improve this question
1  
Related, though perhaps not exact duplicate: askubuntu.com/questions/7993/… - some ideas there you might consider. –  Caesium Jan 23 '12 at 10:40
add comment

3 Answers

up vote 2 down vote accepted

What you are looking for is Nullmailer. Simple and lightweight with almost no configuration. Check this post:

It has been a perfect solution for my self-hosted Ubuntu server. Hope this helps!

share|improve this answer
add comment

postfix is what I'd use and it can accomplish what you're after but I'm not sure it checks all your criteria.

As far as simple goes, I'm not sure there's on MTA that's even slightly simple. Postfix isn't insanely hard to understand and you will get a nice installer to create the default configuration (that you can call again after installation from sudo dpkg-reconfigure postfix), but it's not something "just anybody" should be setting up.

Relaying email isn't hard but you can run into problems with some SASL issues if you don't install the right packages (libsasl2-2 libsasl2-modules ca-certificates).

Security is mainly a case of firewalling things so external people can't connect. Again, not hard. Either do it with your router or ufw on the server (sudo ufw deny smtp).

Basically, you all you need is Google on your side.

share|improve this answer
    
In the end, I had to settle to Postfix: opensourcehacker.com/2013/03/26/… –  Mikko Ohtamaa Dec 20 '13 at 18:40
add comment

Well, the simplest and lightest would be the mail option built-in Opera Browser. You can use that browser for both browsing the web as well as mailbox.

share|improve this answer
    
I am asking for mail transfer agent, not an email client. They are totally different thing, sorry. –  Mikko Ohtamaa Jan 23 '12 at 13:57
add comment

Your Answer

 
discard

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.