[exim] rspamd add header ACL problem

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Renaud Allard
Datum:  
To: Exim Users
Betreff: [exim] rspamd add header ACL problem
Hello,

I recently installed rspamd instead of spamassassin, I have 2 ACLs for
it, the deny one which works and the fakereject one which doesn't work
at all. Is the name of the action supposed to be "add header" without
quotes and with a space? Note that the ACL were working with
spamassassin except they were based on spam_score_int.

#Deny incoming spam
deny
!hosts          = +relay_from_hosts
!sender_domains = +local_domains
condition       = ${if <={$message_size}{4096k}{1}{0}}
condition       = ${if eq{$spam_action}{reject}}
message         = Message rejected due to spam score: $spam_score
log_message     = $sender_host_address (for $acl_m_rcpt) has spam score:
$spam_score
spam            = nobody/defer_ok


#store spam
warn
!hosts          = +relay_from_hosts
!sender_domains = +local_domains
condition       = ${if <={$message_size}{4096k}{1}{0}}
condition       = ${if eq{$spam_action}{add header}}
message         = Message rejected due to spam score: $spam_score
log_message     = $sender_host_address (for $acl_m_rcpt) has spam score:
$spam_score
spam            = nobody/defer_ok
control         = fakereject/Message rejected due to spam score: $spam_score


thanks