On Tue, 2005-04-05 at 16:14 -0600, Jesse Norell wrote:
> 
> > I don't know if there is a standard limit on header values,
> > but the database model in dbmail should maybe be altered to adjust
> > for this in the future.
> 
> IIRC, there is absolutely no limit on a header length..  There are limits
> for some specific headers, and there are line length limits/guidelines,
> but with folding whitespace in use, there is no limit to total length.
> So it's more a question of what is the practical limit dbmail should use
> for cached headers (and it simply doesn't cache values if above that limit).

Yes it does:

dbmail/lmtpd[29839]: dbpgsql.c, db_query: Error executing query [INSERT
INTO dbmail_headervalue (headername_id, physmessage_id, headervalue)
VALUES (23,3612,'a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
h=received:message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole;
 
b=NHvYPHzaPDu3ThkTc+qw5jYjbCcWnHojOqH8/HTNzMW+E7ZOHX1Itrn3LfiL3veTN4t/BlPG1KqoERtakpttrt5SOglQ/1plGcP6cF+Ud5ehhrYGtywP0LBG3toxCj/+LuapwPd8e/7TKsokyl3Vx3X8iEuQANROV/NQQMynfU0=')]
 : [ERROR: value too long for type character varying(255) ]


--
Robert Voje



Reply via email to