[exim] 'spam' ACL and add_header: exim or SA?

Top Page
Delete this message
Reply to this message
Author: Marco Gaiarin
Date:  
To: exim-users
Subject: [exim] 'spam' ACL and add_header: exim or SA?

I've added a simple 'spam' ACL:

  warn
    spam = debian-spamd:true


and on SA 'local.cf':

rewrite_header Subject [SPAM]
add_header spam Flag _YESNOCAPS_
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_
autolearn=_AUTOLEARN_ version=_VERSION_
add_header all Level _STARS(*)_
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_
add_header all Report _REPORT_

spamassasassin get called (i see that on syslog):

Sep 11 22:53:48 eraldo spamd[11765]: spamd: result: . -3 - AWL,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL scantime=14.7,size=6377,user=debian-spamd,uid=114,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=40426,mid=<dtfacc-e67.ln1@???>,rmid=<CtKlNKgHk_L.A.mrB.K7z8VB@bendel>,autolearn=ham autolearn_force=no

but no header get added.


I have to add 'add_header' line to exim acl? Dose not suffices

-- 
  I poveri debbono smetterla di lamentarsi della pagliuzza negli occhi dei
  ricchi avendo una trave nel culo!    (Paolo Rossi, in collegamento da
        Bologna con la trasmissione MARKETTE, imitando Berlusconi)