Closed Bug 106405 Opened 23 years ago Closed 12 years ago

Mail (sendmail?) splits long URLs or lines

Categories

(Bugzilla :: Email Notifications, defect, P4)

2.14
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: martin.ellison, Unassigned)

References

()

Details

Attachments

(1 file)

Bugzilla's email notification splits long URLs, breaking them. 

This seems to be a sendmail 'feature'. There are other mailers such as mailx 
that don't cause this problem.
Bugzilla doesn't require sendmail.  It sounds like it's not our problem, unless
there's some option we can pass to prevent it.  We could certainly document any
fix.
Investigate and do whatever for 2.18.
Priority: -- → P4
Target Milestone: --- → Bugzilla 2.18
Changing default owner of Email Notifications component to JayPee, a.k.a.
J. Paul Reed (preed@sigkill.com).  Jake will be offline for a few months.
Assignee: jake → preed
These unloved bugs have been sitting untouched since June 2002 or longer.  If
nobody does anything else to them, they certainly won't make 2.18
Retargetting to 2.20.  If you really plan to push them right now, you might pull
them back in.
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
As preed is no longer actively working on Bugzilla (from what I know), I somehow
doubt that this bug will make it in for 2.20. :-) If I'm wrong, feel free to
take it back and re-target it. :-)
Assignee: preed → email-notifications
Target Milestone: Bugzilla 2.20 → ---
Oh, I've seen this! It happens to any really long line. I was trying to figure
out where it came from, the other day. It seems to add a "!" in there for no
reason, also. I thought it was perl doing it, but I maybe it's sendmail? 
Assignee: email-notifications → mkanat
Summary: Mail splits long URLs → Mail (sendmail?) splits long URLs or lines
QA Contact: mattyt-bugzilla → default-qa
Attached file Example of Wrapping
We are seeing something similar. Namely the change mail is wrapping URLs

This appears to be caused by the formatline call in BugMail.pm in 3.0.4:
sub FormatTriple {
    my ($a, $b, $c) = (@_);
    $^A = "";
    my $temp = formline << 'END', $a, $b, $c;
^>>>>>>>>>>>>>>>>>>|^<<<<<<<<<<<<<<<<<<<<<<<<|^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<~~
END
    ; # This semicolon appeases my emacs editor macros. :-)
    return $^A;
}

This appears to no longer be used in 3.1.x so is this fixed?
(In reply to comment #7)
> sub FormatTriple {

  That is only used in the diff table, which we *expect* to wrap things.

  This bug is about the fact that sendmail itself tends to wrap extremely long lines. I'm pretty sure it's sendmail and not Bugzilla.
Assignee: mkanat → email-notifications
Unless I miss something, this not a Bugzilla bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: