4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] "Message header s...
FromSent OnAttachments
Bowie BaileySep 21, 2007 2:17 pm 
Lindsay HaisleySep 21, 2007 7:09 pm 
Sam VarshavchikSep 21, 2007 7:51 pm 
Alessandro VeselySep 22, 2007 5:48 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] "Message header size, or recipient list, exce eds policy limit"Actions...
From:Lindsay Haisley (fmou@fmp.com)
Date:Sep 21, 2007 7:09:50 pm
List:net.sourceforge.lists.courier-users

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! :)