It may not be the whole (or indeed any part of) the problem, but ... On Mon, 19 Dec 2005, otubo wrote:
> Hi fellowship! > > I having some trouble. I am using exim4, spamassassin and > squirrelmail. When I disable the spamassassin scanning at the exim4.conf > my browser keep thinking less than 13 seconds, but when I enable the > scanning my browser takes more than a minute to send the email. > > I´m calling the SA scanning from my acl_check_data section. The part > of the code is right below: > > warn > spam = spamd:true > message = X-Spam_score: $spam_score\n\ > X-Spam_score_int: $spam_score_int\n\ > X-Spam_bar: $spam_bar > condition = ${if <{$message_size}{200K}{yes}{no}} Exim ACLs are evaluated from top to bottom, in order, and only as far as necessary. So rewrite that as warn condition = ${if <{$message_size}{200K}{yes}{no}} spam = spamd:true message = X-Spam_score: $spam_score\n\ X-Spam_score_int: $spam_score_int\n\ X-Spam_bar: $spam_bar > warn > spam = spamd > message = X-Spam_flag: YES > condition = ${if <{$message_size}{200K}{yes}{no}} and similarly in that one. HTH, Richard