Forums

Re: Sending mail from the terminal

> Ok, so either you're not running Ubuntu, or Ubuntu is badly broken in some way.

So postfix and sendmail show show packages, "mail" is a program rather than a package so the output there is right. "mail" comes from the "mailutils" package, so "apt show mailutils" should work.

I'd start with "sudo apt update" and work from there. "apt" is in some way borked, so assuming apt update doesn't fix it, take a look at /etc/apt/sources.list and compare it to another machine. Most likely fix is to get a re...
> Ok, so either you're not running Ubuntu, or Ubuntu is badly broken in some way.

So postfix and sendmail show show packages, "mail" is a program rather than a package so the output there is right. "mail" comes from the "mailutils" package, so "apt show mailutils" should work.

I'd start with "sudo apt update" and work from there. "apt" is in some way borked, so assuming apt update doesn't fix it, take a look at /etc/apt/sources.list and compare it to another machine. Most likely fix is to get a re...

About the author

Mad Penguin

Mad Penguin is a Linux forum administrator and moderator.