Jay Lee wrote:
> Lindsay Haisley wrote:
> > I just had an email receipt from a vendor from which I'd just made
> > an online purchase rejected by Courier with the following:
> >
> > "534 Message header size, or recipient list, exceeds policy limit."
> >
> > Apparently I need to bump this limit, but looking at the BOFH and
> > Inbound ESMTP settings in webadmin I don't see where it can be set.
> > Where do I go to change this policy?
> >
>
> "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! :)
--
Bowie
-------------------------------------------------------------------------
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