Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

EXIM (gnutls_handshake): A TLS packet with unexpected length was received.

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
5p1ke
Posts: 1
Joined: Mon Jan 23, 2017 10:55 pm

EXIM (gnutls_handshake): A TLS packet with unexpected length was received.
  • Quote

Post by 5p1ke » Mon Jan 23, 2017 11:21 pm

Hello community,
I need to configure receive/transmit emails via amocrm system - connect to my server via web interface. So I added settings:
Email: [email protected]
Password: xxxxxxxxx
IMAP: mail.mydomain.com (143 / STARTTLS)
SMTP: mail.mydomain.com (465 / TLS)

Before add this email to amocrm system it checks connection to the server: IMAP - ok, SMTP - fail. I had tried select different setting at SMTP field but it always fail.
Error in log: (gnutls_handshake): A TLS packet with unexpected length was received.

So I made some steps:
1. Generated valid certificate via letsencrypt.
2. Re-run dpkg-reconfigure exim4-config
3. Made some changes in exim config:

tls_advertise_hosts = *
#tls_certificate = /usr/local/vesta/ssl/certificate.crt
tls_certificate = /etc/exim4/ssl/certificate.crt ## letsencrypt

#tls_privatekey = /usr/local/vesta/ssl/certificate.key
tls_privatekey = /etc/exim4/ssl/certificate.key ## letsencrypt

tls_require_ciphers = NORMAL:%LATEST_RECORD_VERSION:-VERS-SSL3.0
tls_dhparam = /etc/exim4/ssl/dhparams.pem ## generated

Who else had a similar problem? Are there any ideas how to fix this?

OS: Ubuntu 14.04
Vesta: 0.9.8-17
Top

saosangmo
Posts: 20
Joined: Sun Sep 21, 2014 2:27 pm
Contact:
Contact saosangmo
Website Google+

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: EXIM (gnutls_handshake): A TLS packet with unexpected length was received.
  • Quote

Post by saosangmo » Tue Jun 22, 2021 6:13 pm

I also get the same issue. Please help me.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password