ssmtp -t doubles '\r\n' line endings

Bug #1178613 reported by Patrick Gerken
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ssmtp (Ubuntu)
New
Undecided
Unassigned

Bug Description

I use ssmtp with alot.
Alot normalizes mail endings according to rfc 3156.

One of these normalizations consists of converting all '\n' to '\r\n'
When such a message is passed to ssmtp, ssmtp magically doubles the line endings.
'\r\n' becomes '\r\n\r\n' whereas '\n' stays '\n'

So my mails have every '\r\n' line ending doubled. What I expected, was that the line endings do not get doubled.

➜ ~ lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04
➜ ~ apt-cache policy ssmtp
ssmtp:
  Installed: 2.64-7
  Candidate: 2.64-7
  Version table:
 *** 2.64-7 0
        500 http://de.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
        100 /var/lib/dpkg/status
➜ ~

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.