2011:09:12-06:51:46 router pop3proxy[30715]: Database error: ERROR: value too long for type character varying(255)
2011:09:12-06:51:47 router pop3proxy[30715]: Can't insert mail uid 1315803048.M861026P30270.mail2 into database
2011:09:12-06:51:47 router pop3proxy[30715]: Prefetcher exception occurred
I fixed this by altering the tabe modified_header to store longer values:
ALTER TABLE modified_headers ALTER COLUMN value TYPE varchar(1000);
RFC 2822 section 3.5 says, that a message line (including header lines) may have up to 998 plus CRLF. So a length of 1000 characters seems to be more than enough. But header lines can be splitted to more than one line so even 1000 characters are not enough. Perhaps this field should be changed to somewhat like TEXT instead of varchar().
This thread was automatically locked due to age.