Closed Bug 166172 Opened 22 years ago Closed 20 years ago

dolog.pl sends bare LFs

Categories

(Webtools Graveyard :: Bonsai, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: cls)

References

()

Details

(Whiteboard: [fixed on cls-bonsai-20041001-branch])

Attachments

(1 file, 1 obsolete file)

When setting up Bonsai using the Qmail MTA, any CVS checkins resulted in
dolog.pl failing when it attempted to send its checkin mail. Qmail rejects the
email due to receiving only LF characters as line endings from the dolog.pl
program. It directs the user to a page describing the problem (see URL).

The solution to this problem is to replace all \n characters with \r\n (ie. all
LFs with CRLF pairs). I'll affix a patch in a sec.
Proposed fix (works for me!)
assign to patch author
Assignee: tara → ajmawer
Attachment #97510 - Flags: review?(tara)
The attached patch has undoubtably bitrotted -- if I make an up-to-date patch is
someone willing to handle review and checkin? (I don't have cvs access)
Attached patch use Mail::MailerSplinter Review
We already depend upon Mail::Mailer for sending the hook mail so we might as
well use it for dolog.pl as well.  Mail::Mailer::smtp uses Net::SMTP which uses
Net::Cmd->datasend which automatically converts LF to CRLF.
Assignee: ajmawer → cls
Attachment #97510 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #97510 - Flags: review?(tara)
OS: FreeBSD → All
Hardware: PC → All
Whiteboard: [fixed on cls-bonsai-20041001-branch]
Attachment #161550 - Flags: review?(erik)
Attachment #161550 - Flags: review?(erik) → review+
Patch has been checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: