Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!EU.net!Germany.EU.net!gomel.knirsch.de!knobel.knirsch.de!knobel.knirsch.de!andreas From: andreas@knobel.knirsch.de (Andreas Klemm) Newsgroups: comp.os.386bsd.questions Subject: Re: WANTED: smail-3.1.28 for FreeBSD Date: 17 Jun 1994 12:04:55 GMT Organization: $HOME, D-41469 Neuss Lines: 102 Message-ID: <2ts3hp$2u4@knobel.knirsch.de> References: <2tq3at$mr2@blkbox.blkbox.COM> NNTP-Posting-Host: knobel.knirsch.de X-Newsreader: TIN [version 1.2 PL2] John A. Perry (perry@blkbox.COM) wrote: : I have tried and tried to configure sendmail to work on my site. Please : don't tell me to purchase the Nutshell book on sendmail. I have it and : I'm still confused. I had a helping hand and no nutshell book, so I'm fortunately not confused ;-) : What I have NO problem with is smail-3.1.28. I have : used it and it works well for me. Has anyone out there compiled it for : FreeBSD 1.1? If so, can I get a copy? If not the executable can I get the : modified sources? Please help as sendmail is about to kill me. And now it's smail that you doesn't get configured and compiled ?! ;-) : All I want : to do is set up my system as a UUCP site. The default sendmail.cf : distributed with FreeBSD 1.1 does not understand UUCP. I went and got : sendmail from Berkeley so I could look at the sample *.cf files. I used : the one entitled uucpproto.cf. I can now get UUCP to work but ALL local : mail is now attempting to go to me "smarthost" instead of getting : delivered locally. As you can see, this is driving me nuts. I had problem's to, when using the uucpproto.mc in the sendmail source tree ;-) But I got a nicely working .mc file via e-mail. Now you get it via News and everything should be ok ;-) You need the usr.sbin source tree. Then you go into the sendmail/cf/ tree ... Make a directory obj. mkdir obj Take this as an example ``yourname.mc'' file #----------------------------------------------------------------------- divert(-1) # # This is the prototype for a configuration that only supports UUCP. # include(`../m4/cf.m4') VERSIONID(`yourname.mc 1.1') # I f you didn't use bsd4.4, then sendmail gets an incorrect # define for the local mailer ! Then the local delivery problems # happen, as described by you !!! OSTYPE(bsd4.4) FEATURE(mailertable) FEATURE(use_cw_file) # This is important, if you don't use name services, i.e. running # sendmail via uucp and smarthost (the one who deliveres everything) FEATURE(nodns) FEATURE(notsticky) define(`confUSERDB_SPEC', /etc/userdb.db)dnl define(`confME_TOO', True)dnl define(`confMIME_FORMAT_ERRORS', False)dnl MAILER(local)dnl MAILER(smtp)dnl define(`UUCP_MAX_SIZE', 1000000)dnl # Maximale Nachrichtengroesse 1MB MAILER(uucp)dnl define(`SMART_HOST', uucp-uudom:gomel)dnl ^^^^^------- This is the name of your UUCP smart host to which you are connected. SITECONFIG(uucp.yourname, yourname, U)dnl <--- yourname is your machines nodename #---------------------------------------------------------------------- In the siteconfig directory create a file uucp.yourname In this file you list the machines to which you have active uucp/mail connection. Unknown addresses are routet to your smarthost .... siteconfig/uucp.yourname: #---------------------------------------------------------------------- SITE(nodename_of_your_smarthost) #---------------------------------------------------------------------- Then go again into the cf directory with the mc (master config) files and do a make yourname.cf After that you find in obj/yourname.cf a very fine uucp sendmail.cf file. Copy this to /etc/sendmail.cf You do not need to create a frozen config file since sendmail on FreeBSd 1.1 isn't compiled with that option turned on. That should do the trick ! Best regards Andreas /// -- Andreas Klemm /\/\____ Wiechers & Partner Datentechnik GmbH andreas@knobel.knirsch.de ___/\/\/ andreas@wupmon.wup.de (Unix Support)