Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


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@gmail.com instead of
user@somevm.documentfoundation.org.

I am however running into the following issue :


$ buildbot/bin/sendEmail -o message-file=/tmp/message.txt -f
cppcheck.libreoffice@gmail.com -t cppcheck.libreoffice@gmail.com -s
smtp.gmail.com:587 -xu cppcheck.libreoffice@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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.