From e22f1ee5203faf0f33abf02b92cb0a0d3f30a801 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 16 Feb 2006 16:36:09 -0500
Subject: [PATCH] Updates mail module
---
config/exim4/exim4.conf.template | 35 +++++++++++++++++++----------------
1 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/config/exim4/exim4.conf.template b/config/exim4/exim4.conf.template
index ac9ad56..20bdcba 100644
--- a/config/exim4/exim4.conf.template
+++ b/config/exim4/exim4.conf.template
@@ -126,8 +126,11 @@
domains = +local_domains
require verify = sender
+
+ # Whitelist
+
- # Blacklist management
+ # Blacklist
deny senders = ${lookup mysql {SELECT DISTINCT address FROM MYSQL_BLACKTABLE WHERE '${quote_mysql:$sender_address}' LIKE address \
AND (recipient = '' OR recipient = '${quote_mysql:$domain}' OR recipient = '${quote_mysql:$local_part}@${quote_mysql:$domain}') \
AND active = '1' AND server_id = 'MAILSERVER_ID'}{$value}}
@@ -159,11 +162,11 @@
acl_check_helo:
accept hosts = +relay_from_hosts
- # If the HELO pretend to be this host
- deny condition = ${if or { \
- {eq {${lc:$sender_helo_name}}{MAILSERVER_HOSTNAME}} \
- {eq {${lc:$sender_helo_name}}{MAILSERVER_IP}} \
- } {true}{false} }
+ # If the HELO pretend to be this host
+ deny condition = ${if or { \
+ {eq {${lc:$sender_helo_name}}{MAILSERVER_HOSTNAME}} \
+ {eq {${lc:$sender_helo_name}}{MAILSERVER_IP}} \
+ } {true}{false} }
# by default we accept
accept
@@ -182,9 +185,9 @@
warn message = X-SA-Report: $spam_report
spam = nobody:true
-
condition = ${if >{$spam_score_int}{0}{true}{false}}
- warn message = X-SA-Status: Yes
+
+ warn message = X-SA-Status: Yes
spam = nobody:true
condition = ${if >{$spam_score_int}{50}{true}{false}}
@@ -261,7 +264,7 @@
# allow_fail
# allow_defer
# data = ${lookup{$local_part}lsearch{/etc/aliases}}
-# user = exim
+# user = exim
# file_transport = address_file
# pipe_transport = address_pipe
@@ -347,14 +350,14 @@
transport = autoresponder_transport
unseen
-cc_router:
- driver = redirect
- data = ${lookup mysql {SELECT cc FROM MYSQL_EMAILTABLE WHERE email=CONCAT('${quote_mysql:$local_part}','@','${quote_mysql:$domain}')}{$value}}
- unseen
+# cc_router:
+# driver = redirect
+# data = ${lookup mysql {SELECT cc FROM MYSQL_EMAILTABLE WHERE email=CONCAT('${quote_mysql:$local_part}','@','${quote_mysql:$domain}')}{$value}}
+# unseen
-forward_router:
- driver = redirect
- data = ${lookup mysql {SELECT forward FROM MYSQL_EMAILTABLE WHERE email=CONCAT('${quote_mysql:$local_part}','@','${quote_mysql:$domain}') AND forward != ''}{$value}}
+# forward_router:
+# driver = redirect
+# data = ${lookup mysql {SELECT forward FROM MYSQL_EMAILTABLE WHERE email=CONCAT('${quote_mysql:$local_part}','@','${quote_mysql:$domain}') AND forward != ''}{$value}}
local_mailbox_router:
driver = accept
--
Gitblit v1.9.1