Date: Sun, 13 Jul 1997 10:02:11 +0100 From: Ian Vaudrey <ivaudrey@test.nemko.ltd.uk> To: Paul <Apollo@thsos.com> Cc: questions@FreeBSD.ORG Subject: Re: sendmail version Message-ID: <33C89993.9DCEE953@test.nemko.ltd.uk> References: <2.2.32.19970713025703.006e3970@mail.thsos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Once you've built sendmail with makesendmail, backup your original sendmail binary (/usr/sbin/sendmail), cd into the obj.FreeBSD.2.2.2-RELEASE.i386 directory (replace 2.2.2-RELEASE with the FreeBSD version you're running) that you'll find wherever you built sendmail and type make install. This will install the new binary. Backup your original .cf file (/etc/sendmail.cf). Copy the new .cf file you built with m4 to /etc/sendmail.cf. Reboot your machine. AFAIK your .mc looks O.K., apart from the missing newlines ;-) If you are going to be doing much of this, I strongly recommend that you obtain a copy of the "bat book", see http://www.ora.com/catalog/sendmail2/index.html, and you should definitely take a good look at the sendmail FAQ. Hope this helps, - Ian Paul wrote: > > > > >cat /etc/sendmail.cf | grep DZ, or you could mail yourself and look > at > >the headers. > > Ok, but how can I tell what binary is running? > When compiled does it automatically put the program into a specific > directory? or do I have to move the compiled binary? > > >> Am I supposed to put the sendmail.cf file in my /etc directory? > > > >Yes. > > > What m4 made looks much different than the sendmail.cf file I am using > now > here is the file.. is this correct? > > VERSIONID(myfile.mc 1.0) > > OSTYPE(bsd4.4)DOMAIN(generic)MAILER(local)MAILER(smtp)Cwmail.mydomain.com > Cwmydomain.com > > MASQUERADE_AS(mydomain.com)FEATURE(allmasquerade)FEATURE(nocanonify)FEATURE( > nodns)F > EATURE(virtusertable) > > and or do I need to compile this into something? > > Thank you for all the help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33C89993.9DCEE953>