Date: Thu, 4 Nov 1999 09:44:27 -0000 From: "Ghulam Dastgir" <banta@ghulam.force9.co.uk> To: <freebsd-questions@freebsd.org> Subject: Sendmail for dialup host Message-ID: <003701bf26ab$1c5d4180$df6f38d4@ghulam>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0022_01BF26A9.2F338FA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have a dialup connection to the internet from my FreeBSD machine = (v2.2.6). So I need to change my default /etc/sendmail.cf config file = since my outgoing email reads banta@voyager.ghulam.force9.co.uk instead = of banta@ghulam.force9.co.uk . Following the instructions for this in = the FAQ (sections 8.18 and 8.19) it says I create a .mc file, in my case = ghulam.mc: VERSIONID(`voyager.ghulam.force9.co.uk.mc version 1.0')=20 OSTYPE(bsd4.4)dnl FEATURE(nouucp)dnl=20 MAILER(local)dnl=20 MAILER(smtp)dnl=20 Cwlocalhost Cwvoyager.ghulam.force9.co.uk Cwghulam.force9.co.uk=20 MASQUERADE_AS(`ghulam.force9.co.uk')dnl=20 FEATURE(allmasquerade)dnl=20 FEATURE(masquerade_envelope)dnl FEATURE(nocanonify)dnl FEATURE(nodns)dnl=20 define(SMART_HOST, `relay.force9.net')=20 Dmghulam.force9.co.uk=20 define(`confDOMAIN_NAME',`ghulam.force9.co.uK')dnl=20 define(`confDELIVERY_MODE',`deferred')dnL The problem occurs when I follow the instructions in FAQ 8.18 to convert = this ghulam.mc to a ghulam.cf to replace my /etc/sendmail.cf. When I'm = in the directory: /usr/src/usr.sbin/sendmail/cf/cf, I do: make ghulam.mc =20 And the Makefile generates an error: Makefile:32:*** missing separator. Stop. =20 So I thought that now the problem's with the makefile, so I reinstalled = the entire sendmail source distribution from the 1st cdrom under = /cdrom/src/ssmailcf.aa. But I still get the same sendmail error. =20 The revision of /usr/share/mk/bsd.prog.mk and other makefile includes I = have may be wrong. I tried the command: ident /usr/share/mk/*.mk and the revision of /usr/share/mk/bsd.prog.mk I have is: 1.41.2.6 = (compiled on 97/7/31). Is this version not right (after all it was the = version shipped out with FBSD 2.2.6)?? =20 Thanks, =20 Ghulam ------=_NextPart_000_0022_01BF26A9.2F338FA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV> <DIV><FONT color=3D#000000 size=3D2>Hello,</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>I have a = dialup connection=20 to the internet from my FreeBSD machine (v2.2.6). So I need to change my = default=20 /etc/sendmail.cf config file since my outgoing email reads <A=20 href=3D"mailto:banta@voyager.ghulam.force9.co.uk">banta@voyager.ghulam.fo= rce9.co.uk</A>=20 instead of <A=20 href=3D"mailto:banta@ghulam.force9.co.uk">banta@ghulam.force9.co.uk</A> = .=20 Following the instructions for this in the FAQ (sections 8.18 and 8.19) = it says=20 I create a .mc file, in my case ghulam.mc:</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV> <P>VERSIONID(`voyager.ghulam.force9.co.uk.mc version 1.0') </P> <P> OSTYPE(bsd4.4)dnl</P> <P> FEATURE(nouucp)dnl </P> <P> MAILER(local)dnl </P> <P> MAILER(smtp)dnl </P> <P> Cwlocalhost</P> <P> Cwvoyager.ghulam.force9.co.uk</P> <P> Cwghulam.force9.co.uk </P> <P> MASQUERADE_AS(`ghulam.force9.co.uk')dnl </P> <P> FEATURE(allmasquerade)dnl </P> <P> FEATURE(masquerade_envelope)dnl</P> <P> FEATURE(nocanonify)dnl</P> <P> FEATURE(nodns)dnl </P> <P> define(SMART_HOST, `relay.force9.net') </P> <P> Dmghulam.force9.co.uk </P> <P> define(`confDOMAIN_NAME',`ghulam.force9.co.uK')dnl = </P> <P> = define(`confDELIVERY_MODE',`deferred')dnL</P></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>The problem occurs when I follow the instructions in = FAQ 8.18=20 to convert this ghulam.mc to a ghulam.cf to replace my /etc/sendmail.cf. = When=20 I'm in the directory: /usr/src/usr.sbin/sendmail/cf/cf, I do: <DIV><FONT color=3D#000000 size=3D2> make = ghulam.mc =20 </FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>And the = Makefile generates=20 an error:</FONT></DIV> <DIV><FONT size=3D2></FONT><FONT color=3D#000000 = size=3D2> =20 Makefile:32:*** missing separator. Stop.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT size=3D2>So I thought that now the problem's with the = makefile, so I=20 reinstalled the entire sendmail source distribution from the 1st cdrom = under=20 /cdrom/src/ssmailcf.aa. But I still get the same sendmail = error.</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV>The revision of /usr/share/mk/bsd.prog.mk and other makefile = includes I=20 have may be wrong. I tried the command:</DIV> <DIV><BR>ident /usr/share/mk/*.mk</DIV> <DIV> </DIV> <DIV>and the revision of /usr/share/mk/bsd.prog.mk I have is: 1.41.2.6 = (compiled=20 on 97/7/31). Is this version not right (after all it was the version = shipped out=20 with FBSD 2.2.6)??</DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Thanks,</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Ghulam</FONT></FONT></DIV></DIV></DIV></BODY></HTML> ------=_NextPart_000_0022_01BF26A9.2F338FA0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003701bf26ab$1c5d4180$df6f38d4>