summaryrefslogtreecommitdiffabout
path: root/mc/trurl.mc
authorSergey Poznyakoff <gray@gnu.org.ua>2005-08-27 20:08:47 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2005-08-27 20:08:47 (GMT)
commitc8fbf0d9e89daf7caf5a584e0f5f30262de25121 (patch) (side-by-side diff)
tree59ddb9a36ba31524523f9d11b5e3580f2f25da6e /mc/trurl.mc
parente9f0b8f19d66af63ca25d55c812c71d11ad94d2a (diff)
downloadgsc-c8fbf0d9e89daf7caf5a584e0f5f30262de25121.tar.gz
gsc-c8fbf0d9e89daf7caf5a584e0f5f30262de25121.tar.bz2
Added to the repository
git-svn-id: file:///svnroot/gsc/trunk@97 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (limited to 'mc/trurl.mc') (more/less context) (ignore whitespace changes)
-rw-r--r--mc/trurl.mc84
1 files changed, 84 insertions, 0 deletions
diff --git a/mc/trurl.mc b/mc/trurl.mc
new file mode 100644
index 0000000..2f60cc0
--- a/dev/null
+++ b/mc/trurl.mc
@@ -0,0 +1,84 @@
+dnl * Sendmail configuration for trurl.gnu.org.ua
+
+divert(-1)
+
+VERSIONID(`$Id$')
+OSTYPE(linux)dnl
+
+define(`confCF_VERSION',`Trurl.gnu.org.ua $Revision$')
+
+# Additional header
+HOrganization: GNU.ORG.UA
+DUtrurl
+Cwtrurl
+
+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 server; $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',`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')
+
+DAEMON_OPTIONS(`Name=MTA,Addr=0.0.0.0')
+FEATURE(`no_default_msa')
+DAEMON_OPTIONS(`Port=587,Addr=127.0.0.1, Name=MSA, M=E')
+
+define(`STATUS_FILE', `/etc/mail/sendmail.st')
+
+FEATURE(use_cw_file)
+FEATURE(redirect)
+FEATURE(always_add_domain)
+FEATURE(access_db, hash -o /etc/mail/access -T<TMPF>)
+FEATURE(mailertable, hash -o /etc/mail/xroutes)
+FEATURE(domaintable, hash -o /etc/mail/domains)
+FEATURE(virtusertable, hash -o /etc/mail/virtusers)
+FEATURE(relay_hosts_only)
+FEATURE(blacklist_recipients)
+FEATURE(dnsbl, `rbl.maps.vix.com')
+FEATURE(dnsbl, `rbl.farlep.net')
+FEATURE(dnsbl, `dialup-rev.farlep.net')
+
+dnl * Mailers
+undefine(`LOCAL_MAILER_PATH')
+define(`LOCAL_MAILER_PATH', `/usr/local/libexec/mail.local')
+# Use mail.local --message-id-header=X-Mailutils-Message-Id in
+# /etc/mailutils.rc
+define(`LOCAL_MAILER_ARGS', `mail.local -xl -S %h/.filter.sv $u')
+
+MAILER(local)
+MAILER(smtp)
+
+dnl * Identification string for mail.local/Sieve log messages.ma
+LOCAL_CONFIG
+HX-Mailutils-Message-Id: $i$?u

Return to:

Send suggestions and report system problems to the System administrator.