Viewing File: /usr/local/cpanel/etc/exim/acls/ACL_OUTGOING_SMTP_CHECKALL_BLOCK/outgoing_spam_scan
warn
condition = $acl_m_outbound_recipient
condition = ${if <={$message_size}{[% ACL_MAX_SPAM_SCAN_SIZE %]K}}
condition = ${if !eq{$acl_c_authenticated_local_user}{root}}
condition = ${if !match{$authenticated_id}{\N^__cpanel__service__auth__[^+%:@]+$\N}}
condition = ${perl{spamd_is_available}}
set acl_m_spam_scan_enabled = 1
deny
condition = $acl_m_outbound_recipient
condition = $acl_m_spam_scan_enabled
spam = ${if eq{$acl_m1}{}{[% ACL_EXIMSCANUSER %]}{$acl_m1}}/defer_ok
message = This message was classified as SPAM and may not be delivered
log_message = "SpamAssassin as ${if eq{$acl_m1}{}{[% ACL_EXIMSCANUSER %]}{$acl_m1}} detected OUTGOING smtp message as spam ($spam_score)"
warn
condition = $acl_m_outbound_recipient
condition = $acl_m_spam_scan_enabled
log_message = "SpamAssassin as ${if eq{$acl_m1}{}{[% ACL_EXIMSCANUSER %]}{$acl_m1}} detected OUTGOING smtp message as NOT spam ($spam_score)"
Back to Directory
File Manager