From owner-freebsd-questions Fri Apr 7 10:47:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stella.pyramus.com (stella.pyramus.com [206.129.206.3]) by hub.freebsd.org (Postfix) with ESMTP id 260B337B684 for ; Fri, 7 Apr 2000 10:47:17 -0700 (PDT) (envelope-from blake@pyramus.com) Received: from phil.pyramus.com (phil [206.129.206.2]) by stella.pyramus.com (8.9.3/8.9.3) with ESMTP id KAA04482; Fri, 7 Apr 2000 10:58:14 -0700 (PDT) (envelope-from blake@pyramus.com) Received: from phil.pyramus.com (phil.pyramus.com [206.129.206.2]) by phil.pyramus.com (8.10.0/8.10.0) with SMTP id e37HrrQ10534; Fri, 7 Apr 2000 10:53:53 -0700 (PDT) Date: Fri, 7 Apr 2000 10:53:50 -0700 (PDT) From: "Blake R. Swensen" To: David Ward Cc: "'questions@freebsd.org'" Subject: Re: SendMail 8.10.0 In-Reply-To: <018EFBB4FBD6D2119F7F00E0292282354C7453@exchange01.intelemedia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was able to install sendmail 8.10 on both 3.4-RELEASE and 2.1-RELEASE environments with very little problem. The only real hang-up was getting new sendmail.cf file to carry configurations over from the old versions. These I changed manually..... one piece of advice, from one NT admin to another: Before you go any further, download, and install WebMin (http://www.webmin.com/). This is a FANTASTIC tool for admin-ing any Un*x system, and will help you configure your sendmail (after install). Many, many thanks to the Webmin folks!! Now, I'll tell you what I did on my 2.1-RELEASE box, which had the hang-ups because it was running sendmail 4 (or some such really old sucker). The newer systems were much easier because there were prototypes for all the config files. Unlike really old versions of sendmail, the config file (sendmail.cf) likes to live in the /etc/mail directory, as opposed to /etc. Once I figured this out, the rest was simple. Make a back-up of your sendmail.cf (and any other relevant files) and /usr/sbin/sendmail... if this breaks, you'll want to be able to back-track. Then download the tarball from senmail.org and untar it somewhere on your system. If you don't know how to do this, you're in a lot of trouble already, and you should hire a consultant ;) Kill the sendmail process that is running. Run 'sh Build' in the sendmail/ directory, and all the other steps listed in listed in the INSTALL document... read it. Once sendmail was installed, I had to manually create a /etc/mail directory and copy the generic sendmail.cf from the distribution into it. Both older versions of sendmail.cf that I was using were not compatible with 8.10, so I had to start with the generic new version and merge any parameters/files/configurations into the generic one. This is where Webmin came in handy. For instance all my Cw records were all listed in sendmail.cf in the old version. In the new version these domains are contained in /etc/mail/sendmail.cw, so manual creation of these records was necessary. The sendmail distribution, by default, anticipates that you are going to be running it on a single system ... so there are some assumptions made in the generic sendmail.cf that you may not like. The good news is that all this stuff is clearly marked and easy to edit (ie anti spam rules, virtual users, etc). Finally when sendmail runs it wants to create a /var/run/sendmail.pid file. Make sure that the process can write to that directory. The whole upgrade took me about an hour.. so it isn't really that scary. Hope this helps. Peace, Blake On Fri, 7 Apr 2000, David Ward wrote: > Some of you have seen my posts before, and yes, I admit I'm a NEWBIE (oi, > it's painfully obvious to me too) > > I'm trying to play with SendMail v8.10.0 and needless to say, the install > and config is difficult..(for a winNT admin > type trying to learn un*x/freeBSD admin stuff) > > the www.sendmail.org site is great, but it's a level or two over my head > right now...and it's looking like the section > on SendMail in Greg's book is actually a level under where I need to be to > set it up and config it... > > Can someone point me at any quick references for the install and initial > config of sendmail that is fit for a > newbie/wannabe sendmail admin?? (or maybe take pitty on the helpless wretch > that I am and offer some hints?) > > David Ward > "I've found that luck is quite predictable. If you want > more luck, take more chances. Be more active. Show up more often." > - Brian Tracy > Network Administrator > Intelemedia Communications, Inc. > IVR Demo Line: 800-263-3120 > Office: 972-994-0700 ext. 814 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message