summaryrefslogtreecommitdiffabout
path: root/mc/relay1.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/relay1.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/relay1.mc') (more/less context) (ignore whitespace changes)
-rw-r--r--mc/relay1.mc47
1 files changed, 5 insertions, 42 deletions
diff --git a/mc/relay1.mc b/mc/relay1.mc
index 9148070..c56a7d3 100644
--- a/mc/relay1.mc
+++ b/mc/relay1.mc
@@ -12,46 +12,10 @@ HOrganization: Farlep-Internet
DUsun
Cwsun
-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')
-
-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',`256')
-define(`confCONNECTION_RATE_THROTTLE',`128')
-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(`confDEAD_LETTER_DROP', `/var/spool/mail/dead.letter')
-define(`confFALLBACK_MX',`relay1.farlep.net')
-
-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)
@@ -61,6 +25,8 @@ FEATURE(domaintable, hash -o /etc/mail/domains)
FEATURE(virtusertable, hash -o /etc/mail/virtusers)
FEATURE(relay_entire_domain)
FEATURE(blacklist_recipients)
+
+dnl * RBL configuration
FEATURE(dnsbl,`dialups.mail-abuse.org',` Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm')
FEATURE(dnsbl, `rbl.farlep.net', ` Stop SPAM from this host')
FEATURE(dnsbl, `dyn-rbl.farlep.net', ` E-Cards are not allowed to use SMTP')
@@ -115,9 +81,6 @@ Mlocal-sql, P=/usr/local/libexec/mail.local, F=lsDFMA5:/|@qSPfhn9, S=EnvFromL/Hd
LOCAL_RULESETS
-#SLocal_check_mail
-#R<> $#discard
-
SLocal_check_rcpt
# check address against various regex checks
R$* $: $>Parse0 $1

Return to:

Send suggestions and report system problems to the System administrator.