Ports for SerenityOS
Collections What's new Versions Info Sign in

sSMTP is a simple MTA 2.64-11 🞉

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

cd Ports/ssmtp
./package.sh

Description  ~  📖 Instructions

Enable full sendmail emulation



Run the following in SerenityOS:

rm -f /usr/local/bin/sendmail
ln -s /usr/local/sbin/ssmtp /usr/local/bin/sendmail
rm -f /usr/local/man/man8/sendmail.8
ln -s /usr/local/man/man8/ssmtp.8 /usr/local/man/man8/sendmail.8


Example configurations



Configuration goes into /usr/local/etc/ssmtp/ssmtp.conf

Hetzner



Mailhub=mail.your-server.de:465
UseTLS=yes
FromLineOverride=yes
AuthUser=your@email.address
AuthPass=yourpassword
AuthMethod=LOGIN


GMail



# The mail server (where the mail is sent to), both port 465 or 587 should be acceptable
# See also https://support.google.com/mail/answer/78799
mailhub=smtp.gmail.com:465

# The address where the mail appears to come from for user authentication.
rewriteDomain=gmail.com

# The full hostname. Must be correctly formed, fully qualified domain name or GMail will reject connection.
hostname=yourlocalhost.yourlocaldomain.tld

# Use implicit TLS (port 465). When using port 587, change UseSTARTTLS=Yes
TLS_CA_FILE=/etc/ssl/cacert.pem
UseTLS=Yes
UseSTARTTLS=No

# Username/Password
AuthUser=username
AuthPass=password
AuthMethod=LOGIN

# Email 'From header's can override the default domain?
FromLineOverride=yes

Website: https://wiki.debian.org/sSMTP

Port: https://github.com/SerenityOS/serenity/tree/master/Ports/ssmtp

Dependencies: openssl 🖧

Sign in to vote

✍️ Edit this page

Similar ports