Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
# macro definitions.
# Do not wrap!
# macro definitions.
# Do not wrap!
VDOMAINDATA = ${lookup{$domain}partial-lsearch{/etc/exim4/virtualdomains}{$value}}
VSENDERDOMAINDATA = ${lookup{$sender_address_domain}partial-lsearch{/etc/exim4/virtualdomains}{$value}}
WHITELIST = ${if match_domain{$domain}{+virtual_domains}\
VDOMAINDATA = ${lookup{$domain}partial-lsearch{/etc/exim4/virtualdomains}{$value}}
VSENDERDOMAINDATA = ${lookup{$sender_address_domain}partial-lsearch{/etc/exim4/virtualdomains}{$value}}
WHITELIST = ${if match_domain{$domain}{+virtual_domains}\
accept verify = certificate
accept hosts = +debianhosts
accept verify = certificate
accept hosts = +debianhosts
- discard condition = ${if <{$message_size}{256000}}
+ discard condition = ${if <{$message_size}{MAX_SCAN_SIZE}}
condition = ${if eq {$acl_m_prf}{blackhole}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
log_message = discarded surbl message for $recipients
condition = ${if eq {$acl_m_prf}{blackhole}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
log_message = discarded surbl message for $recipients
- deny condition = ${if <{$message_size}{256000}}
+ deny condition = ${if <{$message_size}{MAX_SCAN_SIZE}}
condition = ${if !eq {$acl_m_prf}{markup}}
condition = ${if !eq {$acl_m_prf}{PopconMail}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq {$acl_m_prf}{markup}}
condition = ${if !eq {$acl_m_prf}{PopconMail}}
set acl_m_srb = ${perl{surblspamcheck}}
log_message = $acl_m_srb
message = $acl_m_srb
log_message = $acl_m_srb
message = $acl_m_srb
- warn condition = ${if <{$message_size}{256000}}
+ warn condition = ${if <{$message_size}{MAX_SCAN_SIZE}}
condition = ${if eq {$acl_m_prf}{markup}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
condition = ${if eq {$acl_m_prf}{markup}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
<%- end -%>
<%- if @heavy -%>
<%- end -%>
<%- if @heavy -%>
- discard condition = ${if <{$message_size}{256000}}
+ discard condition = ${if <{$message_size}{MAX_SCAN_SIZE}}
condition = ${if eq {$acl_m_prf}{blackhole}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
log_message = discarded surbl message for $recipients
condition = ${if eq {$acl_m_prf}{blackhole}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
log_message = discarded surbl message for $recipients
- deny condition = ${if <{$message_size}{256000}}
+ deny condition = ${if <{$message_size}{MAX_SCAN_SIZE}}
condition = ${if !eq {$acl_m_prf}{markup}}
condition = ${if !eq {$acl_m_prf}{PopconMail}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq {$acl_m_prf}{markup}}
condition = ${if !eq {$acl_m_prf}{PopconMail}}
set acl_m_srb = ${perl{surblspamcheck}}
log_message = $acl_m_srb
message = $acl_m_srb
log_message = $acl_m_srb
message = $acl_m_srb
- warn condition = ${if <{$message_size}{256000}}
+ warn condition = ${if <{$message_size}{MAX_SCAN_SIZE}}
condition = ${if eq {$acl_m_prf}{markup}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
condition = ${if eq {$acl_m_prf}{markup}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
!authenticated = *
!verify = certificate
!hosts = +debianhosts
!authenticated = *
!verify = certificate
!hosts = +debianhosts
- condition = ${if <{$message_size}{256000}}
+ condition = ${if <{$message_size}{MAX_SCAN_SIZE}}
spam = pkg_user : true
condition = ${if >{$spam_score_int}{59}}
spam = pkg_user : true
condition = ${if >{$spam_score_int}{59}}