summaryrefslogtreecommitdiffabout
path: root/mc/relay2.mc
authorSergey Poznyakoff <gray@gnu.org.ua>2006-09-04 10:49:56 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2006-09-04 10:49:56 (GMT)
commit57b7c3772134579875bcff074e4ca6c74bb2fa76 (patch) (side-by-side diff)
treed92db86758344dbd034f7f82ebb64a87775644d1 /mc/relay2.mc
parent0efbd4a6a5519368d26ff9a29d94f856ea37e10f (diff)
downloadgsc-57b7c3772134579875bcff074e4ca6c74bb2fa76.tar.gz
gsc-57b7c3772134579875bcff074e4ca6c74bb2fa76.tar.bz2
Update
git-svn-id: file:///svnroot/gsc/trunk@220 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (limited to 'mc/relay2.mc') (more/less context) (ignore whitespace changes)
-rw-r--r--mc/relay2.mc42
1 files changed, 5 insertions, 37 deletions
diff --git a/mc/relay2.mc b/mc/relay2.mc
index d41ef15..4b864dc 100644
--- a/mc/relay2.mc
+++ b/mc/relay2.mc
@@ -12,44 +12,10 @@ HOrganization: ISP Farlep (Odessa)
DUtor
Cwtor
-dnl * To eliminate 8->7 bit base64 enconding
-define(`SMTP_MAILER_FLAGS',`8')
-define(`ALIAS_FILE', `/etc/mail/aliases')
-
-dnl * Do not reveal my version number
-define(`confRECEIVED_HEADER',`$?sfrom $s $.$?_($?s$|from $.$_) $.
- by $j$?r with $r$. id $i$?u
- for $u$.; $b')
-dnl * Also, disable HELP,VRFY,EXPN
-define(`HELP_FILE',`none')
-define(`confSMTP_LOGIN_MSG',`$j Sendmail; $b')
-define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,noetrn,needmailhelo')
-
-define(`confMAX_MESSAGE_SIZE',`5242880')
-define(`confMESSAGE_TIMEOUT',`7d/3d')
-define(`confTO_INITIAL', `5m')
-define(`confTO_IDENT', `25s')
-define(`confTO_HELO', `5m')
-define(`confTO_MAIL', `15m')
-define(`confTO_RCPT', `60m')
-define(`confTO_DATAINIT', `5m')
-define(`confTO_DATABLOCK',`30m')
-define(`confTO_DATAFINAL',`40m')
-define(`confTO_RSET', `5m')
-define(`confTO_QUIT', `2m')
-define(`confTO_MISC', `2m')
-define(`confTO_COMMAND', `30m')
-define(`confREFUSE_LA',`16')
-define(`confQUEUE_LA',`25')
-define(`confMAX_DAEMON_CHILDREN',`64')
-define(`confCONNECTION_RATE_THROTTLE',`64')
-define(`confCHECK_ALIASES',`False')
-define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
-define(`confFORWARD_PATH', `$z/.forward:$z/.forward.$w')
-define(`confTRY_NULL_MX_LIST')
-
-define(`STATUS_FILE', `/etc/mail/sendmail.st')
+dnl * Include common defaults
+include(common.mc)
+dnl * Features
FEATURE(use_cw_file)
FEATURE(redirect)
FEATURE(always_add_domain)
@@ -75,8 +41,10 @@ POPDIVERT
FEATURE(dnsbl, `rbl.farlep.net', `"Stop SPAM from this host"')
FEATURE(dnsbl, `bl.spamcop.net', `"Spam blocked see; http://spamcop.net/bl.shtml?"$&{client_addr}')
+dnl * Milter configuration
include(`milter.conf')
+dnl * Mailers
undefine(`LOCAL_MAILER_PATH')
define(`LOCAL_MAILER_PATH', `/usr/local/libexec/mail.local')
define(`LOCAL_MAILER_ARGS', `Mail -xt -S /home/%u/.Sieve $u')

Return to:

Send suggestions and report system problems to the System administrator.