home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
LYNXOS27
/
LYNXOS27.ZIP
/
sendmail.lyx
< prev
next >
Wrap
Text File
|
1995-04-30
|
9KB
|
345 lines
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
######################################################################
######################################################################
#####
##### SENDMAIL CONFIGURATION FILE
#####
##### built by mattes@figaro on Sat Feb 4 17:33:35 MET 1995
##### in /home/mattes/sendmail/cf/cf
#####
######################################################################
######################################################################
##### @(#)cf.m4 8.4 (Berkeley) 12/24/93 #####
##### @(#)clientproto.mc 8.2 (Berkeley) 8/21/93 #####
##### @(#)proto.m4 8.45 (Berkeley) 3/4/94 #####
# level 5 config file format
# V5
##################
# local info #
##################
CwLOCALHOST.DOMAIN
#IBM sendmail seems not to set $j...
Dj$w
##### @(#)nullrelay.m4 8.5 (Berkeley) 2/1/94 #####
#
# This configuration applies only to relay-only hosts. They send
# all mail to a hub without consideration of the address syntax
# or semantics, except for adding the hub qualification to the
# addresses.
#
# This is based on a prototype done by Bryan Costales of ICSI.
#
# hub host (to which all mail is sent)
DHPOPHOST.DOMAIN
# name from which everyone will appear to come
DMHUB.DOMAIN
# route-addr separators
C: : ,
######################
# Special macros #
######################
# SMTP initial login message
De$j Sendmail $v/$Z ready at $b
# UNIX initial From header format
DlFrom $g $d
# my name for error messages
DnMAILER-DAEMON
# delimiter (operator) characters
Do.:%@!^/[]
# format of a total name
Dq<$g>
# Configuration version number
DZ8.6.9
###############
# Options #
###############
# strip message body to 7 bits on input?
O7False
# no aliases here
# substitution for space (blank) characters
OB.
# default delivery mode
Odbackground
# error message header/file
#OE/etc/sendmail.oE
# error mode
Oem
# save Unix-style "From_" lines at top of header?
OfFalse
# temporary file mode
OF0600
# default GID
Og1
# maximum hop count
Oh17
# location of help file
OHc:\tcpip\etc\sendmail.hf
# ignore dots as terminators in incoming messages?
OiFalse
# Insist that the BIND name server be running to resolve names
OI
# deliver MIME-encapsulated error messages?
OjTrue
# open connection cache size
Ok2
# open connection cache timeout
OK5m
# use Errors-To: header?
OlFalse
# log level
OL9
# send to me too, even in an alias expansion?
OmFalse
# default messages to old style headers if no special punctuation?
OoTrue
# SMTP daemon options
#OOPort=esmtp
# privacy flags
Opauthwarnings
# who (if anyone) should get extra copies of error messages
#OPPostmaster
# slope of queue-only function
#Oq600000
# queue directory
OQc:\tcpip\etc\mqueue
# read timeout -- now OK per RFC 1123 section 5.3.2
#Ordatablock=10m
# queue up everything before forking?
OsTrue
# status file
OSc:\tcpip\etc\sendmail.st
# default message timeout interval
OT5d/4h
# time zone handling:
# if undefined, use system default
# if defined but null, use TZ envariable passed in
# if defined and non-null, use that info
#Ot
# default UID
Ou1
# deliver each queued job in a separate process?
OYFalse
# work class factor
#Oz1800
# work time factor
#OZ90000
###########################
# Message precedences #
###########################
Pfirst-class=0
Pspecial-delivery=100
Plist=-30
Pbulk=-60
Pjunk=-100
#####################
# Trusted users #
#####################
Troot
Tdaemon
Tuucp
#########################
# Format of headers #
#########################
H?P?Return-Path: $g
HReceived: $?sfrom $s $.$?_($_) $.by $j ($v/$Z)$?r with $r$. id $i$?u for $u$.; $b
H?D?Resent-Date: $a
H?D?Date: $a
H?F?Resent-From: $q
H?F?From: $q
H?x?Full-Name: $x
HSubject:
# HPosted-Date: $a
# H?l?Received-Date: $b
H?M?Resent-Message-Id: <$t.$i@$j>
H?M?Message-Id: <$t.$i@$j>
#
######################################################################
######################################################################
#####
##### REWRITING RULES
#####
######################################################################
######################################################################
###########################################
### Rulset 3 -- Name Canonicalization ###
###########################################
S3
# handle null input and list syntax (translate to <@> special case)
R$@ $@ <@>
R$*:;$* $@ $1 :; <@>
# basic textual canonicalization -- note RFC733 heuristic here
R$*<$*>$*<$*>$* $2$3<$4>$5 strip multiple <> <>
R$*<$*<$+>$*>$* <$3>$5 2-level <> nesting
R$*<>$* $@ <@> MAIL FROM:<> case
R$*<$+>$* $2 basic RFC821/822 parsing
# eliminate local host if present
R@ $=w $=: $+ $@ @ $M $2 $3 @thishost ...
R@ $+ $@ @ $1 @somewhere ...
R$+ @ $=w $@ $1 @ $M ...@thishost
R$+ @ $+ $@ $1 @ $2 ...@somewhere
R$=w ! $+ $@ $2 @ $M thishost!...
R$+ ! $+ $@ $1 ! $2 @ $M somewhere ! ...
R$+ % $=w $@ $1 @ $M ...%thishost
R$+ % $+ $@ $1 @ $2 ...%somewhere
R$+ $@ $1 @ $M unadorned user
######################################
### Ruleset 0 -- Parse Address ###
######################################
S0
R$*:;<@> $#error $@ USAGE $: "list:; syntax illegal for recipient addresses"
# pass everything else to a relay host
R$* $#nullclient $@ $H $: $1
#
######################################################################
######################################################################
#####
##### MAILER DEFINITIONS
#####
######################################################################
######################################################################
############################################
### Null Client Mailer specification ###
############################################
Mnullclient, P=[IPC], F=mDFMuCX, A=IPC $h
##################################################
### Local and Program Mailer specification ###
##################################################
##### @(#)local.m4 8.6 (Berkeley) 10/24/93 #####
#Mlocal, P=/bin/mail, F=lsDFMrmn, S=10, R=20/29,
# A=mail -d $u
Mlocal, P=c:/tcpip/bin/deliver.exe, F=lsDFMP, S=10, R=20,
A=deliver -Dc:/tcpip/spool/mail -M $u
Mprog, P=/bin/sh, F=lsDFMeu, S=10, R=20/29, D=$z:/,
A=sh -c $u
S10
R<@> $n errors to mailer-daemon
R$+ $: $>29 $1
S20
R$+ < @ $* > $: $1 strip host part
S29