Solved: exim4 smarthost error A TLS packet with unexpected length was received

Bug #1007231 reported by Nigel Pegram
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnutls13 (Ubuntu)

Bug Description

Only started in the last 2-3 days, exim stops delivering mail to smarthost. Logs have error: "A TLS packet with unexpected length was received"

Same symptoms on two servers delivering mail to smarthost. Ubuntu 12.04 LTS.

Simple solution:

Create file "00_localmacros" in /etc/exim4/conf.d/main

Insert the following two lines into the above file:


As root, run dpkg-reconfigure exim4-config
(you don't need to change anything)

Then it just works.

More info: for me, both servers were using as smarthosts, but from the info on the web, it seems wider than iinet.

Revision history for this message
Matt Joyce (matt-joyce) wrote :

This workaround also worked for me, also with iinet.
exim4 v4.72-6+squeeze2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.