Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site princeton.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!mhuxl!ulysses!allegra!princeton!honey From: honey@princeton.UUCP (code 101) Newsgroups: net.mail,net.bugs.uucp Subject: sendmail configuration notes Message-ID: <1015@princeton.UUCP> Date: Thu, 6-Sep-84 22:49:30 EDT Article-I.D.: princeto.1015 Posted: Thu Sep 6 22:49:30 1984 Date-Received: Wed, 12-Sep-84 01:33:15 EDT Organization: Princeton Univ. EECS Lines: 59 I don't want to seem curmudgeonly here, but I get irritated by the headers that sendmail tacks on to my messages. The message I have in mind is the one I send, not one that is expanded (and sometimes perverted) by a smart mailer. With that in mind, here are the changes I made to princeton's sendmail.cf. Mix and match as you see fit. In the Header definition section, make the Received: header depend on the M flag (so that it can be turned off later). # HReceived: $?sfrom $s $.by $j ($v/$V) # id $i; $b # H?M?Received: $?sfrom $s $.by $j ($v/$V) id $i; $b In the local/program mailer section, eliminate the flags that request Date:, From:, and Message-Id: (and now, Received:) headers. # Mlocal, P=/bin/mail, F=rlsDFMmn, S=10, R=20, A=mail -d $u # Mprog, P=/bin/sh, F=lsDFMe, S=10, R=20, A=sh -c $u # Mlocal, P=/bin/mail, F=rlsmn, S=10, R=20, A=mail -d $u Mprog, P=/bin/sh, F=lse, S=10, R=20, A=sh -c $u In the uucp (flutter my heart!) mailer definition, terminate with extreme prejudice flags that request Date:, From:, and Message-Id: (and now Received:) headers. Get rid of the h and u flags, thereby enabling upper-to-lower case mapping of host and user names. (Anyone who mails to Princeton!Honey deserves what he gets, but he won't get it here.) Get rid of the size limit, which otherwise gets in your way at precisely the moment when it hurts most. # Muucp, P=/usr/bin/uux, F=sDFMhuU, S=13, R=23, M=100000, # Muucp, P=/usr/bin/uux, F=sU, S=13, R=23, My uux line is substantially changed, using a lot of honey danber- ism's: -b asks the remote uuxqt to return stdin (in this case the mail) to the requester if the remote execution fails, -a$f gives the address of the requester (relative to this site), -gA sets the grade of this transaction to A, so that this job is transmitted (and remotely executed) ahead of, e.g., rnews (for which I specify -gz in the sys file). Most versions of uucp can't handle -b and -a. 4.2bsd uucp understands the -g flag, but may not treat it quite right. (Hey, just between you and me, it's not clear that honey danber treats grades right.) Finally, I removed the -r flag, which requests that uux spool the work but not initiate a call. That was just plain nasty, Eric. # A=uux - -r $h!rmail ($u) # A=uux - -a$f -b -gA $h!rmail ($u) Say Gene, may I borrow your soapbox for a few lines? Thank you. I have here in my hand an envelope, on the back of which is scrawled "> 1 megabyte per day"; that's how many bytes will be saved if we all make these changes. And there may be bigger savings to come if I read the sendmail documentation correctly: we may be able to do away with unsightly headers altogether! Peter