I set up ssmtp a long while ago for my local server to send me e-mails with alerts and other stuff. Some programs do fine, for example I get an E-Mail from rkhunter every night. But it seems not to work for the whole system. Is there any better way instead of ssmtp?
This is my conf:
Code: Select all
blackbox patrick # cat /etc/ssmtp/ssmtp.conf
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=my@email.com
mailhub=customer-smtp.my-domain.net:2525
rewriteDomain=
FromLineOverride=YES
AuthUser=root@my-domain.net
AuthPass=somethingCode: Select all
blackbox patrick # cat /etc/ssmtp/revaliases
# sSMTP aliases
#
# Format: local_account:outgoing_address:mailhub
#
# Example: root:your_login@your.domain:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.
root:root@my-domain.net:customer-smtp.my-domain.net:2525

