Sam, what about making this a user-configurable setting in /etc/courier/esmtpd or some other config file?
On Fri, 2007-09-21 at 17:17 -0400, Bowie Bailey wrote: > > "Use the source Luke!" :-) It's hardcoded, can't remember exactly > > where but look at the list archives, I'm sure someone mentioned it > > before. By default it's 5000 bytes (which is much more than any email > > header should *ever* be. > > My users ran against this limit so often that the first thing I do with > all of my Courier installs is to squash it. > > In the source, go to courier/submit.C and find the second occurrence of > "headerlimit". > > That should take you to this line: > if (l > headerlimit || l > 5000) > > Change it to: > if (l > headerlimit) > > "headerlimit" is defined as 100000 farther up in the code. If this is > not enough, you've got serious problems! :) -- Lindsay Haisley | "In an open world, | PGP public key FMP Computer Services | who needs Windows | available at 512-259-1190 | or Gates" | http://pubkeys.fmp.com http://www.fmp.com | | ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
