Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendemail TLS Error - New error after of years OK - SMTP of Google #35

Open
edudiy opened this issue Mar 17, 2024 · 2 comments
Open

sendemail TLS Error - New error after of years OK - SMTP of Google #35

edudiy opened this issue Mar 17, 2024 · 2 comments

Comments

@edudiy
Copy link

edudiy commented Mar 17, 2024

Hello, thanks for your excellent job.

I'm spanish, from Tenerife ( Canary Island )

I'm trying send a email vía script using your program "sendemail" as always but today show this error:

imagen

INFO => Sending: STARTTLS
Mar 17 16:12:19 bttf2 sendemail[9496]: SUCCESS => Received: 220 2.0.0 Ready to start TLS
Mar 17 16:12:19 bttf2 sendemail[9496]: ERROR => TLS setup failed: SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

I had been searching for solution but I don't find it.

My script is the same from 4 years ago and the server hasn't new updates.

sendemail -f "Server <[email protected]>" -t [email protected] -s smtp.gmail.com:587 -o message-header=Reintento -u
"Nuevo Intento de Clave fallida" -m "$IP" -v -xu prueba -xp xxxzzzyyy -o tls=yes

I have reviewed the configuration of my account of Google and all OK.

Do you known as solve it ?

All my servers use your program for send emails.

Thanks for all.

@abhi-io
Copy link

abhi-io commented Jun 12, 2024

This worked for me

  1. uninstall sendemail
  2. apt install apt-transport-https libio-socket-inet6-perl -y
  3. curl 'http://ftp.cn.debian.org/debian/pool/main/s/sendemail/sendemail_1.56-5.2~bpo12+1_all.deb' -O
  4. dpkg -i sendemail_1.56-5.2~bpo12+1_all.deb

@kyle0r
Copy link

kyle0r commented Jul 17, 2024

@edudiy did you find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants