[exim] How to disable spamassassin for outgoing messages?

Góra strony
Delete this message
Reply to this message
Autor: pencho kuncho
Data:  
Dla: exim-users@exim.org
Temat: [exim] How to disable spamassassin for outgoing messages?
Hi,
How can i disable spamassassin for outgoing messages? I'll post my acl for spamassassin:
domainlist local_domains = domain.com
acl_check_data:
warn    message   = X-Spam_score: $spam_score\n\                                  X-Spam_score_int: $spam_score_int\n\+                                  X-Spam_bar: $spam_bar                  spam = mail:true
warn    message   = X-Spam_report: $spam_report           condition = ${if <{$message_size}{100k}{1}{0}}
                 spam = mail:true
 
I read that i should put "hosts = !localhost :" before spamassassin acl , but without success. All mails are scanned. :(

Thanks.