mit den einstellungen ging es zu 100%
hier der output vom ersten befehl (mit tls=yes)
Code: Alles auswählen
Nov 06 14:43:26 raspberrypi sendemail[12432]: Message input complete.
Nov 06 14:43:26 raspberrypi sendemail[12432]: DEBUG => Connecting to smtp.web.de:25
Nov 06 14:43:26 raspberrypi sendemail[12432]: DEBUG => My IP address is: 192.168.15.211
Nov 06 14:43:26 raspberrypi sendemail[12432]: SUCCESS => Received: 220 web.de (mrweb001) Nemesis ESMTP Service ready
Nov 06 14:43:26 raspberrypi sendemail[12432]: INFO => Sending: EHLO raspberrypi
Nov 06 14:43:26 raspberrypi sendemail[12432]: SUCCESS => Received: 250-web.de Hello raspberrypi [93.204.222.249], 250-SIZE 69920427, 250-AUTH LOGIN PLAIN, 250 STARTTLS
Nov 06 14:43:26 raspberrypi sendemail[12432]: INFO => Sending: STARTTLS
Nov 06 14:43:26 raspberrypi sendemail[12432]: SUCCESS => Received: 220 OK
invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 332
hier der zweite befehl (mit tls=no)
Code: Alles auswählen
Reading message body from STDIN because the '-m' option was not used.
If you are manually typing in a message:
- First line must be received within 60 seconds.
- End manual input with a CTRL-D on its own line.
test
Nov 06 14:48:24 raspberrypi sendemail[13484]: Message input complete.
Nov 06 14:48:24 raspberrypi sendemail[13484]: DEBUG => Connecting to smtp.web.de:25
Nov 06 14:48:25 raspberrypi sendemail[13484]: DEBUG => My IP address is: 192.168.15.211
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 220 web.de (mrweb003) Nemesis ESMTP Service ready
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending: EHLO raspberrypi
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 250-web.de Hello raspberrypi [93.204.222.249], 250-SIZE 69920427, 250-AUTH LOGIN PLAIN, 250 STARTTLS
Nov 06 14:48:25 raspberrypi sendemail[13484]: DEBUG => SMTP-AUTH: Using LOGIN authentication method
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending: AUTH LOGIN
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 334 VXNlcm5hbWU6
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending: Yl9mbHVlZ2dl
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 334 UGFzc3dvcmQ6
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending: VmVzcGFQWDEzOSE=
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 235 Authentication succeeded
Nov 06 14:48:25 raspberrypi sendemail[13484]: DEBUG => User authentication was successful (Method: LOGIN)
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending: MAIL FROM:<mein_name@web.de>
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 250 Requested mail action okay, completed
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending: RCPT TO:<irgendjemand@gmx.de>
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 250 OK
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending: DATA
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 354 Start mail input; end with <CRLF>.<CRLF>
Nov 06 14:48:25 raspberrypi sendemail[13484]: INFO => Sending message body
Nov 06 14:48:25 raspberrypi sendemail[13484]: Setting content-type: text/plain
Nov 06 14:48:25 raspberrypi sendemail[13484]: SUCCESS => Received: 250 Requested mail action okay, completed, id=0Llncm-1SwfoP16Yq-00ZSjk
Nov 06 14:48:25 raspberrypi sendemail[13484]: Email was sent successfully! From: <mein_name@web.de> To: <irgendjemand@gmx.de> Subject: [test] Server: [smtp.web.de:25]
wie man sehen kann kommt die mail mit tls=no an!!!
das ist ja schon mal was.
edit: wenn ich mit den befehl mit dem attribut -m "test!" eingebe dann kommt:
was muss ich jetzt ändern damit das auch wieder automatisch passiert (cron)?