Re: [HACKERS] Truncation of email subject lines

2006-09-20 Thread Markus Schaber
Hi, Bruce,

Bruce Momjian wrote:

 Should I try hacking my mail reader to prevent this?  I think I see
 where it is happening in the code.

AFAICT, the wrapping of long header lines by indentation (as your mailer
seems to do) is RFC conformant, so I think it is majordomo who needs the
fix.

The only possible bug I could see is that your mailer implements the
indentation incorrectly (tabs vs. spaces, incorrect level of indentation
etc.).

Markus

-- 
Markus Schaber | Logical TrackingTracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



signature.asc
Description: OpenPGP digital signature


Re: [HACKERS] Truncation of email subject lines

2006-09-20 Thread Markus Schaber
Hi, Bruce,

Markus Schaber wrote:

 Should I try hacking my mail reader to prevent this?  I think I see
 where it is happening in the code.
 
 AFAICT, the wrapping of long header lines by indentation (as your mailer
 seems to do) is RFC conformant, so I think it is majordomo who needs the
 fix.
 
 The only possible bug I could see is that your mailer implements the
 indentation incorrectly (tabs vs. spaces, incorrect level of indentation
 etc.).

I just re-read http://www.faqs.org/rfcs/rfc2822.html and it seems that
the first character of the continuation has to be a space or tab, so I
assume that your mailer wors correctly.

Btw, header lines have a limit of 998 characters, so, for longer
subjects, wrapping them is a must. :-)

HTH,
Markus
-- 
Markus Schaber | Logical TrackingTracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



signature.asc
Description: OpenPGP digital signature


Re: [HACKERS] Truncation of email subject lines

2006-09-20 Thread Alvaro Herrera
Markus Schaber wrote:
 Hi, Bruce,
 
 Bruce Momjian wrote:
 
  Should I try hacking my mail reader to prevent this?  I think I see
  where it is happening in the code.
 
 AFAICT, the wrapping of long header lines by indentation (as your mailer
 seems to do) is RFC conformant, so I think it is majordomo who needs the
 fix.

Yep.  We were actually offered a patch on Majordomo's mailing list, a
couple of days ago.  It made a lot of sense to me -- it was kinda
obvious that without it, multiline stuff would be truncated.  What I'm
not sure about is why it would apply only to Subject: and not, say,
to Received:

Marc would need to install it to see if it fixes things.  (It may be
smarter to install a test list somewhere else, replicate then problem,
then apply to patch and prove that the problem no longer occurs; but I'm
rather short on time to do it myself)

-- 
Alvaro Herrerahttp://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


Re: [HACKERS] Truncation of email subject lines

2006-09-16 Thread Douglas McNaught
Bruce Momjian [EMAIL PROTECTED] writes:

 Should I try hacking my mail reader to prevent this?  I think I see
 where it is happening in the code.

I'd say it'd be better to hack MajorDomo to be RFC-compliant.  :)

-Doug

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings