Package Details: ssmtp 2.64-19

Git Clone URL: https://aur.archlinux.org/ssmtp.git (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: https://packages.debian.org/stable/mail/ssmtp
Licenses: GPL
Conflicts: exim, smtp-forwarder
Provides: smtp-forwarder
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 9
Popularity: 0.000003
First Submitted: 2019-03-13 08:55 (UTC)
Last Updated: 2024-09-11 10:22 (UTC)

Required by (862)

Sources (12)

Latest Comments

1 2 3 4 Next › Last »

dcelasun commented on 2024-09-11 10:23 (UTC)

Pushed a new pkgrel, should build fine now. I didn't bother fixing the outdated C. Overwriting CFLAGS will do for now.

I've also updated all patches from Fedora and had to disable md5auth as it doesn't build. Didn't investigate why. Let me know if there are any further issues.

phoenix23 commented on 2024-09-10 23:07 (UTC)

I'm not able to compile either. Tried two systems (one installed just a month ago) and a fresh container.

Full output of makepkg -s on a fresh container

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

Hi,

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 \
              --enable-ssl\
              --enable-inet6

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!