Autor: Peter Velan Fecha: A: exim users Asunto: Re: [exim] different spam levels on Spam Assassin
am 01.10.2009 17:55 schrieb Jonathan Gilpin: > Does this mean all messages are scanned ? Is there way to specify
> which messages are scanned and not scanned?
Set a custom variable like ...
acl_m_runsa = yes
... and then, as the connection data (and later on the wohle message)
propagates through the various acl-sections, you set (or reset) this
variable to your needs.
Finally in acl_smtp_data (my name for this section is
"acl_check_content") you include this variable in condition statement
like ...
# here's the "acl_smtp_data" part
acl_check_content:
...
...
warn message = X-Spam-Score: $spam_score ($spam_bar)
condition = ${if < {$message_size}{750k} }
condition = ${if eq {$acl_m_runsa} {yes} }
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is new
spam = 100:true
#
warn message = X-Spam-Report: $spam_report
condition = ${if < {$message_size}{750k} }
condition = ${if eq {$acl_m_runsa} {yes} }
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is new