Skip site navigation (1)Skip section navigation (2)
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>&nbsp;&nbsp;&nbsp; 
<FONT face="Courier New" size=2></DIV>
<DIV>
<P>VERSIONID(`voyager.ghulam.force9.co.uk.mc version 1.0') </P>
<P>&nbsp;&nbsp;&nbsp; OSTYPE(bsd4.4)dnl</P>
<P>&nbsp;&nbsp;&nbsp; FEATURE(nouucp)dnl </P>
<P>&nbsp;&nbsp;&nbsp; MAILER(local)dnl </P>
<P>&nbsp;&nbsp;&nbsp; MAILER(smtp)dnl </P>
<P>&nbsp;&nbsp;&nbsp; Cwlocalhost</P>
<P>&nbsp;&nbsp;&nbsp; Cwvoyager.ghulam.force9.co.uk</P>
<P>&nbsp;&nbsp;&nbsp; Cwghulam.force9.co.uk </P>
<P>&nbsp;&nbsp;&nbsp; MASQUERADE_AS(`ghulam.force9.co.uk')dnl </P>
<P>&nbsp;&nbsp;&nbsp; FEATURE(allmasquerade)dnl </P>
<P>&nbsp;&nbsp;&nbsp; FEATURE(masquerade_envelope)dnl</P>
<P>&nbsp;&nbsp;&nbsp; FEATURE(nocanonify)dnl</P>
<P>&nbsp;&nbsp;&nbsp; FEATURE(nodns)dnl </P>
<P>&nbsp;&nbsp;&nbsp; define(SMART_HOST, `relay.force9.net') </P>
<P>&nbsp;&nbsp;&nbsp; Dmghulam.force9.co.uk </P>
<P>&nbsp;&nbsp;&nbsp; define(`confDOMAIN_NAME',`ghulam.force9.co.uK')dnl </P>
<P>&nbsp;&nbsp;&nbsp; 
define(`confDELIVERY_MODE',`deferred')dnL</FONT></FONT></P></DIV>
<DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;&nbsp;&nbsp; make ghulam.cf&nbsp; 
&lt;---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>&nbsp;&nbsp;&nbsp; 
Makefile:32:*** missing separator. Stop.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=2>Any ideas?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Ghulam</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801bf1c03$0097ef20$6b8ca6c3>