From owner-doc-jp@jp.freebsd.org  Tue Nov  4 23:27:02 1997
Received: by jaz.jp.freebsd.org (8.8.8+2.7Wbeta7/8.7.3) id XAA15086
	Tue, 4 Nov 1997 23:27:02 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) with ESMTP id XAA15078
	for <doc-jp@jp.FreeBSD.org>; Tue, 4 Nov 1997 23:26:58 +0900 (JST)
Received: from localhost. (j2.ptl7.jaring.my [161.142.1.192])
	by relay3.jaring.my (8.8.7/8.8.7) with ESMTP id WAA25621
	for <doc-jp@jp.FreeBSD.org>; Tue, 4 Nov 1997 22:26:20 +0800 (MYT)
Message-Id: <199711041426.WAA25621@relay3.jaring.my>
Received: from localhost (localhost [127.0.0.1]) by localhost. (8.8.7/3.4W3) with ESMTP id WAA00989 for <doc-jp@jp.FreeBSD.org>; Tue, 4 Nov 1997 22:31:59 +0800 (MYT)
To: doc-jp@jp.FreeBSD.org
X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Tue, 04 Nov 1997 22:31:59 +0800
From: Mitsuru IWASAKI <iwasaki@pc.jaring.my>
Reply-To: doc-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: doc-jp 3659
Subject: [doc-jp 3659] <FAQ> translation requested 1.86
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org

$B2<LuJg=8$G$9!#(B

> > 1.84 -> 1.86 $B$N:9J,$G?75,K]Lu$,I,MW$JItJ,$r@v$$$@$9:n6H$G$b;O$a$^$9!#(B

$B?75,K]LuItJ,$N;D$j$N0l$D$J$s$G$9$,!"(B
$B$I$J$?$+2<LuDs6!$7$FD:$1$^$;$s$+(B?
PPP $B$G$N%a!<%k@_Dj$NOC$7$G!"$=$s$J$KD9$/$O$J$$$G$9!#(B
FAQ-admin.sgml $B$X$N?75,DI2C$G$9$,!"C4Ev$N$K$7$+$5$s$O(B
$B4{$K(B 1.84 sync $B:n6HCf$J$N$G!"$I$J$?$+@h9T$7$F%6%C%/%j(B
$B2<Lu$7$F$$$?$@$1$k$H$&$l$7$$$G$9!#(B
$B!t$H$$$&$o$1$G!"$*$d$9$_$J$5$$$G$9!#(B

    <sect1>
      <heading>
        How do I set up mail with a dialup connection to the 'net?
        <label id="ispmail">
      </heading>

      <p>If you've got a statically assigned IP number, you should not
      need to adjust anything from the default.  Set your host name up
      as your assigned internet name and sendmail will do the rest.

      <p>If you've got a dynamically assigned IP number and use a dialup
      <bf/ppp/ connection to the internet, you will probably be given a
      mailbox on your ISPs mail server.  Lets assume your ISPs domain is
      <tt/myISP.com/, and that your user name is <tt/user/.  Lets also
      assume you've called your machine <tt/bsd.home/ and that your ISP
      has told you that you may use <tt/relay.myISP.com/ as a mail relay.

      <p>In order to retrieve mail from your mailbox, you'll need to
      install a retrieval agent.  <bf/Fetchmail/ is a good choice as it
      supports many different protocols.  Usually, POP3 will be provided
      by your ISP.  If you've chosen to use user-ppp, you can automatically
      fetch your mail when a connection to the 'net is established with the
      following entry in <tt>/etc/ppp/ppp.linkup</tt>:

      <verb>
        MYADDR:
          !bg su user -c fetchmail
      </verb>

      <p>I'm assuming that you have an account for <tt/user/ on <tt/bsd.home/.
      In the home directory of <tt/user/ on <tt/bsd.home/, create a
      <tt/.fetchmailrc/ file:

      <verb>
        poll myISP.com protocol pop3 fetchall pass MySecret;
      </verb>

      <p>Needless to say, this file should not be readable by anyone except
      <tt/user/ as it contains the password <tt/MySecret/.

      <p>In order to send mail with the correct <bf/from:/ header, you must
      tell sendmail to use <tt/user@myISP.com/ rather than
      <tt/user@bsd.home/.  You may also wish to tell sendmail to send all
      mail via <tt/relay.myISP.com/, allowing quicker mail transmission.

      <p>The following <tt/.mc/ file should suffice:

      <verb>
        VERSIONID(`bsd.home.mc version 1.0')
        OSTYPE(bsd4.4)dnl
        FEATURE(nouucp)dnl
        MAILER(local)dnl
        MAILER(smtp)dnl
        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
      </verb>

      <p>Refer to the previous section for details of how to turn this
      <tt/.mc/ file into a <tt/sendmail.rc/ file.  Also, don't forget to
      restart sendmail after updating sendmail.cf.

--
                                    o
                              [=]   O
                             (.~.)_P
+=======================oooO==( )//Oooo======================+
|       --- Mitsuru IWASAKI ----                             |
|15A-1-3, Scots Tower, MONT' KIARA CONDOMINIUM, Jalan 1/70C, |
|Off Bikit Kiara, 50480 Kuala Lumpur, Malaysia               |
|TEL/FAX: +60-3-2538579                      _/_/_/    _/    |
|e-mail:  iwasaki@sirim.my(OFFICE)          _/  _/ _/ _/     |
| iwasaki@pc.jaring.my(HOME) iwasaki@jp.FreeBSD.ORG(FreeBSD) |
+============================================================+
