Anand,
  Thanks for the clarification. I modified the source courier/submit.C
where I changed the constant headerlimit to 2000000 but the headercnt is
still at 1000. The 534 error message still appeared.

Where else do I need to change? Inside the routine there are a lot of 1000,
5000 hard coded in, and some places where headercnt will be reset to 0 and
triggered the 534 message. So, any other constants I need to modify as well?

Thanks again for the information.

Regards,
Fred



Quoting Anand Buddhdev <[EMAIL PROTECTED]>:

| On Mon, Jul 28, 2003 at 09:19:14AM +0800, Fred Ho wrote:
| 
| > Dear all,
| > I am using Courier 0.42.2.20030630 on Redhat Linux 7.3.
| > Recently we encountered 534 errors as followed:
| > 
| > 534 Message header size, or recipient list, exceeds policy limit. 
| > 
| > The extracted header is as followed and it looks like it is related to
| some
| > encoding problem at the header. 
| > My /etc/postfix/bofh has 
| > maxrcpts 1000
| > 
| > Please comment whether Courier can be tolerant in accepting such
| header, or
| > is the header from the other end's mailer breaking any RFC?
| > Thanks in advance for any information.
| 
| Courier has a compiled in limit of 100000 bytes on the total size of
| the header. This value is not run-time configurable, so you have to
| recompile if you want to change it. It's there as a precaution against
| excessively long headers which may be troublesome for the webmail
| and/or imap servers. The email that you have attached has a very long
| recipient list, which is exceeding this limit.
| 
| As far as I know, there is no RFC for limits on the header size, and
| the choice of a limit of 100000 bytes in courier is unique to courier.
| 
| [cut]
| 
| -- 
| Anand Buddhdev
| http://anand.org
| 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to