Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I'm looking for a command line like cleancode's email program which would allow me to send emails from the command line without setting an MTA (and would allow me to use separate accounts for each users, without touching the MTA's configuration).

Is there a PPA with cleancode's email program? Is there other similar program which is packaged with ubuntu?

share|improve this question
up vote 1 down vote accepted

Would msmtp fit your needs? It means you can run SMTP commands locally without running a full SMTP server. msmtp will just forward it to a SMTP server and is configured by a file in your home directory, so different users can have different configurations.

msmtp has been in the ubuntu repositories for a few years now.

share|improve this answer
Looks good. A simple MTA which does just what I need. – Elazar Leibovich Nov 10 '10 at 21:34

So you want an MTA, without setting up an MTA?

I use an ssh tip when I'm in a hurry and it gets around firewalls that block outgoing mail.

share|improve this answer
Yes, like in every sane GUI MUA. I want to send email through gmail's SMTP, but the other user wants it through Yahoo's. And both should be able to change their mind without administrator interface. Except, I don't want the MTA to gobble memory all day long when I actually use it only twice a day. Thus I want a full command line SMTP client like cleancode's is exactly what I want. I just rather to have something in the official distribution than compile it on my own. – Elazar Leibovich Nov 10 '10 at 9:29

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.