Hi, 

I am adding spamassassin headers to all messages by using 

warn
spam = Debian-exim:true
    add_header = X-CORP-Spam-Score: $spam_score ($spam_bar)
    add_header = X-CORP-Spam-Report: $spam_report
    log_message = spam score =  $spam_score


BUT, 

I am seeing failures when delivering to a host using postfix and amavisd
- who send me the helpful error message 

>  INVALID HEADER                                                               
>                                                                               
>  
>                                                                               
>                                                                               
>   Improper folded header field made up entirely of whitespace (char 20
>   hex):                                                                       
>          
>     X-CORP-Spam-Report: ...that system for details.\n \n
>     Content                                                                   
>                  
>     previ[...]                                                                
>                                                                               
>                   

I would like to add a condition so that the header is NOT added when
sending email is destined for the recipients on that host. 

Can I add a 

   hosts =  ! +no_spam_headers 

line ? 


Otherwise, how best to do this ? 


Thanks in advance. 

Kate Dawson
-- 
"The introduction of a coordinate system to geometry is an act of violence"

Attachment: signature.asc
Description: Digital signature

-- 
## List details at https://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