[SA-exim] Header Problem.
Paul Matthews
P.W.Matthews at swansea.ac.uk
Tue Dec 3 12:28:40 2002
Hi.
We are using the following with good results:
exim-4.10
sa-exim-2.2
Mail-SpamAssassin-2.43
We are getting one problem. One of our users has a large email list. A
quick look at the headers is around 496 recipients and the header size
is around 11756 bytes. It's failing to accept the message because it's
bigger than the 8192 buffer (in exim's header.c) ??
Here's the log entry:
2002-12-03 00:33:36 18J10J-000507-00 string too long in header_add:
X-SA-Exim-Rcpt-To: wales-jobs@swan.ac.uk, jasonalex_uk@yahoo.co.uk,
jbkrome@hotmail.com, allennicola ...
A quick hack of the sa-exim.c code (about line 274) to alter the header_add
bit from this:
header_add(' ', "X-SA-Exim-Rcpt-To: %s\n", rcptlist);
to this:
if (strlen(rcptlist)<8192)
header_add(' ', "X-SA-Exim-Rcpt-To: %s\n", rcptlist);
else
header_add(' ', "X-SA-Exim-Rcpt-To: WARNING - STRING TOO BIG\n");
I'm not really a C programmer ! This appears to accept the message OK. This
did work OK before using SA, etc...
Has anyone else come across this or have I (not) done something studid ?
Cheers,
Paul.
--------------------------------------------------------------------------
Paul Matthews Head of Networking/Postmaster
Library and Information Services,
University of Wales Swansea , Singleton Park, Swansea SA2 8PP, UK
email: P.W.Matthews@swansea.ac.uk postmaster@swansea.ac.uk
tel: +44 (0)1792 295107 mobile: 07802166089 fax: +44 (0)1792 295851
--------------------------------------------------------------------------
More information about the SA-Exim
mailing list