--- SpamBlockerTechnology-Version-4.1.exim.conf.txt.orig 2012-02-13 18:03:15.619666818 +0100
+++ /etc/exim.conf 2012-02-18 15:45:33.095466016 +0100
@@ -57,10 +57,10 @@
# CONFIGURATION STARTS HERE
#EDIT#1:
-# primary_hostname =
+primary_hostname = xxxxxxxxxxxxxxx
#EDIT#2-CLAMAV:
-# av_scanner = clamd:/var/run/clamav/clamd
+av_scanner = clamd:/tmp/clamd.socket
#EDIT#3:
# qualify_domain =
@@ -81,7 +81,7 @@
local_from_check = false
#EDIT#9:
-message_size_limit = 20M
+message_size_limit = 70M
smtp_receive_timeout = 5m
smtp_accept_max = 100
message_body_visible = 3000
@@ -136,7 +136,7 @@
hostlist whitelist_hosts_ip = /etc/virtual/whitelist_hosts_ip
#EDIT#15:
-#domainlist skip_av_domains = lsearch;/etc/virtual/skip_av_domains
+domainlist skip_av_domains = lsearch;/etc/virtual/skip_av_domains
#EDIT#16:
hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : 127.0.0.1
@@ -244,8 +244,8 @@
# condition = ${if match{$sender_helo_name}{\N\.home$\N}}
#EDIT#28:
- # warn domains = +skip_av_domains
- # set acl_m0 = $tod_epoch
+ warn domains = +skip_av_domains
+ set acl_m0 = $tod_epoch
#EDIT#29:
deny domains = !+local_domains
@@ -319,12 +319,14 @@
!authenticated = *
dnslists = \
cbl.abuseat.org : \
- dnsbl.njabl.org : \
bl.spamcop.net : \
dnsbl.ahbl.org : \
combined.rbl.msrbl.net : \
- b.barracudacentral.org : \
zen.spamhaus.org : \
+ dul.dnsbl.sorbs.net : \
+ combined.njabl.org : \
+ bhnc.njabl.org : \
+ psbl.surriel.com : \
hostkarma.junkemailfilter.com=127.0.0.2
#EDIT#42:
@@ -366,27 +368,27 @@
#EDIT#46:
## accept without checking if in skip_av_domains
- # accept condition =${if and {{def:acl_m0}{def:acl_m0}} {true}{false}}
+ accept condition =${if and {{def:acl_m0}{def:acl_m0}} {true}{false}}
## deny if email contains malformed MIME header
- # deny message = This message contains malformed MIME (malformed_MIME:$demime_reason)
- # demime = *
- # condition = ${if >{$demime_errorlevel}{2}{1}{0}}
+ deny message = This message contains malformed MIME (malformed_MIME:$demime_reason)
+ demime = *
+ condition = ${if >{$demime_errorlevel}{2}{1}{0}}
## deny if email containing virus or other harmful content
- # deny message = This message contains a virus or other harmful content (virus_in_message:$malware_name)
- # demime = *
- # malware = *
+ deny message = This message contains a virus or other harmful content (virus_in_message:$malware_name)
+ demime = *
+ malware = *
## deny if email contains an attachment of type we don't accept.
- # deny message = This message contains an attachment of a type which we do not accept (attachment_not_allow:.$found_extension)
- # demime = bat:com:pif:prf:scr:vbs:html
+ deny message = This message contains an attachment of a type which we do not accept (attachment_not_allow:.$found_extension)
+ demime = bat:com:pif:prf:scr:vbs:html
## Accept but put warning into headers if message over 1000k
- # warn message = X-Antivirus-Scanner: Skipped scanning; size over 1000K. You should use an Antivirus Scanner
- # condition = ${if >={$message_size}{1000k} {1}{0}}
+ warn message = X-Antivirus-Scanner: Skipped scanning; size over 1000K. You should use an Antivirus Scanner
+ condition = ${if >={$message_size}{1000k} {1}{0}}
- # warn message = X-Antivirus-Scanner: Seems clean. You should still use an Antivirus Scanner
+ warn message = X-Antivirus-Scanner: Seems clean. You should still use an Antivirus Scanner
## The end of the acl_check_message acl (ClamAV)
## Do NOT comment out the line below or all messages will be denied.
@@ -438,19 +440,19 @@
#DIRECTORS CONFIGURATION
#EDIT#50:
-# spamcheck_director:
-# driver = accept
-# condition = "${if and { \
-# {!def:authenticated_id} \
-# {!def:h_X-Spam-Flag:} \
-# {!eq {$received_protocol}{spam-scanned}} \
-# {!eq {$received_protocol}{local}} \
-# {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
-# {<{$message_size}{100k}} \
-# } {1}{0}}"
-# retry_use_local_part
-# transport = spamcheck
-# no_verify
+ spamcheck_director:
+ driver = accept
+ condition = "${if and { \
+ {!def:authenticated_id} \
+ {!def:h_X-Spam-Flag:} \
+ {!eq {$received_protocol}{spam-scanned}} \
+ {!eq {$received_protocol}{local}} \
+ {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
+ {<{$message_size}{100k}} \
+ } {1}{0}}"
+ retry_use_local_part
+ transport = spamcheck
+ no_verify
majordomo_aliases:
driver = redirect
@@ -691,6 +693,12 @@
#COMMENT#61:
remote_smtp:
driver = smtp
+ interface = 89.163.177.50
+ dkim_domain = $sender_address_domain
+ dkim_selector = x
+ dkim_private_key = ${if exists{/etc/virtual/$sender_address_domain/dkim.private.key}{/etc/virtual/$sender_address_domain/dkim.private.key}{0}}
+ dkim_canon = relaxed
+ dkim_strict = 0
#EDIT#62:
address_pipe: