138032Speterdivert(-1) 238032Speter# 3261370Sgshapiro# Copyright (c) 1998, 1999 Proofpoint, Inc. and its suppliers. 464562Sgshapiro# All rights reserved. 538032Speter# Copyright (c) 1983 Eric P. Allman. All rights reserved. 638032Speter# Copyright (c) 1988, 1993 738032Speter# The Regents of the University of California. All rights reserved. 838032Speter# 938032Speter# By using this file, you agree to the terms and conditions set 1038032Speter# forth in the LICENSE file which can be found at the top level of 1138032Speter# the sendmail distribution. 1238032Speter# 1338032Speter# 1438032Speter 1538032Speter# 1638032Speter# This machine has been decommissioned at Berkeley, and hence should 1738032Speter# not be considered to be tested. This file is provided as an example 1838032Speter# only, of how you might set up a fairly complex configuration. 1938032Speter# Ucbvax was our main relay (both SMTP and UUCP) for many years. 2038032Speter# At this point I recommend using `FEATURE(mailertable)' instead of 2138032Speter# `SITECONFIG' for routing of UUCP within your domain. 2238032Speter# 2338032Speter 2438032Speterdivert(0)dnl 25266711SgshapiroVERSIONID(`$Id: ucbvax.mc,v 8.15 2013-11-22 20:51:08 ca Exp $') 2638032SpeterOSTYPE(bsd4.3) 2738032SpeterDOMAIN(CS.Berkeley.EDU) 2838032SpeterMASQUERADE_AS(CS.Berkeley.EDU) 2938032SpeterMAILER(local) 3038032SpeterMAILER(smtp) 3138032SpeterMAILER(uucp) 3238032Speterundefine(`UUCP_RELAY')dnl 3338032Speter 3438032SpeterLOCAL_CONFIG 3538032SpeterDDBerkeley.EDU 3638032Speter 3738032Speter# names for which we act as a local forwarding agent 3838032SpeterCF CS 3938032SpeterFF/etc/sendmail.cw 4038032Speter 4138032Speter# local UUCP connections, and our local uucp name 4238032SpeterSITECONFIG(uucp.ucbvax, ucbvax, U) 4338032Speter 4438032Speter# remote UUCP connections, and the machine they are on 4538032SpeterSITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W) 4638032Speter 4738032SpeterSITECONFIG(uucp.cogsci, cogsci.Berkeley.EDU, X) 4838032Speter 4938032SpeterLOCAL_RULE_3 5038032Speter# map old UUCP names into Internet names 5138032SpeterUUCPSMTP(bellcore, bellcore.com) 5238032SpeterUUCPSMTP(decvax, decvax.dec.com) 5338032SpeterUUCPSMTP(decwrl, decwrl.dec.com) 5438032SpeterUUCPSMTP(hplabs, hplabs.hp.com) 5538032SpeterUUCPSMTP(lbl-csam, lbl-csam.arpa) 5638032SpeterUUCPSMTP(pur-ee, ecn.purdue.edu) 5738032SpeterUUCPSMTP(purdue, purdue.edu) 5838032SpeterUUCPSMTP(research, research.att.com) 5938032SpeterUUCPSMTP(sdcarl, sdcarl.ucsd.edu) 6038032SpeterUUCPSMTP(sdcsvax, sdcsvax.ucsd.edu) 6138032SpeterUUCPSMTP(ssyx, ssyx.ucsc.edu) 6238032SpeterUUCPSMTP(sun, sun.com) 6338032SpeterUUCPSMTP(ucdavis, ucdavis.ucdavis.edu) 6438032SpeterUUCPSMTP(ucivax, ics.uci.edu) 6538032SpeterUUCPSMTP(ucla-cs, cs.ucla.edu) 6638032SpeterUUCPSMTP(ucla-se, seas.ucla.edu) 6738032SpeterUUCPSMTP(ucsbcsl, ucsbcsl.ucsb.edu) 6838032SpeterUUCPSMTP(ucscc, c.ucsc.edu) 6938032SpeterUUCPSMTP(ucsd, ucsd.edu) 7038032SpeterUUCPSMTP(ucsfcgl, cgl.ucsf.edu) 7138032SpeterUUCPSMTP(unmvax, unmvax.cs.unm.edu) 7238032SpeterUUCPSMTP(uwvax, spool.cs.wisc.edu) 7338032Speter 7438032SpeterLOCAL_RULE_0 7538032Speter 7638032Speter# make sure we handle the local domain as absolute 7738032SpeterR$* < @ $* $D > $* $: $1 < @ $2 $D . > $3 7838032Speter 7938032Speter# handle names we forward for as though they were local, so we will use UDB 8038032SpeterR< @ $=F . $D . > : $* $@ $>7 $2 @here:... -> ... 8138032SpeterR< @ $D . > : $* $@ $>7 $1 @here:... -> ... 8238032SpeterR$* $=O $* < @ $=F . $D . > $@ $>7 $1 $2 $3 ...@here -> ... 8338032SpeterR$* $=O $* < @ $D . > $@ $>7 $1 $2 $3 ...@here -> ... 8438032Speter 8538032SpeterR$* < @ $=F . $D . > $#local $: $1 use UDB 8638032Speter 8738032Speter# handle local UUCP connections in the Berkeley.EDU domain 8838032SpeterR$+<@cnmat.$D . > $#uucp$@cnmat$:$1 8938032SpeterR$+<@cnmat.CS.$D . > $#uucp$@cnmat$:$1 9038032SpeterR$+<@craig.$D . > $#uucp$@craig$:$1 9138032SpeterR$+<@craig.CS.$D . > $#uucp$@craig$:$1 92