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>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0005_01BF1C0B.4A1A0360
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. This file is given below using the template of 8.19 in the =
FAQ:   =20
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


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


------=_NextPart_000_0005_01BF1C0B.4A1A0360
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><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. This file is given below =
using the=20
template of 8.19 in the FAQ:</FONT><FONT color=3D#000000 =
size=3D2>&nbsp;&nbsp;&nbsp;=20
<FONT face=3D"Courier New" size=3D2></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;=20
define(`confDELIVERY_MODE',`deferred')dnL</FONT></FONT></P></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Where voyager.ghulam.force9.co.uk is =
my hostname=20
and ghulam.force9.co.uk my email domain. The problem occurs when I =
follow the=20
instructions in FAQ 8.18 to convert this ghulam.mc to a ghulam.cf to =
replace my=20
/etc/sendmail.cf. When I'm in the directory: =
/usr/src/usr.sbin/sendmail/cf/cf, I=20
do:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; make =
ghulam.cf&nbsp;=20
&lt;---though shouldn't this be ghulam.mc? but this is what the FAQ=20
says</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>&nbsp;&nbsp;&nbsp;=20
Makefile:32:*** missing separator. Stop.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=3D2>Any ideas?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Ghulam</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0005_01BF1C0B.4A1A0360--



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?000801bf1c03$0097ef20$6b8ca6c3>