hi

On Wed, 15 Nov 2006, Bill Merriam wrote:

> I have noticed that "534 Message header size, or recipient list, exceeds
> policy limit." sometimes seem to start this happening.

You can fix this by applying the following patch to submit.C:

--- submit.C.orig       Tue Aug 29 23:22:48 2006
+++ submit.C    Tue Aug 29 23:23:14 2006
@@ -1426,7 +1426,7 @@
                        if (l && line[l-1] == '\r')
                                line.Chop();    // Strip trailing CR
                        l=line.GetLength() + header.GetLength();
-                       if (l > headerlimit || l > 5000)
+                       if (l > headerlimit )
                                headercnt=0;
                        if (headercnt == 0)     continue;
                        header += '\n';

The hardcoded 5000 chars limit is low and there're extra checks for the
total header length, so I don't think it should be there.
It was rejecting a lot of legit messages for me, so I've removed it.

-- 
rgds,
serge

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to