Arieh
Verified User
I want to scan forwarders on spam, I know of this article: http://help.directadmin.com/item.php?id=156
However where should the line be inserted in the latest config (/etc/exim.spamassassin.conf) ?
Default:
	
	
	
		
Should it be this?
	
	
	
		
				
			However where should the line be inserted in the latest config (/etc/exim.spamassassin.conf) ?
Default:
		Code:
	
	#1.2
# Spam Assassin
spamcheck_director:
  driver = accept
  condition = ${if !eq{$acl_m_spam_assassin_has_run}{1}}
  condition = "${if and { \
                        {!eq {$received_protocol}{spam-scanned}} \
                        {!eq {$received_protocol}{local}} \
                        {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
                        {<{$message_size}{500k}} \
                } {1}{0}}"
  retry_use_local_part
  headers_remove = X-Spam-Flag:X-Spam-Report:X-Spam-Status:X-Spam-Level:X-Spam-Checker-Version
  transport = spamcheck
  no_verifyShould it be this?
		Code:
	
	#1.2
# Spam Assassin
spamcheck_director:
  driver = accept
  condition = ${if !eq{$acl_m_spam_assassin_has_run}{1}}
  condition = "${if and { \
                        {!eq {$received_protocol}{spam-scanned}} \
                        [b]{!eq {}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/aliases}}}} \[/b]
                        {!eq {$received_protocol}{local}} \
                        {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
                        {<{$message_size}{500k}} \
                } {1}{0}}"
  retry_use_local_part
  headers_remove = X-Spam-Flag:X-Spam-Report:X-Spam-Status:X-Spam-Level:X-Spam-Checker-Version
  transport = spamcheck
  no_verify 
 
		 
 
		 Anyway I will configure spamassassin for the users who have forwarders which are forwarding a lot of spam.
 Anyway I will configure spamassassin for the users who have forwarders which are forwarding a lot of spam.