Maybe you could fix it?

Heh. That's a good suggestion... ;-)



Some of the threads on this list are insane. It would take far less time and effort to simply edit the 2-3 lines of code and recompile than to argue technical minutia day after day and get nothing done.

Given that you know the character limit is 5000, here's what would have been a more productive approach:

1. Grep sources for 5000. Notice that courier/submit.C looks relevant.
2. Change "line.readline(cin, 5000)" to whatever you want.
3. Recompile. Test. Ask Sam if there are any hidden gotchas to this.

If you don't want to do this with every new version, then come up with a patch that allows the maximum line length to be configurable and submit it. Sam apparently does not regard this problem important enough to fix, but he does accept code from others.

Ok, this is a good middle-ground approach. I've been thinking the "right" way to handle these cases is to patch Courier such that it accepts inbound SMTP with any line length in the body, and suitably reformats it for delivering onward, should the inbound message be getting forwarded. In this scenario, I'm not sure I understand how to reformat the message in a safe way to make it rfc compliant. Sebastian, maybe you have suggestions? Or is there no safe way to do this?


In the mean time, Sam, if I work on a patch that adds a bofh variable for max line length, would you include it?

And I noticed today when upgrading to 20040502 that esmtpd seems to only accept ~1000 byte long lines; e.g., it's not even possible to enter text in excess of the RFC limit. Is this new? Does this invalidate this discussion?

best,
Jeff



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to