From owner-freebsd-questions Sun Apr 12 20:53:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA25074 for freebsd-questions-outgoing; Sun, 12 Apr 1998 20:53:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from minotaur.labyrinth.net.au (minotaur.labyrinth.net.au [203.9.148.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA25037 for ; Sun, 12 Apr 1998 20:53:07 -0700 (PDT) (envelope-from ashley@labyrinth.net.au) Received: (from uucp@localhost) by minotaur.labyrinth.net.au (8.8.6/8.8.6) id NAA22791 for faq@freebsd.org; Mon, 13 Apr 1998 13:53:06 +1000 (EST) Message-Id: <199804130353.NAA22791@minotaur.labyrinth.net.au> Received: from minerva-as31.labyrinth.net.au(203.23.74.31), claiming to be "ashley" via SMTP by minotaur.labyrinth.net.au, id smtpdAAAa22784; Mon Apr 13 13:52:56 1998 X-Sender: pirovich@labyrinth.net.au X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 13 Apr 1998 13:52:54 +1000 To: faq@FreeBSD.ORG From: Ashley Subject: FAQ112.html#112 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the FreeBSD FAQ "8.18. How do I set up mail with a dialup connection to the 'net?" the following is included to create a sendmail.cf file. VERSIONID(`bsd.home.mc version 1.0') OSTYPE(bsd4.4)dnl FEATURE(nouucp)dnl MAILER(local)dnl MAILER(smtp)dnl Cwlocalhost Cwbsd.home CwmyISP.com MASQUERADE_AS(`myISP.com')dnl FEATURE(allmasquerade)dnl FEATURE(masquerade_envelope)dnl FEATURE(nocanonify)dnl FEATURE(nodns)dnl define(SMART_HOST, `relay.myISP.com') DmmyISP.com define(`confDOMAIN_NAME',`myISP.com')dnl define(`confDELIVERY_MODE',`deferred')dnl however, if you implement this it makes the local machine believe you are your ISP, and doesn't just fix the From in headers. for this to work correctly it should have three changes made VERSIONID(`bsd.home.mc version 1.0') OSTYPE(bsd4.4)dnl FEATURE(nouucp)dnl MAILER(local)dnl MAILER(smtp)dnl Cwlocalhost Cwbsd.home CwmyISP.com <<< deleted MASQUERADE_AS(`myISP.com')dnl FEATURE(allmasquerade)dnl FEATURE(masquerade_envelope)dnl FEATURE(nocanonify)dnl FEATURE(nodns)dnl define(SMART_HOST, `relay.myISP.com') DmmyISP.com <<< should be Dmbsd.home define(`confDOMAIN_NAME',`myISP.com')dnl <<< myISP.com should be bsd.home define(`confDELIVERY_MODE',`deferred')dnl so to create a fully functioning sendmail.cf file, the mc file should include this.... VERSIONID(`bsd.home.mc version 1.0') OSTYPE(bsd4.4)dnl FEATURE(nouucp)dnl MAILER(local)dnl MAILER(smtp)dnl Cwlocalhost Cwbsd.home MASQUERADE_AS(`myISP.com')dnl FEATURE(allmasquerade)dnl FEATURE(masquerade_envelope)dnl FEATURE(nocanonify)dnl FEATURE(nodns)dnl define(SMART_HOST, `relay.myISP.com') Dmbsd.home define(`confDOMAIN_NAME',`bsd.home')dnl define(`confDELIVERY_MODE',`deferred')dnl Ciao. Ashley. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message