Hallo, ich hoffe dieser Forumsabschnitt ist passend gewählt ansonsten verschieben. Ich möchte in meiner Ubuntuserver 14.04.2 installation Emails versenden. Dazu habe ich installiert
sudo apt-get install ssmtp sudo apt-get install sendemail
Dieses ist meine '/etc/ssmtp/revaliases' >>>
# sSMTP aliases root:xxxxxxxx@gmx.net:mail.gmx.net andy:xxxxxxxx@gmx.net:smtp.gmail.com #BENUTZER2:BEISPIEL@gmx.net:mail.gmx.net:587# 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.
Und dieses ist '/etc/ssmtp/ssmtp.conf' >>>
# # Config file for sSMTP sendmail # # The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. root=postmaster # The place where the mail goes. The actual machine name is required no # MX records are consulted. Commonly mailhosts are named mail.domain.com mailhub=mail # Where will the mail seem to come from? #rewriteDomain= # The full hostname hostname=andy-desktop # Are users allowed to set their own From: address? # YES - Allow the user to specify their own From: address # NO - Use the system generated From: address #FromLineOverride=YES root=xxxxxxxx@gmx.de mailhub=mail.gmx.net:465 hostname=gmx.net UseTLS=YES UseSTARTTLS=YES AuthUser=xxxxxxxx@gmx.de AuthPass=yyyyyyyyyyyyyyyy AuthMethod=plain FromLineOverride=YES
Versendet habe ich im Anschluss nach der konfiguration die Email so >>>
sendemail -v -f meine_online_addresse bei@gmx.de -t meine_online_addresse bei@web.de -u subject -m "message" -o tls=yes -s mail.gmx.net -xu meine_online_addresse bei@gmx.de -xp passwort
Als Output bekamm ich
May 30 08:58:08 ubuntu sendemail[1541]: ERROR => No TLS support! SendEmail can't load required libraries. (try installing Net::SSLeay and IO::Socket::SSL)
Was habe ich falsch gemacht? oder anders gefragt: Wer kann mir bei der Konfiguration helfen und die Email Versendung auf dem Ubuntuserver erfolgreich zustande zu bringen?
P.S ich hatte gegoogelt aber nichts passendes gefunden.