On 08/01/2010 14:21, Stefan Onken wrote:
> Hello,
>
> I have some problems with getting a lot of entries in the panic log:
>
> 2010-01-08 14:54:09 1NTE6T-0004SH-87 == u...@domain
> R=mysql_user T=local_mysql_delivery_dovecot defer (-25): Failed to expand
> headers_add or headers_remove: error in expression evaluation: expecting
> number or opening parenthesis (after processing "")
> 2010-01-08 14:54:09 1NTAYL-0003pm-Dr == u...@domain
> R=mysql_user T=local_mysql_delivery_dovecot defer (-25): Failed to expand
> headers_add or headers_remove: error in expression evaluation: expecting
> number or opening parenthesis (after processing "")
>
>
> if I understand this message correctly it seems to be a problem with
> "headers_add" or "headers_remove" which are used in my config (based on
> http://struction.de/projects/HOWTO_VirtualMail_Exim-MySQL-Spamassassin-ClamAV-Dovecot/config/exim/exim.conf).
>
> My config looks like: http://pastebin.com/m1ecc57ae
>
> a full config can be downloaded here:
> http://www.stonki.de/fileadmin/files/exim4/exim4.conf
>
> any idea what causes the problem? Thank you!

The error message states that it's expecting either a a number or an 
opening parenthesis after headers_add. Yours starts with a double 
quotation mark:

headers_add   = "X-Spam-Threshold

You can't have the email header:

"X-Spam-Threshold: foo

Remove the surrounding double quotes and that will probably sort that 
particular problem.

-- 
Mike Cardwell    : UK based IT Consultant, LAMP developer, Linux admin
Cardwell IT Ltd. : UK Company - http://cardwellit.com/       #06920226
Technical Blog   : Tech Blog  - https://secure.grepular.com/blog/
Spamalyser       : Spam Tool  - http://spamalyser.com/

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to