Date: Thu, 21 Oct 1999 21:29:00 +0100 From: "Ghulam Dastgir" <banta@ghulam.force9.co.uk> To: <freebsd-questions@freebsd.org> Subject: Sendmail for dialup host Message-ID: <000801bf1c03$0097ef20$6b8ca6c3@ghulam>
index | next in thread | raw e-mail
[-- 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. This file is given below using the template of 8.19 in the FAQ:
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
Where voyager.ghulam.force9.co.uk is my hostname and ghulam.force9.co.uk my email domain. 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.cf <---though shouldn't this be ghulam.mc? but this is what the FAQ says
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.
Any ideas?
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><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. This file is given below using the
template of 8.19 in the FAQ:</FONT><FONT color=#000000 size=2>
<FONT face="Courier New" size=2></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</FONT></FONT></P></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>Where voyager.ghulam.force9.co.uk is my hostname
and ghulam.force9.co.uk my email domain. 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:</FONT></DIV>
<DIV><FONT color=#000000 size=2> make ghulam.cf
<---though shouldn't this be ghulam.mc? but this is what the FAQ
says</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><FONT size=2>Any ideas?</FONT></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></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV></BODY></HTML>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801bf1c03$0097ef20$6b8ca6c3>
