home *** CD-ROM | disk | FTP | other *** search
- ##################################################################
- ##### SENDMAIL CONFIGURATION FILE UK-1.4
- #####
- ##### Copyright Jim Crammond, Heriot-Watt University. Feb. 1986.
- #####
- ##### This configuration file maybe be freely distributed,
- ##### provided no profit is gained by doing so.
- ##################################################################
- ##### Edited by R.M.King for use over SLIP
- ##### at Southampton University
- ##################################################################
-
- # offical site domain name
- DJecs.soton.ac.uk
- # offical host domain name
- Dj$w
- # my name
- DnMAILER-DAEMON
- # UNIX header format
- DlFrom $g $d remote from $U
- # delimiter (operator) characters (note '~' has been added)
- Do.:%@!^=/[]~
- # format of a total name
- Dq$?x$x <$g>$|$g$.
- #Dq <$g>
- # SMTP login message
- De$j Sendmail $v/$V ready at $b
- # location of alias file
- OA/etc/aliases
- # default delivery mode (deliver in background)
- Odbackground
- # mail to me too (needed for multihost sites)
- Om
- # (don't) connect to "expensive" mailers
- Oc
- # temporary file mode
- OF0644
- # default GID
- Og1
- # location of help file
- OH/usr/lib/sendmail.hf
- # log level
- OL9
- # default messages to old style
- Oo
- # send mail failure headers to user 'nameserver':
- OPnameserver
- # queue directory
- OQ/usr/spool/mqueue
- # read timeout -- violates protocols
- Or2h
- # status file
- OS/usr/sendmail.st
- # queue up everything before starting transmission
- # Os
- # ignore nameserver errors
- #OI
- # default timeout interval
- OT3w/9d
- # time zone names (V6 only)
- # OtGMT,BST
- # default UID
- Ou1
- # wizard's password
- # OWz3GvK.dPUxieQ
- # load averages at which to start queuing/refuse connections
- Ox16
- OX20
- ### Message precedences ###
- Pfirst-class=0
- Pspecial-delivery=100
- Pjunk=-100
- ### Trusted users ###
- Troot
- Tdaemon
- Tuucp
- Tmail
- ### Format of headers ###
- H?F?From: $q
- H?D?Date: $a
- H?M?Message-Id: <$p.$t@$j>
- H?F?Resent-From: $q
- H?D?Resent-Date: $a
- H?M?Resent-Message-Id: <$p.$t@$j>
- HSubject:
- H?R?Received: $?sfrom $s by $j; $b$.
- H?V?Via: $?s$s; $b$.
-
- ###############################################
- # Ruleset 0 -- Select mailer to be used #
- ###############################################
- S0
- # strip local domain name(s)
- R$+@$+ $:$>15$1@$2
- # local mail
- R$- $#local$:$1 local mail
- R$-.$- $#local$:$1.$2 local mail
- R$-.$-.$- $#local$:$1.$2.$3 local mail
- R$-.$-.$-.$- $#local$:$1.$2.$3.$4 local mail
- R~$- $#local$:$1 local mail
- #R$- $#ether$@whirligig$:$1 local mail - maybe aliased
- #R$-.$- $#ether$@whirligig$:$1.$2 added to handle F.Bloggs
- #R$-.$-.$- $#ether$@whirligig$:$1.$2.$3 added to handle F.A.Bloggs
- #R$-.$-.$-.$- $#ether$@whirligig$:$1.$2.$3.$4 added to handle F.A.C.Bloggs
- #R~$- $#ether$@whirligig$:$1 local mail - no aliasing
- #
- # convert domain address into "<address>host.network" triple
- # we would insist on .$=T, but let mail server work this out.
- R$+@$+ $:$>16$1@$2 routing and address conversion
- # select mailer
- R<$+>$-.ether $#ether$@$2$:$1 local ethernet mail
- R<$+>$-.local $#local$:$1 local mail
- # anything else with an '@' in is an error
- R$+@$+ $#error$:Domain Unknown
- # anything else - e.g. filenames, pipes etc goes to local mailer
- R$+ $#local$:$1 local
-
- ##########################################
- # Ruleset 3 -- Name Canonicalisation #
- ##########################################
- S3
- # handle special cases
- R$- $@$1 return "user"
- R~$- $@~$1 return "~ user"
- R<> $@@ turn null into magic token
- # basic textual canonicalisation
- R$*<$*>$* $2 basic RFC 822 parsing
- R$+%$+ $1@$2 convert '%'s to '@'s
- R$+@$+@$+ $1%$2@$3 then reduce to only one '@'
-
- ###########################################
- # Ruleset 15 -- local domain handling #
- ###########################################
- #
- # This rule strips the domain part from local addresses
- # and passes the local part back into ruleset 3
- S15
- #R$+@$J $>3$1 strip local domain
- #R$+@$w $@$>15$1@$J
-
- #############################
- # Ruleset 16 -- routing #
- #############################
- S16
- R$+@$+ $:$>17$1@$2
- R<$+@$+> $@$>16$1@whirligig.ecs.soton.ac.uk
-
- ######################################
- # Ruleset 17 -- channel matching #
- ######################################
- #
- # aka. "Gob it at Gloriana"
- S17
- R$+@arm.ecs.soton.ac.uk $@<$1>arm.local
- R$+@arm.ecs.soton.ac $@<$1>arm.local
- R$+@arm.ecs.soton $@<$1>arm.local
- R$+@arm.ecs $@<$1>arm.local
- R$+@arm $@<$1>arm.local
- R$+@annex1.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex1.ecs.soton.ac $@<$1>arm.local
- R$+@annex1.ecs.soton $@<$1>arm.local
- R$+@annex1.ecs $@<$1>arm.local
- R$+@annex1 $@<$1>arm.local
- R$+@annex2.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex2.ecs.soton.ac $@<$1>arm.local
- R$+@annex2.ecs.soton $@<$1>arm.local
- R$+@annex2.ecs $@<$1>arm.local
- R$+@annex2 $@<$1>arm.local
- R$+@annex3.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex3.ecs.soton.ac $@<$1>arm.local
- R$+@annex3.ecs.soton $@<$1>arm.local
- R$+@annex3.ecs $@<$1>arm.local
- R$+@annex3 $@<$1>arm.local
- R$+@annex4.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex4.ecs.soton.ac $@<$1>arm.local
- R$+@annex4.ecs.soton $@<$1>arm.local
- R$+@annex4.ecs $@<$1>arm.local
- R$+@annex4 $@<$1>arm.local
- R$+@annex5.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex5.ecs.soton.ac $@<$1>arm.local
- R$+@annex5.ecs.soton $@<$1>arm.local
- R$+@annex5.ecs $@<$1>arm.local
- R$+@annex5 $@<$1>arm.local
- R$+@annex6.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex6.ecs.soton.ac $@<$1>arm.local
- R$+@annex6.ecs.soton $@<$1>arm.local
- R$+@annex6.ecs $@<$1>arm.local
- R$+@annex6 $@<$1>arm.local
- R$+@annex7.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex7.ecs.soton.ac $@<$1>arm.local
- R$+@annex7.ecs.soton $@<$1>arm.local
- R$+@annex7.ecs $@<$1>arm.local
- R$+@annex7 $@<$1>arm.local
- R$+@annex8.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex8.ecs.soton.ac $@<$1>arm.local
- R$+@annex8.ecs.soton $@<$1>arm.local
- R$+@annex8.ecs $@<$1>arm.local
- R$+@annex8 $@<$1>arm.local
- R$+@annex9.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex9.ecs.soton.ac $@<$1>arm.local
- R$+@annex9.ecs.soton $@<$1>arm.local
- R$+@annex9.ecs $@<$1>arm.local
- R$+@annex9 $@<$1>arm.local
- R$+@annex10.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex10.ecs.soton.ac $@<$1>arm.local
- R$+@annex10.ecs.soton $@<$1>arm.local
- R$+@annex10.ecs $@<$1>arm.local
- R$+@annex10 $@<$1>arm.local
- R$+@annex11.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex11.ecs.soton.ac $@<$1>arm.local
- R$+@annex11.ecs.soton $@<$1>arm.local
- R$+@annex11.ecs $@<$1>arm.local
- R$+@annex11 $@<$1>arm.local
- R$+@annex12.ecs.soton.ac.uk $@<$1>arm.local
- R$+@annex12.ecs.soton.ac $@<$1>arm.local
- R$+@annex12.ecs.soton $@<$1>arm.local
- R$+@annex12.ecs $@<$1>arm.local
- R$+@annex12 $@<$1>arm.local
- R$+@ecs.soton.ac.uk $@<$1>bright.ether
- R$+@whirligig.ecs.soton.ac.uk $@<$1>whirligig.ether
- R$+@$+ $@<$1@$2>whirligig.ether
- R$+ $@<$1>whirligig.ether
-
- ###############################################################################
- ##### Local and Program Mailer specification
- ###############################################################################
- # lsSDFMhPfnR
- Mlocal, P=/usr/bin/procmail, F=lsSDFMhPf, S=10, R=20,
- A=procmail -a $h -d $u
-
- Mbinmail, P=/bin/mail, F=nlsmFDR, S=20, R=20, A=mail -d $u
- Mprog, P=/bin/sh, F=nlsFDR, S=20, R=20, A=sh -c $u
- # Apparent uucp addresses are converted back to old style so that
- # ucb-mail can cope with replies.
- # Otherwise addresses are presented as fully qualified domain names.
- S20
- R@ MAILER-DAEMON errors to mailer-daemon
- R~$+ $1 remove '~' in To: line
- R$+@[$+] $@$1@[$2] domain literals
-
- ###############################################################################
- ##### Ethernet Mailer specification
- ###############################################################################
-
- Mether, P=[IPC], F=nsmFDMRuXC, S=21, R=21, A=IPC $h
- S21
- R$+@uk.ac.soton.ecs.$w $@$1@ecs.soton.ac.uk kludge for Linux Elm.
- R$+@$+ $@$1@$2 address ok
- R$+ $@$1@$J add local hostname
-
- Mprocmail, P=/usr/bin/procmail, F=mSDFMhun, S=11, R=21, A=procmail \-m $h $f $u
-
-