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
[-- Attachment #1 --]
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')
OSTYPE(bsd4.4)dnl
FEATURE(nouucp)dnl
MAILER(local)dnl
MAILER(smtp)dnl
Cwlocalhost
Cwvoyager.ghulam.force9.co.uk
Cwghulam.force9.co.uk
MASQUERADE_AS(`ghulam.force9.co.uk')dnl
FEATURE(allmasquerade)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(nocanonify)dnl
FEATURE(nodns)dnl
define(SMART_HOST, `relay.force9.net')
Dmghulam.force9.co.uk
define(`confDOMAIN_NAME',`ghulam.force9.co.uK')dnl
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
And the Makefile generates an error:
Makefile:32:*** missing separator. Stop.
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.
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)??
Thanks,
Ghulam
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT color=#000000 size=2>Hello,</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT size=2>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 <A
href="mailto:banta@voyager.ghulam.force9.co.uk">banta@voyager.ghulam.force9.co.uk</A>
instead of <A
href="mailto:banta@ghulam.force9.co.uk">banta@ghulam.force9.co.uk</A> .
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:</FONT></DIV>
<DIV><FONT size=2></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=2></FONT> </DIV>
<DIV><FONT size=2>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:
<DIV><FONT color=#000000 size=2> make ghulam.mc
</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT size=2>And the Makefile generates
an error:</FONT></DIV>
<DIV><FONT size=2></FONT><FONT color=#000000 size=2>
Makefile:32:*** missing separator. Stop.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2>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.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>The revision of /usr/share/mk/bsd.prog.mk and other makefile includes I
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
on 97/7/31). Is this version not right (after all it was the version shipped out
with FBSD 2.2.6)??</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Ghulam</FONT></FONT></DIV></DIV></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003701bf26ab$1c5d4180$df6f38d4>
