---
title: Install ssmtp on Linux | Snap Store
description: Get the latest version of ssmtp for Linux - Extremely simple MTA to get
  mail off the system to a mail hub
url: https://snapcraft.io/ssmtp-snap
---

# ssmtp (ssmtp-snap)

[AMA (drcoccodrillus)](https://snapcraft.io/publisher/drcoccodrillus "View all snaps from AMA (drcoccodrillus)")

* [AMA (drcoccodrillus)](https://snapcraft.io/publisher/drcoccodrillus "View all snaps from AMA (drcoccodrillus)")
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 2.64

Install latest/stable of ssmtp

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install ssmtp-snap
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* ssmtp-snap

---

### License

* Unlicense

---

### Last updated

* 10 December 2023 - latest/stable

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/ssmtp-snap#report-snap-modal)

---

* [Description](https://snapcraft.io/ssmtp-snap#tab-description)
* [Security](https://snapcraft.io/ssmtp-snap#tab-security)

#### Extremely simple MTA to get mail off the system to a mail hub

sSMTP is a simple and lightweight MTA to deliver mail from a computer to a mail hub (SMTP server).

**How to configure it**

First you need to create your configuration file and save it here: `/var/snap/ssmtp-snap/current/ssmpt.conf`

You can use this command to obtain a template for your configuration file:

`ssmtp-snap.config`

**How to use it**

You can use this command to obtain a template for your email file:

`ssmtp-snap.email`

To send an email

`ssmtp-snap.ssmtp -v recipient@example.com < email.txt`

To send an email overriding the From address

`ssmtp-snap.ssmtp -f your_email@example.com -v recipient@example.com < email.txt`

---

## Install ssmtp on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/ssmtp-snap/arch)

[### CentOS](https://snapcraft.io/install/ssmtp-snap/centos)

[### Debian](https://snapcraft.io/install/ssmtp-snap/debian)

[### elementary OS](https://snapcraft.io/install/ssmtp-snap/elementary)

[### Fedora](https://snapcraft.io/install/ssmtp-snap/fedora)

[### KDE Neon](https://snapcraft.io/install/ssmtp-snap/kde-neon)

[### Kubuntu](https://snapcraft.io/install/ssmtp-snap/kubuntu)

[### Manjaro](https://snapcraft.io/install/ssmtp-snap/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/ssmtp-snap/pop)

[### openSUSE](https://snapcraft.io/install/ssmtp-snap/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/ssmtp-snap/rhel)

[### Ubuntu](https://snapcraft.io/install/ssmtp-snap/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/ssmtp-snap/raspbian)
