From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 20:30:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8399716A4CE for ; Sat, 10 Jul 2004 20:30:36 +0000 (GMT) Received: from bmyster.com (loqtis.bmyster.com [66.55.195.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3A243D1F for ; Sat, 10 Jul 2004 20:30:35 +0000 (GMT) (envelope-from mrb@bmyster.com) Received: from loqtis.bmyster.com (localhost.bmyster.com [127.0.0.1]) by bmyster.com (8.12.11/8.12.10) with ESMTP id i6AKgGVt046736; Sat, 10 Jul 2004 16:42:55 -0400 (EDT) Received: (from www@localhost) by loqtis.bmyster.com (8.12.11/8.12.10/Submit) id i6AKgAVX046735; Sat, 10 Jul 2004 16:42:10 -0400 (EDT) X-Authentication-Warning: loqtis.bmyster.com: www set sender to mrb@bmyster.com using -f Received: from 66.63.96.19 (SquirrelMail authenticated user mrb) by new.host.name with HTTP; Sat, 10 Jul 2004 16:42:10 -0400 (EDT) Message-ID: <2062.66.63.96.19.1089492130.squirrel@new.host.name> In-Reply-To: <20040710000055.4aaba54d@localhost> References: <20040710000055.4aaba54d@localhost> Date: Sat, 10 Jul 2004 16:42:10 -0400 (EDT) From: "Brent Bailey" To: "epilogue" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd@computersthatrock.com cc: freebsd-questions@freebsd.org Subject: Re: Sendmail upgrade advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mrb@bmyster.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 20:30:36 -0000 hope this helps im going to use 8.12.10 as an example....i think the instructions are referring to this: when you unpack sendmail-8.x.x it makes a dir called sendmail.8.x.x (whatever the version name) cd into that dir. theres a INSTALL file that pretty much says everthign i said here....but oh well...who reads instructions anyway you will also see a dir oddly enough called "sendmail" cd into that ....that is where you run the sh Build then it wants you to go to the cf/cf dir todo so do: cd ../cf/cf then copy the .mc file that matches your environment. do this: cp generic-bsd4.4.mc sendmail.mc edit the sendmail.mc file you just copied adding whatever options you want...i use the following ----------SNIP-------------------------------- FEATURE(nouucp, reject) FEATURE(local_procmail) FEATURE(access_db, `hash -T /etc/mail/access') FEATURE(virtusertable, `hash /etc/mail/virtusertable') FEATURE(blacklist_recipients) FEATURE(use_cw_file) FEATURE(`dnsbl', `relays.ordb.org', "BLACKLISTED - see thru "$&{client_name}" by /spamhaus/ ; Please see http://www.spamhaus.org/sbl/"')dnl FEATURE(`dnsbl', `list.dsbl.org', `"571 ACCESS DENIED to <"$&f"> thru "$&{client_name}" by /dsbl/ ; Please see http://dsbl.org/listing.php?ip="$&{client_addr} ')dnl define(`confDOMAIN_NAME', `whatever.domain')dnl define(`confPRIVACY_FLAGS', `goaway,authwarnings,noexpn,novrfy') ------------SNIP--------------------------------------- just a note about the above snippet...i use RBL checks also above that i have enabled virtusertable & access & procmail for a local mailer. 1.virtusertable allows you to have virtual users for domain hosting envronments make sure /etc/mail/virtusertable exists 2. access is used to help limit allow or deny certain users or IPs or domains...for spam or abuse purpuses make sure /etc/mail/access exists as well as /etc/mail/relay_domains if it doesnt already 3. i use procmail as my local mailer also to help with spam filtering theres alot of procmail recipies you can find on the net. ANYHWO--- make sure each "FEATURE" & "define" is on a line by itself then save and then run sh Build sendmail.cf make backups of your current sendmail configs in /etc/mail ( if ya want ) then do: sh Build install-cf then go back to the "sendmail" dir by doing cd ../../sendmail then run: sh Build install thats it ...your done ...upgraded sendmail :-) -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com mrb@bmyster.com 207-247-8330 > On Fri, 9 Jul 2004 17:58:15 -0400 > "Rob" wrote: > >> Hi All, >> >> I had some problems with Sendmail a few weeks ago and it was suggested >> that I upgrade. I am finally able to do this but am now experiencing >> further problems. I downloaded 8.13 but the instructions just seem to >> lead me in circles sending me from one readme to another. >> >> Ok, so it tells me the easiest way to build sendmail is to type sh Build >> in the Sendmail directory. I just get an error: >> >> %sh build >> build: Can't open build: No such file or directory >> %sh Build >> Configuration: pfx=, os=FreeBSD, rel=4.4-RELEASE, rbase=4, >> rroot=4.4-RELEASE, arch=i386, sfx=, variant=optimized >> Using M4=/usr/bin/m4 >> Creating >> /usr/home/rob/sendmail-8.13.0/obj.FreeBSD.4.4-RELEASE.i386/sendmail >> using >> /usr/home/rob/sendmail-8.13.0/devtools/OS/FreeBSD sed: 1: "s/ >> //g >> ": unterminated substitute pattern >> sed: 1: "s/ >> //g >> ": unterminated substitute pattern >> ERROR: /usr/bin/m4 failed; You may need a newer version of M4, at least >> as new as System V or GNU >> >> I see that it is using M4=/usr/bin/m4 so do I need to perform some sort >> of upgrade on that file first? >> >> I also see that the instructions tell me to create any necessary site >> configuration build files, as noted in devtools/Site/README. Well this >> particular Readme tells me nothing on how to perform these file >> creations. >> >> I have read through all the readme and install files and just can't seem >> to get any further. >> >> Any help really appreciated. I am upgrading from 8.11.6. >> >> Rob. > > hello rob, > > would sendmail 8.12.11 be enough to satisfy your upgrading needs? if so, > no need to hassle with a manual build, because you'll find it in the ports > tree. > > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >