Re: [exim] Help with error message

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim-users
Sujet: Re: [exim] Help with error message
On 08/01/2010 15:31, Stefan Onken wrote:

>> 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.
>
> not sure, because I changed it (before your reply) to:
>
> headers_add    = "X-Spam-Score: $header_X-Spam-Score:\n\
>                     X-Spam-Score-Int: $header_X-Spam-Score-Int:\n\
>                     X-Spam-Bar: $header_X-Spam-Bar:\n\
>                     X-Spam-Report: $header_X-Spam-Report:\n\
>                     X-Delivered-To: $original_local_part@$original_domain
> ($local_part@$domain)\n\
>                     X-Message-Age: $message_age\n\
>                     Subject: $h_subject"

>
> which is working fine (or I got you wrong).


Looking at your pastebin at http://pastebin.com/m1ecc57ae again, it
*looks* as though you're missing two closing curly brackets after
"UNKNOWN". I'm only guessing that by looking at your identation
though... I don't particularly want to go through something that large
checking that each curly bracket matches up...

-- 
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/