Bug#793774: exim4-daemon-heavy: headers_remove items not expanding correct due limited buffer size

Andreas Metzler ametzler at bebt.de
Mon Jul 27 17:26:12 UTC 2015


On 2015-07-27 Christian Leonhardt <christian.leonhardt at dako.de> wrote:
> Package: exim4-daemon-heavy
> Version: 4.84-8
> Severity: normal

> Dear Maintainer,

> with the latest stable release of exim4 in Jessie my vexim2 installation (https://github.com/avleen/vexim2) is failing.
> The error is not reproducible with 4.80-7+deb7u1 from Wheezy.
> The bug is already known at the exim list (https://bugs.exim.org/show_bug.cgi?id=1533) and probably fixed.
> The problem occurs while expanding the following headers_remove item:

> headers_remove = ${if or { { <{$spam_score_int}{1} } \
> 	         { <{$spam_score_int}{${lookup mysql{select users.sa_tag * 10 from users,domains \
> 	           where localpart = '${quote_mysql:$local_part}' \
> 	           and domain = '${quote_mysql:$domain}' \
> 	           and users.on_spamassassin = 1 \
> 	           and users.domain_id=domains.domain_id}{$value}fail}} } \
> 	         { eq {0}{${lookup mysql{select users.sa_tag * 10 from users,domains \
> 	           where localpart = '${quote_mysql:$local_part}' \
> 	           and domain = '${quote_mysql:$domain}' \
> 	           and users.on_spamassassin = 0 \
> 	           and users.domain_id=domains.domain_id}{$value}fail}}} \
> 	       } {X-Spam-Score:X-Spam-Report} }

> At the moment my workaround is to use a shortened version of the above filter.
[...]

Hello,

short version: The headers_remove option takes a colon-separated list;
your line has a colon in it.  Either change the list-sep or double the
colon.

Longer version: https://bugs.exim.org/show_bug.cgi?id=1533#c12

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-exim4-maintainers mailing list