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

Bug #369735 reported by Laurent Monin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sendemail (Ubuntu)
New
Undecided
Unassigned

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.

Revision history for this message
Laurent Monin (zas) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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