On 05/08/2012 04:39 AM, Phil Pennock wrote:
What's the ACL logic involved?  The relevant stanzas from your
configuration file would be useful to see here.

Hi Phil,
I'm not sure I understand what you mean by the ACL logic, I thought the "My relevant exim configuration" on my previous message would be enough. Anyway, I post here the complete acl_check_data spamassassin part, let me know if you refer to something else.

  # add the spam score to all messages.
  warn    message = X-Spam-Score: $spam_score\n\
                    X-Spam-Score_int: $spam_score_int\n\
                    X-Spam-Bar: $spam_bar
                spam = Debian-exim:true

  # if spam score higher than 4.5 set Status flag
  warn    message = X-Spam-Status: Yes\n\
                    X-Spam-Flag: Yes
                spam = Debian-exim:true
                condition = ${if >{$spam_score_int}{45}{true}{false}}

  # if spam higher than 0, add spam report
  warn    message = X-Spam-Report: $spam_report
                spam = Debian-exim:true
                condition = ${if >{$spam_score_int}{0}{true}{false}}

  # if spam score higher than 10 deny message
  deny    message = This message scored $spam_score spam points.
                spam = Debian-exim:true
                condition = ${if >{$spam_score_int}{100}{true}{false}}


I suspect that the spam() call is failing, because it's not getting a
response within the timeout (two minutes, hardcoded), but you're setting
the headers in a different ACL, so that the failure isn't being caught.

spamassassin is not timing out, it takes less than a few seconds for the message to go through and I don't see any error from exim part.

                                Nuno

--
http://aeminium.org/nuno/

--
## 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