Date: Sun, 13 Jul 1997 09:24:59 -0500 (CDT) From: "Jay D. Nelson" <jdn@qiv.com> To: Ian Vaudrey <ivaudrey@test.nemko.ltd.uk> Cc: Paul <Apollo@thsos.com>, questions@FreeBSD.ORG Subject: Re: sendmail version Message-ID: <Pine.BSF.3.96.970713092144.253A-100000@acp.qiv.com> In-Reply-To: <33C89993.9DCEE953@test.nemko.ltd.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Another possibility -- the example looked like it went through m4 with no macros defined. in the cf/cf directory, you need to: m4 ../m4/cf.m4 newfile.mc > outfile.cf ^^^^^^^^^^^ -- Jay On Sun, 13 Jul 1997, Ian Vaudrey wrote: ->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?Pine.BSF.3.96.970713092144.253A-100000>