Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rochester.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!harvard!seismo!rochester!bukys From: bukys@rochester.UUCP (Liudvikas Bukys) Newsgroups: net.mail Subject: Re: Sendmail problems - HELP! Message-ID: <7603@rochester.UUCP> Date: Tue, 26-Mar-85 09:11:20 EST Article-I.D.: rocheste.7603 Posted: Tue Mar 26 09:11:20 1985 Date-Received: Fri, 29-Mar-85 03:10:48 EST References: <325@mnetor.UUCP> Organization: U. of Rochester, CS Dept. Lines: 225 Once, when I got tired of all the strange things my uucp-only neighbors would do to their addresses, I wrote a very stripped sendmail configuration file. *It is only useful to uucp-only sites.* It doesn't even '@' as special. Various versions of this have been in use in 3 or 4 of my uucp-only neighbors for over a year. Before anybody starts complaining that it is "wrong", in that it doesn't pass RFC822 around between systems, and doesn't even parse RFC822 addresses, let me just say that I already know. However, probably every sendmail configuration file around is "wrong" in some way. They all rewrite addresses (when they shouldn't). Most of them do not parse route-addresses right (they should). And so on... Meanwhile, here is a configuration file which behaves no worse than any I've seen, and is simple and relatively comprehensible. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cut here - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ############################################################ ############################################################ ##### ##### SENDMAIL CONFIGURATION FILE ##### ##### uucpeasy.cf -- reasonable uucp-only prototype ##### ##### Liudvikas Bukys ##### rochester!bukys (uucp) via allegra, decvax, seismo ##### bukys@rochester (arpa) ##### 26-Mar-85 ##### ############################################################ ############################################################ ############################################################ ### local info ############################################################ # domain # if your uucp name is different from `hostname`, put it here instead of $w. # (or if your uucp name has a prefix (like "ur-") but your `hostname` doesn't, # stick that prefix in front of the $w.) DD$w CD # version DVeasy-2.2 ########################## ### Special macros ### ########################## # my name DnMAILER-DAEMON # UNIX header format DlFrom $g $d # delimiter (operator) characters Do.:%@!^=/[] # format of a total name Dq$g$?x ($x)$. # my official hostname Dj$D.UUCP # SMTP login message De$j Sendmail $v/$V ready at $b ################### ### Options ### ################### # location of alias file OA/usr/lib/aliases # default delivery mode (deliver in background) Odbackground # (don't) connect to "expensive" mailers #Oc # temporary file mode OF0640 # default GID Og1 # location of help file OH/usr/lib/sendmail.hf # ignore dots in messages Oi # log level OL9 # default messages to old style Oo # queue directory OQ/usr/spool/mqueue # read timeout -- violates protocols Or2h # status file OS/usr/lib/sendmail.st # queue up everything before starting transmission Os # default timeout interval OT3d # time zone names (V6 only) OtEST,EDT # default UID Ou1 # wizard's password OWa/FjIfuGKXyc2 ############################### ### Message precedences ### ############################### Pfirst-class=0 Pspecial-delivery=100 Pjunk=-100 ######################### ### Trusted users ### ######################### Troot Tdaemon Tuucp ############################# ### Format of headers ### ############################# H?D?Date: $a H?F?From: $q H?x?Full-Name: $x HSubject: H?P?Return-Path: <$g> H?M?Message-Id: <$t.$i@$j> HReceived: $?sfrom $s $.by $j ($v/$V) id $i; $b ########################### ### Rewriting rules ### ########################### ################################ # Sender Field Pre-rewriting # ################################ S1 ################################### # Recipient Field Pre-rewriting # ################################### S2 ################################# # Final Output Post-rewriting # ################################# S4 ########################### # Name Canonicalization # ########################### S3 # handle "from:<>" special case R<> $@@ turn into magic token # basic textual canonicalization R$*<$+>$* $2 basic RFC821/822 parsing R$+ at $+ $1@$2 "at" -> "@" for RFC 822 R$+^$+ $1!$2 convert ^ to ! R$D!$+ $1 strip local host ######################## # Address Resolution # ######################## S0 # first make canonical R$+ $:$>3$1 make canonical # handle special cases..... R@ $#local$:MAILER-DAEMON handle <> form R$+!$+ $#uucp$@$1$:$2 handle site!user R$* $#local$:$1 handle anything else ############################################################ ############################################################ ##### ##### Local and Program Mailer specification ##### ############################################################ ############################################################ Mlocal, P=/bin/mail, F=rlsDFMmn, S=10, R=20, A=mail -d $u Mprog, P=/bin/csh, F=lsDFMe, S=10, R=20, A=csh -fc $u S10 R@ MAILER-DAEMON errors to mailer-daemon S20 ############################################################ ############################################################ ##### ##### UUCP Mailer specification ##### ############################################################ ############################################################ Muucp, P=/usr/bin/uux, F=sDFMhuU, S=13, R=23, M=100000, A=mail-to-uux - -r $h!rmail ($u) S13 R$* $:$D!$1 prepend my host S23 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cut here - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Liudvikas Bukys rochester!bukys (uucp) via allegra, decvax, seismo bukys@rochester (arpa)