sendEmail with tls fails to authenticate on some servers (ie. postfix)

Bug #369735 reported by Laurent Monin on 2009-04-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sendemail (Ubuntu)

Bug Description

Binary package hint: sendemail

When using sendEmail -o tls=auto to connect to a postfix server, it may fails if username and password are very long:
base64_encode() wraps lines using CRLF but postfix AUTH PLAIN is waiting for unwrapped lines.

Postfix outputs an error message like:
ERROR => Received: 535 5.7.0 Error: authentication failed: bad protocol / cancel

This issue was reported to sendEmail maintainer on 2008/10/14, though no new release including the fix was made for now.
Here is a patch that fixes this issue.

Laurent Monin (zas) wrote :

Bug #187189 (marked as invalid) was perhaps related to this issue.

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

Other bug subscribers