flint@cutmcvax.cs.curtin.edu.au (Daniel Baldoni) (03/22/91)
G'day folks. Recently, a couple of users have asked that people send them information and/or general help regarding sendmail. I know exactly how they must have been feeling - I'm a novice systems administrator who's trying to implement a mail-policy requested by another member of staff. I'd like somebody to POST an address where such information/help can be found (I'm sure the information itself would be far too large <grin>). Anybody willing to volunteer to maintain a monthly FAQ for this newsgroup? Preferrably somebody who knows exactly what they're doing that is. Thanks for any feedback on this. -- Daniel Baldoni --------------------------------------------+---------------------------------- Phone: +61-9-351-7667 | School of Computing Science, InterNet: flint@cutmcvax.cs.curtin.edu.au | Curtin University of Technology, UUCP: I have absolutely NO idea! | GPO Box U1987, ARPA: flint%cutmcvax.cs.curtin.edu.au | Perth, ... @uunet.UU.NET | Western Australia, 6001 --------------------------------------------+---------------------------------- "Any time there's something so ridiculously dangerous that no rational human being would even consider trying it, they send for me" - Belgarion, "King of the Murgos" by David Eddings
rickert@mp.cs.niu.edu (Neil Rickert) (03/22/91)
In article <flint.669609240@cutmcvax.cs.curtin.edu.au> flint@cutmcvax.cs.curtin.edu.au (Daniel Baldoni) writes: > >Recently, a couple of users have asked that people send them information >and/or general help regarding sendmail. I know exactly how they must have OK. Here are the basic sources of information on sendmail. (But I bet you don't like my answer). Stage 1: The way to get started is with the man pages. They don't tell you much about setting things up, but if you have a sendmail that "sort of" works, they tell you about the various options. Admittedly some of the options won't make sense at this stage. Stage 2: Read the Sendmail Operations manual. It may be a little heavy for bedtime reading, but there is a lot there. You won't understand it all either. But it will explain some of the basic parts of 'sendmail.cf' such as the definition of macros and classes. You will probably be able to make some simple configuration changes, although you may be a little nervous about what you are doing. Stage 3: Pick up a book on compilers, or on computer languages, or on SNOBOL. The basic rewrite rulesets in 'sendmail.cf' are somewhat reminiscent of the BNF language of productions used to define computer languages. Familiarity with the pattern matching of SNOBOL can give you a good feel for what is going on. Stage 4: The definitive document on sendmail is the source code. Armed with that, and the 'grep' command, you can usually work out what is happening. >Anybody willing to volunteer to maintain a monthly FAQ for this newsgroup? >Preferrably somebody who knows exactly what they're doing that is. I am not sure you can find a volunteer for an FAQ. The questions are pretty diverse, so an FAQ might not be all that useful. But a number of people watch this newsgroup, and try to step in with help where needed. If you stay tuned to the newsgroup you might learn a lot, even if you don't understand all that is discussed. And, best of all, this is not a very noisy group. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science <rickert@cs.niu.edu> Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940
davidg%aegis.or.jp@kyoto-u.ac.jp (Dave McLane) (03/23/91)
rickert@mp.cs.niu.edu (Neil Rickert) writes: > Stage 1: The way to get started is with the man pages. They don't tell you > .... > Stage 4: The definitive document on sendmail is the source code. Armed with > that, and the 'grep' command, you can usually work out what is happening. I have done all the steps mentioned except the last as I don't have the source code and have a brief but useful tutorial and can now read the login of sendmail.cf(s) that came with my ISC UNIX. But it really hasn't helped me do what I want to do which is to take all the mail that is not local and send it to a smart-host by UUCP. This is what the current WAFFLE-on-DOS does but even though I have bangpath addressed mail working, I'll be darned if I can figure out how to make *all* non-local mail to a smart-host by UUCP. I suppose after I know how to make it do it, it will seem like a trivial question but right now I have tried everything I know how. If anyone has a sample sendmail.cf that does this, could they send it to me? Thanks in advance, --Dave McLane <davidg%aegis.or.jp@kyoto-u.ac.jp> ==== The Aegis Society ============================================= Minami Hirao 1-6, Imazato The content and process of Nagaokakyo-shi, Kyoto-fu, 617 Japan international/cultural Tel: +81-75-951-1168 Fax: +81-75-957-1087 communication. ====================================================================
rickert@mp.cs.niu.edu (Neil Rickert) (03/23/91)
In article <s2uaZ7w163w@aegis.or.jp> davidg%aegis.or.jp@kyoto-u.ac.jp (Dave McLane) writes: > >I have done all the steps mentioned except the last as I don't have >the source code and have a brief but useful tutorial and can now >read the login of sendmail.cf(s) that came with my ISC UNIX. But it >really hasn't helped me do what I want to do which is to take all >the mail that is not local and send it to a smart-host by UUCP. In ruleset 0, after you have disposed of local mail, you probably need something like: R$+ $#UUCP $@smart-host $:$1 You may need to do some experimenting as to the placement of this, and if you have more than one UUCP mailer, you will have to decide which to use. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science <rickert@cs.niu.edu> Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940
hacker@vela.acs.oakland.edu (Thomas J. Hacker) (03/29/91)
In article <1991Mar23.131016.5743@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes: >In article <s2uaZ7w163w@aegis.or.jp> davidg%aegis.or.jp@kyoto-u.ac.jp (Dave McLane) writes: >> >>I have done all the steps mentioned except the last as I don't have >>the source code and have a brief but useful tutorial and can now >>read the login of sendmail.cf(s) that came with my ISC UNIX. But it >>really hasn't helped me do what I want to do which is to take all >>the mail that is not local and send it to a smart-host by UUCP. > There's a SUPER good book that describes sendmail.cf in all its goriness (or does it clearly) as well as many other arcana of unix system administration. It's called UNIX System Administration Handbook by Evi Nemeth, Garth Synder, and Scott Seebass It's from Prentice Hall and it's ISBN is: 0-13-933441-6 It's the clearest book I've ever seen on "real" unix administration: (i.e. it assumes you're on the Internet!!) -Tom Thomas Hacker "Criticism is something we can avoid easily - by saying Systems Programmer nothing, doing nothing, and begin nothing" - Aristotle Oakland University, Rochester Mich (313) 370-4358 hacker@vela.acs.oakland.edu HACKER@OAKLAND uunet!umich!vela!hacker