summaryrefslogtreecommitdiffabout
path: root/mc/relay1.mc
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-29 20:46:21 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-10-29 20:46:21 (GMT)
commit5bc3ba824d7bb548a5ed264a4b1366294f7abd2d (patch) (side-by-side diff)
treef6c10e9696a43b04696fec97821c337c9965ca3d /mc/relay1.mc
parentdf4a2a61ce0cde5190def22309e9807cb5a56ab0 (diff)
downloadgsc-5bc3ba824d7bb548a5ed264a4b1366294f7abd2d.tar.gz
gsc-5bc3ba824d7bb548a5ed264a4b1366294f7abd2d.tar.bz2
Improve gnupload.
* upload/gnupload: Allow user@download.gnu.org.ua as a target. Use canonical hostname (download.gnu.org.ua). Remove obsolete modules. * cvs/sv_logger: Remove. * mc: Remove. * fsf-move/fsf-move: Use `tar cf' to check for its presence. * cvs/sv_sync_www_schedule: Use logger * cvs/sv_www_loginfo: Likewise. * doc/gsc.texi: Update. git-svn-id: file:///svnroot/gsc/trunk@340 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (limited to 'mc/relay1.mc') (more/less context) (ignore whitespace changes)
-rw-r--r--mc/relay1.mc111
1 files changed, 0 insertions, 111 deletions
diff --git a/mc/relay1.mc b/mc/relay1.mc
deleted file mode 100644
index 042c5ce..0000000
--- a/mc/relay1.mc
+++ b/dev/null
@@ -1,111 +0,0 @@
-dnl * Sendmail configuration for Relay1
-
-divert(-1)
-
-VERSIONID(`$Id$')
-OSTYPE(linux)dnl
-
-define(`confCF_VERSION',`Relay1 $Revision$')
-
-LOCAL_CONFIG
-# Additional header
-HOrganization: Farlep-Internet
-DUsun
-Cwsun
-
-dnl * Include common defaults
-include(common.mc)
-
-dnl * Site-specific settings
-define(`confMAX_DAEMON_CHILDREN',`256')
-define(`confCONNECTION_RATE_THROTTLE',`128')
-
-dnl * Features
-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_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')
-
-PUSHDIVERT(8)
-# Allow all addresses from our dialup pool
-R$* $: $&{client_addr}
-R::ffff:$-.$-.$-.$- $: OKSOFAR
-R$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1.dialup-rev.farlep.net. $: OK $)
-R<?>OK $: OKSOFAR
-R<?>$* $@ OKSOFAR
-
-# Jebem ti dusu
-R$* $: $&{client_addr}
-R::ffff:$-.$-.$-.$- $: OKSOFAR
-R213.130.1.225 $@ OKSOFAR
-
-POPDIVERT
-
-FEATURE(dnsbl, `bl.spamcop.net', ` "Spam blocked; see http://spamcop.net/bl.shtml?"$&{client_addr}')
-
-include(`milter.conf')
-
-dnl * *******************************************************
-dnl * Defines for local mailer with quota checking
-dnl * Current mailbox quota is 5mB
-undefine(`LOCAL_MAILER_PATH')
-dnl undefine(`_DEF_LOCAL_MAILER_FLAGS')
-dnl define(`_DEF_LOCAL_MAILER_FLAGS', `lsDFMA5:/|@q')
-dnl define(`LOCAL_MAILER_FLAGS', `SPfhn9')
-
-define(`LOCAL_MAILER_PATH', `/usr/local/libexec/mail.local')
-define(`SQL_LOCAL_MAILER_PATH', `/usr/local/libexec/mail.local')
-define(`LOCAL_MAILER_ARGS', `mail -q /etc/mail/userquota -S /home/%u/.filter.scm $u')
-
-MAILER(local)
-
-dnl * Other mailers
-MAILER(smtp)
-
-dnl * Local configuration
-LOCAL_CONFIG
-F{Trusted_Hosts}/etc/mail/trusted_hosts
-FB/etc/mail/accounts
-Kdialup host -T<TEMP>
-Kgetpwnam user
-
-Mlocal-sql, P=/usr/local/libexec/mail.local, F=lsDFMA5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
- T=DNS/RFC822/X-Unix,
- A=mail.local -S /var/spool/filter/%u $u
-
-
-LOCAL_RULESETS
-
-SLocal_check_rcpt
-# check address against various regex checks
-R$* $: $>Parse0 $1
-R< $* > $: $1
-R$=B @ $m $@ $| $>"Local_check_allusers" $1
-R$=B @ $=m $#error $: "550 Intet slikt bruker"
-R$=B @ $=w $#error $: "550 Intet slikt bruker"
-
-SLocal_check_allusers
-# check IP address/sender name
-R$* $: $1:$&{client_addr}:$&f
-R$={Trusted_Hosts} $@ OK
-R$* $: ALL:$&{client_addr}:$&f
-R$={Trusted_Hosts} $@ OK
-# anything else is bogus
-R$* $#error $: "550 Ikke tilgjengelig"
-
-SLocal_localaddr
-R$+ $: $1 $| $(getpwnam $1 $: USER $)
-R$+ $| USER $: $>MailerToTriple < local-sql: $1 > $1
-R$* $: $1
-
-

Return to:

Send suggestions and report system problems to the System administrator.