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

I'm sure this is a simple question but I've spent a long time Googleing to no end. I'm simply trying to send an email from commmand line in OpenSuse12.1 using a "default" mail program that is available on most standard linuxes. As I understand it 'mail' is that program, but that only returns 'command not found'. I've searched for mail in Yast but only came up with lots of third-party programs.

share|improve this question
Postfix is installed. Sendmail is not. Could this be the problem? – Isius Feb 24 '12 at 3:53
up vote 3 down vote accepted

Sendmail and Postfix are Mail Transport Agents (MTAs), you want a mail user agent (MUA).

The package you are looking for is called mailx.

However - mail has an arcane and awful user interface, so if you want anything more than sending email from the command-line I highly recommend using mutt or alpine instead. Additionally, if you want to send attachments using the command line, mutt is a much better option.

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.