Re: [exim] How to disable spamassassin for outgoing messages…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: pencho kuncho
Date:  
À: exim-users@exim.org
Sujet: Re: [exim] How to disable spamassassin for outgoing messages?
Hi,

    Sorry about that. 


      Yes, my config is close to default. But i think there is other problem. I want to get report scores in header of messages. So, when i set in exim  this config, spamd hangs 100% cpu:  


- 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

If I set this:

- warn    message   = X-Spam_score: $spam_score\n\
-                                    X-Spam_score_int: $spam_score_int\n\
-                                    X-Spam_bar: $spam_bar
-                condition = ${if <{$message_size}{100k}{1}{0}}
-                      spam = mail:true


everything is fine. But then i don't have spam report in mail header.  I was thinking if stop checking outgoing mails, this will help me. Now, i'm not sure. Even i set


- accept authenticated = *
- accept hosts = +trusted_hosts

this will not help for spamd hangs.

    Thanks.