Package Details: ssmtp 2.64-17

Git Clone URL: (read-only, click to copy)
Package Base: ssmtp
Description: Extremely simple MTA to get mail off the system to a mailhub (with Fedora patches)
Upstream URL:
Licenses: GPL
Conflicts: exim, smtp-forwarder
Provides: smtp-forwarder
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 8
Popularity: 0.92
First Submitted: 2019-03-13 08:55 (UTC)
Last Updated: 2021-12-20 08:50 (UTC)

Required by (1264)

Sources (8)

Latest Comments

dcelasun commented on 2021-12-20 08:51 (UTC)

@Muflone done!

Muflone commented on 2021-12-19 11:50 (UTC) (edited on 2021-12-19 12:01 (UTC) by Muflone)

The package cannot be built in a clean chroot as dbermond pointed:

chown: invalid user: ‘root.mail’

The group is provided by filesystem's sysusers.d but systemd is not present into the build environments

Please add systemd to makedepends as it's required to build the package

dcelasun commented on 2020-11-25 09:49 (UTC)

@JustinSB done.

JustinSB commented on 2020-11-24 20:59 (UTC)

@dcelasun Can you please add 'armv6h' and 'armv7h' to the list of supported architectures, so we can install it easily on a Raspberry Pi 2 Model B (Rev 1.1 and 2) or a Raspberry Pi 3 Model B Plus. I have manually updated PKGBUILD on all 3, and it builds and works successfully, now that I've added the TLS_CA_File line to ssmtp.conf to fix my smtp-auth issue.

JustinSB commented on 2020-11-24 20:34 (UTC) (edited on 2020-11-24 20:51 (UTC) by JustinSB)

@dcelasun Sorry. My mistake. The new ssmtp.conf default file has grown from the old 14 lines to a new 47 lines, full of helpful configuration instructions - amongst which is this brand new section that I completely missed:

#IMPORTANT: The following line is mandatory for TLS authentication


As soon as this line was added to my old ssmtp.conf file, everything started to work as normal again.

I'm guessing that this was introduced in Fedora's validate-TLS-server-cert.patch

dcelasun commented on 2020-11-24 10:58 (UTC)

@JustinSB the only difference between -12 and -15 is this and this which change certain directory and file permissions.

Are you sure this is not a local issue? Are you using root or is the user sending the email in the mail group?

JustinSB commented on 2020-11-24 10:54 (UTC)

Unfortunately, this version appears to break SMTP-auth. I've used ssmtp for many years on my Raspberry Pi 2 Model B Rev 1.1, Raspberry Pi Model B Rev 2 and lately on my Raspberry Pi 3 Model B Plus Rev 1.3 - & it has worked flawlessly with both Gmail smtp-auth and my ISP's own smtp-auth relay to send system logs and suchlike. The new ssmtp 2.64-15 version PKGBUILD states that it is no longer "compatible with your architecture", and although it will compile and install if I force it, smtp-auth fails. If I revert back to version ssmtp-2.64-12-armv7h.pkg.tar.xz or ssmtp-2.64-12-armv6h.pkg.tar.xz then it all starts to work again.

dcelasun commented on 2020-11-14 10:07 (UTC)

@Darkmind2007 done.

Darkmind2007 commented on 2020-11-13 01:38 (UTC)

Could you please add 'aarch64' to the list of supported architectures in order to be able to build on Raspberry Pi 4?

I manually updated PKGBUILD on my Pi 4 running Manjaro and it worked perfectly

dcelasun commented on 2020-07-19 15:47 (UTC)

@pattyo should be fixed now.

pattop commented on 2020-07-19 09:19 (UTC) (edited on 2020-07-19 09:19 (UTC) by pattop)

No problem. The permissions on the directory are now OK, but I think /usr/bin/ssmtp needs something like

chown root:mail /usr/bin/ssmtp

chmod 2755 /usr/bin/ssmtp

to be able to read /etc/ssmtp/ssmtp.conf when run as a non-root user (e.g. sendmail).

dcelasun commented on 2020-07-18 14:16 (UTC) (edited on 2020-07-18 14:18 (UTC) by dcelasun)

@dbermond mail is created by the filesystem package which is in base and therefore assumed to be present.

dbermond commented on 2020-07-18 12:37 (UTC)

Fails to build in a chroot with devtools:

chown: invalid user: ‘root.mail’

dcelasun commented on 2020-07-18 07:10 (UTC)

@pattyo thanks for letting me know, should be fixed now.

pattop commented on 2020-07-15 11:32 (UTC)

I think something is wrong with the permissions for this package.

The wiki ( says that /etc/ssmtp is accessible by root and mail, but a fresh install yielded /etc/ssmtp owned by root with 644 permssions.

bdaviv commented on 2020-01-14 08:49 (UTC)

Yes, I tested it on raspberry pi 2 and it worked without any problem. Thanks!

dcelasun commented on 2020-01-13 14:59 (UTC)

Did you test / does it work on armv7?

bdaviv commented on 2020-01-13 14:54 (UTC)

Please add armv7 to arch field in PKGBUILD