Skip to content
/ ssmtp Public

patched ssmtp based on ssmtp 2.64

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

mcpat-it/ssmtp

Repository files navigation

ssmtp

patched ssmtp based on ssmtp 2.64

sSMTP - Simple SMTP

sSMTP is a simple MTA to deliver mail from a computer to a mail hub (SMTP server). sSMTP is simple and lightweight, there are no daemons or anything hogging up CPU; Just sSMTP. Unlike Exim4, sSMTP does not receive mail, expand aliases, or manage a queue.

Setting up sSMTP

sSMTP's main configuration file is located at ssmtp.conf

Using sSMTP with Gmail

Using sSMTP with Gmail is simple, you just have to change a few options around and add in TLS encryption and change Google's server to port 587

Add to revaliases

root:[email protected]:smtp.gmail.com:587

and to ssmtp.conf

# The user that gets all the mails (UID < 1000, usually the admin)
root=*YOURNAME*@gmail.com

# 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:587

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

# The full hostname
hostname=localhost

# Use SSL/TLS before starting negotiation
UseTLS=Yes
UseSTARTTLS=Yes

# Username/Password
AuthUser=*YOURNAME*@gmail.com
AuthPass=*yourpasswort*
AuthMethod=LOGIN

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

Patches

with DEBIAN patches and mcpat patches:

  • TLS patch (made by mcpat)
  • Libcrypto patch (made by mcpat)
  • 557741-remote-addr.patch
  • 508759-garbage.patch
  • LDFLAGS.patch
  • bug584162-fix.patch

Tested and working

compiled with GCC 5.3.0 on a dreambox DM900 (armv7)

About

patched ssmtp based on ssmtp 2.64

Resources

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Packages

No packages published