buildbot/bin/sendEmail issue

Maarten Hoes hoes.maarten at gmail.com
Sat Jan 24 01:21:53 PST 2015


Hi,


In an attempt to send email from a unix shell script, im trying to use the
buildbot/bin/sendEmail command. This seems like a better choice than just
using 'mailx' from some vm's commandline, as it would allow for logging
into an smtp server with gmail/google credentials, allowing for sending
emails to the list from user at gmail.com instead of
user at somevm.documentfoundation.org.

I am however running into the following issue :


$ buildbot/bin/sendEmail -o message-file=/tmp/message.txt -f
cppcheck.libreoffice at gmail.com -t cppcheck.libreoffice at gmail.com -s
smtp.gmail.com:587 -xu cppcheck.libreoffice at gmail.com -xp mypassword -u
"CppCheck Report update" -a /home/buildslave/cppcheck-report.log.gz -vvv


Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => Connecting to
smtp.gmail.com:587
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => My IP address is:
192.168.178.22
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => evalSMTPresponse() -
Checking for SMTP success or error status in the message: 220 mx.google.com
ESMTP u18sm5437602wjq.42 - gsmtp
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => evalSMTPresponse() - Found
SMTP success code: 220
Jan 24 10:09:41 linux sendEmail[3528]: SUCCESS => Received:     220
mx.google.com ESMTP u18sm5437602wjq.42 - gsmtp
Jan 24 10:09:41 linux sendEmail[3528]: INFO => Sending:         EHLO
linux.fritz.box
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => evalSMTPresponse() -
Checking for SMTP success or error status in the message: 250-mx.google.com
at your service, [80.100.229.127], 250-SIZE 35882577, 250-8BITMIME,
250-STARTTLS, 250-ENHANCEDSTATUSCODES, 250-PIPELINING, 250-CHUNKING, 250
SMTPUTF8
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => evalSMTPresponse() - Found
SMTP success code: 250
Jan 24 10:09:41 linux sendEmail[3528]: SUCCESS => Received:
250-mx.google.com at your service, [80.100.229.127], 250-SIZE 35882577,
250-8BITMIME, 250-STARTTLS, 250-ENHANCEDSTATUSCODES, 250-PIPELINING,
250-CHUNKING, 250 SMTPUTF8
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => The remote SMTP server
supports TLS :)
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => Starting TLS
Jan 24 10:09:41 linux sendEmail[3528]: INFO => Sending:         STARTTLS
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => evalSMTPresponse() -
Checking for SMTP success or error status in the message: 220 2.0.0 Ready
to start TLS
Jan 24 10:09:41 linux sendEmail[3528]: DEBUG => evalSMTPresponse() - Found
SMTP success code: 220
Jan 24 10:09:41 linux sendEmail[3528]: SUCCESS => Received:     220 2.0.0
Ready to start TLS
invalid SSL_version specified at
/usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 454



Does anyone that uses the sendEmail script have an idea on how to go about
fixing things ? It seems to be used at least by the tinderbox scripts, and
the crash test update scripts.



Thanks,



- Maarten.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150124/7fa55c0e/attachment.html>


More information about the LibreOffice mailing list