Package Details: ssmtp 2.64-18

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: 9
Popularity: 0.000017
First Submitted: 2019-03-13 08:55 (UTC)
Last Updated: 2023-10-21 10:18 (UTC)

Required by (1240)

Sources (9)

Latest Comments

1 2 3 4 Next › Last »

alesc commented on 2024-05-27 13:32 (UTC) (edited on 2024-05-27 13:33 (UTC) by alesc)


I can't build 2.64-18 on a fresh install:

ssmtp.c:58:19: error: initialization of ‘char *’ from ‘char’ makes pointer from integer without a cast [-Wint-conversion]
ssmtp.c:59:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   59 | char *auth_pass = (char)NULL;

For it to work I need to ignore warnings :

  CFLAGS="-Wno-pointer-to-int-cast -Wno-discarded-qualifiers -Wno-int-conversion" ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --mandir=/usr/share/man \
              --enable-md5auth \

dcelasun commented on 2024-05-18 11:32 (UTC)

@BertoX I can't reproduce it here. What's your gcc version? And please get an English error message with LANG=en_US.UTF-8 makepkg -s.

BertoX commented on 2024-05-18 11:23 (UTC)

Does not compile on up2date Archlinux : ssmtp.c:60:21: erreur: l'initialisation de « char * » depuis « char » transforme un entier en pointeur sans transtypage [-Wint-conversion]

JustinSB commented on 2023-10-25 13:19 (UTC)

@dcelasun Sorry.. copy'n'paste error. I reverted to ssmtp-2.64-17-armv7h.pkg.tar.xz

@chaserhkj That fixed it

As recommended by @chaserhkj, I reinstalled the latest version then set AuthMethod=login in my ssmtp.conf and all it all started working again.

chaserhkj commented on 2023-10-24 11:09 (UTC)

@JustinSB Did you set AuthMethod=login in your ssmtp.conf?

In the XOAUTH2 patch the check for AuthMethod=login is added for password-based authentication as well. So if that was unset in your configuration, that could be a problem with the new version.

dcelasun commented on 2023-10-24 10:52 (UTC)

@JustinSB you mention 2.64-18 in both parts, what version did you revert to?

JustinSB commented on 2023-10-24 10:46 (UTC) (edited on 2023-10-25 13:21 (UTC) by JustinSB)

Updated to ssmtp-2.64-18-armv7h.pkg.tar.xz and every time I try to send an email it fails with this Authorisation Error.

Sending either this way:

echo "Testing...1...2...3" | ssmtp my_real_email_address

or this way:

mail -s "Test01" my_real_email_address < /dev/null

Gives this error:

sendmail: Authorization failed (500 command unrecognized)

Reverted back to ssmtp-2.64-17-armv7h.pkg.tar.xz and it all works again, just as it always did. What can I try?

dcelasun commented on 2023-10-21 10:18 (UTC)

@chaserhkj added, thanks for the patch!

chaserhkj commented on 2023-10-21 07:59 (UTC)

Hi, I ported a patch allowing this version of ssmtp to use XOAUTH2 authentication for better security. Can you include it in this package?

severn commented on 2023-08-10 11:36 (UTC)

@TwentyoneThree ssmtp rebuild fixed it for me.