  The Linux Electronic Mail Administrator HOWTO
  Guylhem Aznar <guylhem at metalab.unc.edu>
  v3.1, July 1999
  The Linux JF Project <JF at linux.or.jp>
  v3.1j, 1 January 2000

  ̕ł́ALinux ɂdq[ (e-mail) ̐ݒEǗEzɂ
  Đ܂B͎̕ɊǗҌłA[Uł͂܂
  B ([UɊ֘Ab⃆[UG[WFgɊւɂẮA
  Mail-User's-HOWTO B) dq[gă[JŒʐM
  A[gTCgƒʐM肷ȂA̕ǂ݂܂
  B̃VXȇ̃[UÃTCgƓdq[̌Ȃ
  ȂA͑̕ǂ܂ȂĂǂł傤B
  ______________________________________________________________________

  ڎ

  1. A쌠\A
     1.1 dq[ƃXp
     1.2 ړI
     1.3 ŐVł̓@
     1.4 tB[hobN
     1.5 쌠\
     1.6 ۏ؂̌ɂ

  2. ̏
     2.1 Mail User's HOWTO
     2.2 lbgj[X
     2.3 [OXg
     2.4 LDP ̑̕
     2.5 

  3. dq[͂ǂ̂悤ɓ삷邩
     3.1 펞C^[lbgɐڑĂ}VԂ̃[
     3.2 ʒmvO
     3.3 C^[lbgɏ펞ڑĂȂ}Vւ̃[
     3.4 [g[ƃ[g[̃vgR
     3.5 [{bNX̃tH[}bg

  4. KvȂ
     4.1 n[hEFA

  5. [zG[WFgI
     5.1 sendmail
     5.2 smail v3.2
     5.3 qmail
     5.4 exim

  6. z\tgEFÃCXg[
     6.1 Qmail v1.03
        6.1.1 qmail ̓
        6.1.2 \[X̓WJ
        6.1.3 RpC̏
        6.1.4 qmail ̐ݒ
           6.1.4.1 defaultdomain, me, plusdomain
           6.1.4.2 locals, rcpthosts
           6.1.4.3 virtualdomains
        6.1.5 qmail ̃eXg
        6.1.6  MTA 폜
        6.1.7 ܂ȂƂł傤A݂Ȃ!
     6.2 Smail v3.1
        6.2.1 smail ̐ݒ
           6.2.1.1 "config" t@C
           6.2.1.2 "directors" t@C
           6.2.1.3 "fidopaths" t@C
           6.2.1.4 "routers" t@C
           6.2.1.5 "transports" t@C
           6.2.1.6 "maps/" fBNg
        6.2.2 ̖𗧂ݒ
        6.2.3 inetd ̍ċN
        6.2.4 Smail  SMTP Ŏgp
     6.3 xɂȂĂ܂: Sendmail+IDA
        6.3.1 \[X̃CXg[
        6.3.2 sendmail.m4 t@C
        6.3.3 [JC̐ݒ
        6.3.4 sendmail+IDA  dbm e[u
        6.3.5 {ɕKvȂ̂͂ǂ̍ڂB
     6.4 Sendmail 8.x
        6.4.1 8.7.x p mc t@C̗
        6.4.2 Sendmail v8 ɂďX
        6.4.3 CF pbP[W (ҒǋL)
     6.5 [JzMG[WFg

  7. [UG[WFg̊Ǘ
     7.1 Mutt
     7.2 Elm
     7.3 Mailx
     7.4  Mail HOWTO {ł
        7.4.1 metamail
        7.4.2 VM (View Mail)

  8. [g[̎舵
     8.1 j
     8.2 [̎擾
     8.3 [̑M
     8.4 [ǂ
     8.5 eXg
     8.6 p

  9. ӎ
  10. {ɂ

  ______________________________________________________________________

  1.  A쌠\A

  1.1.  dq[ƃXp

  ̕ɏĂlɃ[𑗂ɂ́Adq[AhX "at"
  ̕ "@" ɒuĂB

  ̌܂͐lԂɂƂĂ͊ȒPłAXpoAgĂ郁[
  AhXWvOɂƂĂ͊ȒPł͂܂BāA
  ܂͂̕ɍvĂf炵XXp̂
  𗧂܂B

  1.2.  ړI

  ̖̕ړÍALinux ł̓dq[p\tgEFA̗pɊւA
  u悭鎿 (FAQ, Frequent Asked Question)v̒`ɊY鎿
  ERgɓ邱ƂłB̕ Linux ʌɏĂ
  AfBXgr[VƂĂ Debian  RedHat ɑz肵Ă
  ܂B

  1.3.  ŐVł̓@

  ̕(p)ŐVł͒I comp.os.linux.announce,
  comp.answers, news.answers ɓe܂B܂ sunsite.unc.edu 
  /pub/Linux/docs/HOWTO fBNgA[JCuĂen anonymous
  FTP TCg擾ł܂B

  ɁA͂̕炭 Linux  WWW z[y[W
  http://sunsite.unc.edu/mdw/linux.html ł͂łB

  (: ŐV̓{ł ftp://ftp.linet.gr.jp/pub/JF/ ͂߂Ƃ
  JF  ftp TCg World Wide Web  http://www.linux.or.jp/JF/ ɓo^
  ܂B)

  1.4.  tB[hobN

  ̕Ɋւ郁[ł̈ӌɂ́AmIłےIłAǂȂ
  ̂ɂ֐S܂BԈႢ▾炩ȘRꂪ΁Aɂm点
  B

  (: {łɊւӌ JF vWFNg܂łm点B)

  ́A󂯎[͑Sēǂ݂܂ASɕԎo킯ł͂
  BP̗v]ɂẮA󂢂Ă鎞ԁAv]̃bgA̓̌
   :-) Ȃǂgݍ킹člEΉ܂B

  ؂̒ʂȂᔻ͖ق /dev/null ɑ܂̂ŁA킴ȂĂ
  \łB

  ̋̓IȃtH[}bgɊւ邲ӌ́AHOWTO ̂܂Ƃߖł
  Greg Hankins (gregh at sunsite.unc.edu) ɑĂB

  1.5.  쌠\

  Mail-Administrator HOWTO ̒쌠 Guylhem Aznar ɂ܂
  (copyrighted (c) 1998 Guylhem Aznar)Bzz LDP CZXɏ]čs
  Ƃł܂B^_΁ALinux HOWTO ̂܂Ƃߖ̃AhXł
   linux-howto at sunsite.unc.edu ɘAĂB

  1.6.  ۏ؂̌ɂ

  RȂA̓̕eɑ΂Ă͈؂̐ӔC܂B{ɏ
  ĂTOȂ̓e͑SĂȂ̐ӔCŗpĂB

  2.  ̏

  2.1.  Mail User's HOWTO

  Mail User's HOWTO ƂA̓[UɊ֌WbΏ
  ɂĂ܂B

  ͌݁̕AEric S. Raymond 񂪊ǗĂAWWW g
  <http://metalab.unc.edu/LDP/HOWTO/Mail-User-HOWTO.html> œǂ߂͂
  B

  (: ̓̕{ <http://www.linux.or.jp/JF/JFdocs/Mail-
  User-HOWTO.html> ɂ܂B)

  2.2.  lbgj[X

  Linux Ń[\tgEFA̐ݒEssɂẮA Linux ɓ
  LȎ (݂͂) ܂BāAʓIȃ[֘A̎
   comp.os.linux.* j[XO[vɂ͓eȂق悢ł
  B

  { Linux ɓbłȂ (Ⴆ΁uDebian 1.2  sendmail
  ͂ǂȃIvVŃRpCĂ܂?vƂuRedHat 5.0 
  smail sƗĂ܂̂łv݂Ȃ̂łȂ)B
  comp.os.linux Kwɂ͓eȂłB
  JԂ܂B

  [Ɋ֘Ab comp.os.linux KwɃ|Xg闝ŔAق
  ǂ܂B comp.mail.* Kwɂj[XO[vŁAȂ
  ̑SĂ͂łB

  Linux ŗLłȂ comp.os.linux.* ɓe邱Ƃ́AԈꏊ
  ŏ߂Ă邱ƂɂȂ܂B[̒Bl͑Oq̂悤ȏꏊɂ
  Aʂɂ Linux gĂ܂B

  Linux Kw Linux ŗLłȂ𓊍e邱Ƃ́AȂƑ̑SĂ
  lBɂƂĎԂ̖ʂłAւ̓𓾂̂x邱Ƃ
  傤B

  K؂ȏꏊȉɎ܂:

             comp.mail.elm           ELM [VXe
             comp.mail.mh            MH(Rand Message Handling system)ɂ
             comp.mail.mime          MIME (Multipurpose Internet Mail Extensions)ɂ
             comp.mail.misc          Rs[^̃[ɊւʓIȋc_
             comp.mail.multi-media   }`fBA[ɂ
             comp.mail.mush          MUSH(Mail User's Shell) ɂ
             comp.mail.sendmail      BSD sendmail G[WFgɂ
             comp.mail.smail         smail [G[WFgɂ
             comp.mail.uucp          UUCP ɂ郁[ɂ

  : {ŋc_ĂO[vɂ͈ȉ̂悤Ȃ̂܂B

             fj.mail
             fj.mail.
             fj.mail.reader
             fj.mail.system
             fj.mail.system.sendmail
             fj.mail.system.qmail

  2.3.  [OXg

  sendmail, smail, qmail Ɋւ郁[OXg͂񂠂܂B

  [OXg̃AhX́A /usr/doc/ ȉɂAg̃[z
  G[WFg̃fBNgTΌł傤B

  2.4.  LDP ̑̕

  ̑f炵񂪁A Linux HOWTO  Linux
  Documentation Project 񋟂Ă܂B

  Ɉȉ̕Ƃ悢ł傤:

  o  g̃Rs[^ /usr/doc/ fBNg :-)

  o  Linux Networking Administrators' Guide

  o  Mail Users HOWTO

  o  Serial Communications HOWTO

  o  Ethernet HOWTO

  o  UUCP oRŃ[󂯎ĂȂ UUCP HOWTO

  2.5.  

  ȉɎ͖̂ɗ{łASĂԗłĂ܂:

  o  "Managing UUCP and USENET".  O'Reilly and Associates sBM҂̈
     ł́A̖{ USENET TCg^c邽߂ɎgvO
     vgRĂAŝ̖{̒ł͍ōƎv܂B

  o  "Unix Communications".  The Waite Group sBKvȕiS (y
     ȏ) ܂ĂAgݍ킹@
     Ă܂B

  o  "Sendmail". O'Reilly and Associates sB̖{ sendmail-v8 
     sendmail+IDA ̎QlƂĂ͌łł傤BꂵނƂȂ
     sendmail 𗝉悤ƍlĂlɂ́uKg̏vłB

     (: ł̓{łIC[EWpołĂ܂B
     usendmail VXeǗvƁusendmail t@Xv 2 ɂȂ
     Ă܂B)

  o  "The Internet Complete Reference". Osborne sB̖{̓C^[
     lbgŗpłeT[rXĂDꂽQlłA
     j[X⃁[Ȃǂ܂ރC^[lbg̃\[XɂĂ̗Dꂽ
     񌹂łB

  o  "The Linux Networking Administrators' Guide".  Linux Documentation
     Project  Olaf Kirch ҂łB̖{̓lbg[N
     ܂A (ȂƂ) O'Reilly  SSC ołĂ܂B

     ͗DꂽuȂłvŁA Unix ̃lbg[NɊւ邱
     ȂAȂKvƎvƂ͂Ȃł̖{Ŋwׂł傤B

     (: IC[EWpuLinux lbg[NǗvƂ^C
     gœ{łoĂ܂B)

  3.  dq[͂ǂ̂悤ɓ삷邩

  āA2 l̐lԂdq[gĂƂ肷ƂɒʏN
  ܂傤B Alice (ޏ̃}V wonderland.com)  Bob
  (ނ̃}V dobbs.com) Ƀ[𑗂낤ƂĂ̂Ƃ܂Bǂ
  ̃}VC^[lbgɌqĂ܂B

  C^[lbg̃[ 2 ̕łĂ邱ƂmĂ
  傤B[wb_ƃ[{łB͋sŋ؂܂B[
  wb_ɂ̓[̍olƈA[Uw肵TuWFNgsA[
  ꂽtȂɂKvȏ񂪊܂܂Ă܂B[{
  bZ[W̎ۂ̓ełBȉɎ܂:

  From: "Alice" <alice@wonderland.com>
  Message-Id: <199711131704.MAA18447@wonderland.com>
  Subject: ̔Ȃ?
  To: bob@dobbs.org (Bob)
  Date: Thu, 13 Nov 1997 12:04:05 -0500 (EST)
  Content-Type: text

  ƂĂSzȂ́BɗĂ܂̂ȂB
  --
                                                  >>alice>>

  C^[lbg[̃wb_̔zuƈӖ́A RFC822
  <ftp://ftp.isi.edu/in-notes/rfc822.txt> ƂC^[lbgWŒ`
  Ă܂B

  3.1.  펞C^[lbgɐڑĂ}VԂ̃[

  Ŝ̏}܂BSĂ̏ƗpɂĂ͌q܂B

  ______________________________________________________________________
                     +---------+          +-------+
  +-------+      | M  |  ďo    |M |
  | Alice |--------->|   MUA   |--------->|  MTA  |::::>::::
  +-------+          |         |          |       |       ::   M
                     +---------+          +-------+       ::     
                                                          ::   }V
  .......................................................................
                               SMTP                       ::
   ::::::::::::::::::::::::::::<::::::::::::::::::::::::::::
   ::
   ::   +---------+          +-----+                +--------+
   ::   | M  |   ďo   |     |  z          | Bob  |
   ::::>|   MTA   |--------->| LDA |===============>| [ |  M
        |         |          |     |                |{bNX|    
        +---------+          +-----+                +--------+  }V
                                                      |   |
                                                      |   |
                       +----------------<-------------+   |
                       |                                  |
                 +----------+         +-------+           |
                 |  Bob   |         |Bob  |<----------+
                 |ʒm\tg|         |  MUA  |
                 +----------+         +-------+
                       |                  |
                       |      +-----+     |
                       +----->| Bob |<----+
                              +-----+
  ______________________________________________________________________

  [𑗂邽߂ɁA Alice ̓[[UG[WFg (mail user
  agent,  MUA ƂĂ΂܂) ƌĂ΂vOĂяo܂B
  MUA ̓[Uu[vƍlĂ̂łB̃vO̓bZ[
  W쐬̕⏕s܂Bʂ̓[UIłeLXgGfB^
  яoƂɂȂ܂B MUA ́uMv{^ƁA[U
  ͏IłBL MUA ɂĂ͂ HOWTO ̌̕łƐ
  ܂B

  Alice g MUA ́A Alice bZ[W𑦍Ƀ[zG[
  WFg (mail transport agent, ܂ MTA) ƌĂ΂vOɓn
  ܂B̃vO͕ʂ sendmail ł傤AȊO MTA 
  ʓIɂȂ̂ŁA Linux fBXgr[Vɓ邩
  ܂B MTA ɂĂA HOWTO ̌̕łƐ܂B

  MTA ̎d́A[ Bob ̃}V MTA ɓnƂłB Alice ̃}
  V MTA  To: wb_͂A Bob ̃AhX̉Eɂ
  dobbs.com āA Bob ̃}V肵܂B Alice ̃}V MTA
  ́ÃAhXg Bob ̃}Vւ̃C^[lbgڑI[v
  ܂B̐ڑm@\́A{Ƃ͑S֌WȂbłB
  ł́A̐ڑ̖ړI: Alice  MTA eLXg`̃R}h Bob
  ̃}VɑM邱ƁÃR}hɑ΂鉞󂯎邱ƁA𗝉
  ĂΏ\łB

  MTA ̃R}h̓VFɂ͑܂B MTA ̃R}h Alice ̃}V
  ̃T[rX|[gɑ܂BT[rX|[gƂ͑҂킹ꏊ̂悤
  Ȃ̂ŁAC^[lbgT[rXp̃vOĂ郊NGXg
  ĎĂ|[głBT[rX|[gɂ͔ԍUĂA Bob 
  }VɃ[nɂ 25 ԃ|[gɘbΗǂƂ Alice 
  }V͒mĂ܂B

  Bob ̃}V 25 ԃ|[gł́AR}h҂Ă MTA ܂ (
  Ԃʂ sendmail ł傤)B Alice  MTA  Simple Mail Transfer
  Protocol (܂ SMTP) g Bob  MTA ƂƂs܂B SMTP
  łǂƂ肪s邩ȉɎ܂B Alice ̃}V
  s S: ŎA Bob ̃}V̉ R: Ŏ܂:

        S: MAIL FROM:<alice@wonderland.com>
        R: 250 OK
        S: RCPT TO:<bob@dobbs.com>
        R: 250 OK
        S: DATA
        R: 354 Start mail input; end with <CRLF>.<CRLF>
        S: From: "Alice" <alice@wonderland.com>
        S: Message-Id: <199711131704.MAA18447@wonderland.com>
        S: Subject: ̔Ȃ?
        S: To: bob@dobbs.org (Bob)
        S: Date: Thu, 13 Nov 1997 12:04:05 -0500 (EST)
        S: Content-Type: text
        S:
        S: ƂĂSzȂ́BɗĂ܂̂ȂB
        S: --
        S:                                                 >>alice>>
        S: .
        R: 250 OK

  (: Subject {œ{ɂ͂Ȃ̒ӂKvɂȂ܂
  A MUA ̖Ȃ̂łł͊܂ :-)

  ʏ SMTP R}h̓eLXgs 1 słA 1 słB
   DATA R}h͗OłB DATA R}ȟɂ́A SMTP ̎M
  ̓sIh (".") PƂŌs܂ŃbZ[Ws󂯎葱
  B (SMTP ̓C^[lbgW RFC821 <ftp://ftp.isi.edu/in-
  notes/rfc821.txt> Œ`Ă܂B)

   Bob  MTA  Alice ̃bZ[W󂯎܂B Bob  MTA
  ́Aȉ̂悤ȃwb_bZ[Wɕt܂:

  Received: (from alice@wonderland.com)
          by mail.dobbs.com (8.8.5/8.8.5) id MAA18447
          for alice; Thu, 13 Nov 1997 12:04:05 -0500

  ̃wb_́A[G[NɒǐՂ邽߂Ɏg܂ (b
  Z[W̃}VɒpÃwb_tƂ
  )B Bob  MTA ͏CꂽbZ[W[JzG[WF
  g(local delivery agent, 邢͗ LDA)ɓn܂B Linux VXe
  ł́A LDA  procmail ƌĂ΂vOłA LDA ͑ɂ
  ܂B

  LDA ̎d́ÃbZ[W Bob ̃[{bNXɒǉ邱Ƃ
  B LDA  MTA Ƃ͕ĂāAõvO̎dP
  Ă܂Bɂ MTA ́A[Ũ[{bNX̏ꏊȂǂ̃
  [JȍׂCɂ邱ƂȂAC^[lbg֘ȀɐO
  ܂B

  Bob ̃[{bNX́Aʂ /usr/spool/mail/bob  /var/mail/bob 
  t@CłB Bob [ǂގɂ́A̍D MUA (mail
  user agent)sÃt@CQƁEҏW܂B

  3.2.  ʒmvO

  ɂdq[Ɋ֌WdvȃvO܂BAꎩg
  ̓[ǂ񂾂z͂܂B̓[̓ʒmvO
  Ƃ̂ŁA[{bNXĎāAV[Ƀ[U
  ɒm点vOłB

  ŏ̒ʒmvÓA biff(1)  comsat(8) ƂA΂ɂȂ Unix p
  vOłB biff vO comsat T[rXLɂt
  gGhłB̃T[rXLɂȂĂƁAV[
  ɂ̃wb_[ɏo͂܂B̋@\́ACRT ōsw̃vO
  glɐ݌v܂B̂߁Åł͂܂g
  ܂B

  قƂǂ Unix VFɂ̓[`FbN@\tĂA܂ז
  ȂȂ (V[ƃvvg̒OɃbZ[Wo͂
  ) 悤ȕ@Ń[̒ʒmsƂł܂Bʂ̋@\́A
  ϐݒ肷邱ƂɂėLɂł܂Bg̃VF̃IC}
  jAŐĂł傤B sh/ksh/bash ñVFgĂ
  ȂAϐ MAIL  MAILPATH 𒲂ׂĂB

  X T|[gĂVXeɂ́AIɐV[mFA[
  GƉ̗Œm点ĂfXNgbvp̏vOt
  Ă܂B̗ނ̃vOōłÂAłLgĂ̂
  xbiff łBg Linux fBXgr[Vōŏ X ̃fXN
  gbvgݒɂȂĂ΁AԂ xbiff fXNgbvɂ
  ł傤Bڂ̓IC}jA xbiff(1) ĂB

  3.3.  C^[lbgɏ펞ڑĂȂ}Vւ̃[

  ̕𒍈Ӑ[ǂłĺA邱ƂɋCt܂B
  Ő̗ł́A Alice ̃}V͂ Bob ̃}VƉ
  błȂ΂ȂȂ̂łB Bob ̃}VĂǂȂ̂
  傤?  邢 Bob ̃}VNĂĂAC^[lbgɌq
  ĂȂǂȂ̂ł傤?

  Alice  MTA  Bob  MTA ƒʐMłȂ΁A Alice  MTA 
  bZ[W wonderland.com ̃[L[ɂ܂Ă܂B Alice
   MTA ͊؂ɂȂ܂ł͒Iɉxđ݁A؂ɂȂ
  _ŁAMɎsƂm点oEXbZ[W Alice ɑ
  Ԃ܂BƂ悭gĂ MTA (sendmail)ł́Ađ̊Ԋu
  15 AM̊ 4 łB

  3.4.  [g[ƃ[g[̃vgR

  ݂̑ Linux [ÚAISP (Internet Service Provider, C^[
  lbgڑƎ) oRŃC^[lbgɐڑĂAg̃hC
  Ă܂B̑A[U ISP ̃}VɃAJE
  gĂ܂Bނ父̃[ ISP ̃}Ṽ[{bNX
  z܂B[Ũ͎}Vgă[ǂݏ
  ̂ʂł (̃}V́ASLIP  PPP gĒfI ISP ɐ
  ܂)B Linux ł͂x [g[vgRg
  B

  ͑O̐߂ŐViIƂ͈قȂĂ܂BL[ɓčđ
  ҂Ă郁[́AT[õ[{bNXɑꂽ[Ƃ͈Ⴂ
  BL[ɓĂ郁[͂܂zBĂȂ̂ŁA؂ɂȂ
  Ƃ܂B ISP ̃T[õ[{bNXɔzꂽ[
  ́uzBς݁vȂ̂ŁA܂łłɒuĂƂł܂B

  [g[vgRgƁANCAg̓T[oɂ郁[
  lbg[NڑoRňoƂł܂ (͒ʏ̔z̋t
  Bʂ̔zł͑M MTA M MTA Ƀ[𑗂t
  )BʓIɎgĂ郊[g[vgR 2 ܂B
  POP3 (C^[lbgW RFC1939 <ftp://ftp.isi.edu/in-
  notes/rfc1939.txt> Œ`)  IMAP (C^[lbgW RFC2060
  <ftp://ftp.isi.edu/in-notes/rfc2060.txt> Œ`)łBSĂ ISP
   POP3 T|[gĂ܂B IMAP (͂̕ł) T
  |[gĂ ISP ̐܂B

  POP3 ̃ZbV̗ȉɎ܂:

        S: <NCAgT[rX|[g 110 ɐڑ܂>
        R:    +OK POP3 server ready <1896.697170952@mailgate.dobbs.org>
        S:    USER bob
        R:    +OK bob
        S:    PASS redqueen
        R:    +OK bob's maildrop has 2 messages (320 octets)
        S:    STAT
        R:    +OK 2 320
        S:    LIST
        R:    +OK 2 messages (320 octets)
        R:    1 120
        R:    2 200
        R:    .
        S:    RETR 1
        R:    +OK 120 octets
        R:    <POP3 T[obZ[W 1 𑗂܂>
        R:    .
        S:    DELE 1
        R:    +OK message 1 deleted
        S:    RETR 2
        R:    +OK 200 octets
        R:    <POP3 T[obZ[W 2 𑗂܂>
        R:    .
        S:    DELE 2
        R:    +OK message 2 deleted
        S:    QUIT
        R:    +OK dewey POP3 server signing off (maildrop empty)
        S:  <NCAgڑ؂܂>

  IMAP ̃ZbVŎgR}h≞ POP3 ƈႢ܂AWb
  N͂悭Ă܂B
  POP3  IMAP ̗_𐶂߂ɂ́A[g[NCAgvO
  gă[񂹂Kv܂Bꕔ̃[[UG[
  WFgɂ̓NCAg@\gݍ܂Ă (ǂ̃NCAgǂ
  vgRT|[gĂ̂͌q܂)AႦ Netscape uE
  U POP  IMAP ̋@\ŏT|[gĂ܂B

  MUA ɑgݍ܂Ă POP NCAg@\̑傫Ȍ_́AT[oɃ|
  [O悤IɃ[ɎwȂ΂ȂȂ_łB
  xbiff(1) ⓯@\vOʒm͎󂯂܂B
  [J̃[A] SMTP ɂupushv^ڑgĔzꂽ
  [p̂̂łB܂RȂASĂ MUA  POP/IMAP g
  킯ł͂Ȃ̂ŁA̋@\߂Ȃ΂ȂȂ܂
  B

  g Linux fBXgr[Vɂ͂Ԃ fetchmail
  <http://www.tuxedo.org/~esr/fetchmail> ƂvOĂ
  v܂B̃vO͓ʂɐ݌vĂāA[g[T[o
  ʐMA[荞݁A[J̃[MvO SMTP ŒʐM
  āÃ[ʏ̃[zoHɑ邱Ƃł悤ɂȂĂ
  ܂B

  [T[oɕۊǂKvꍇ (Ⴆ΁ANCAg}V
  イςꍇ) ƁA POP/IMAP @\ǂȃ[UG[
  WFg fetchmail ̕ԂDĂ܂B fetchmail ̓obN
  OEhœ삵ĒIɃT[oɖ₢킹邱Ƃł̂ŁA
  xbiff(1) ⑼̃[ʒmvO SMTP [̏ꍇƓ悤
  ɎgƂł܂B܂ fetchmail  MUA ɕtĂNCAg@
  \ƔׂƁAςȃT[oWɏĂȂT[o̕Ȃɑ΂
  AG[񕜋@\DĂ܂B

  (fetchmal ꍇƂȂꍇ)̓\}܂:

  ______________________________________________________________________
                     +---------+          +-------+
  +-------+      | M  |  ďo    |M |
  | Alice |--------->|   MUA   |--------->|  MTA  |::::>::::
  +-------+          |         |          |       |       ::
                     +---------+          +-------+       ::   M
                                                          ::     
                               SMTP                       ::   }V
   ::::::::::::::::::::::::::::<::::::::::::::::::::::::::::
   ::
  .::.......................................................................
   ::
   ::   +---------+          +-----+             +--------+
   ::   | M  |   ďo   |     |    z     | Bob  |
   ::::>|   MTA   |--------->| LDA |============>|T[o|::::>::::
        |         |          |     |             |[  |      ::
        |         |          |     |             |{bNX|      ::  [
        +---------+          +-----+             +--------+      ::  T[o
                                                                 ::
                         POP ܂ IMAP                         ::
   ::::::::::::::::::::::::::::<:::::::::::::::::::::::::::::::::::
   ::
  .::........................................................................
   ::
   ::                  +-----------+
   ::                  |           |
   :::::::>::::::::::::| fetchmail |::::::::              M
   ::                  |           |      ::              }V
   ::                  +-----------+      ::           (fetchmail
   ::                                     ::            ꍇ)
   ::   ::::::::::::::::<:::::::::::::::::::
   ::   ::
   ::   ::   +---------+          +-----+                +--------+
   ::   ::   | M  |  ďo    |     |     z       | Bob  |
   ::   ::::>|   MTA   |--------->| LDA |===============>| [ |
   ::        |         |          |     |                |{bNX|
   ::        +---------+          +-----+                +--------+
   ::                                                      |   |
   ::                                                      |   |
   ::                       +----------------<-------------+   |
   ::                       |                                  |
   ::                +--------------+      +-------+           |
   ::                |    Bob     |      | Bob |<----------+
   ::                |ʒmvO|      |  MUA  |
   ::                +--------------+      +-------+
   ::                       |                  |
  .::........................................................................
   ::                   .   |                  |
   ::    fetchmail      .   |                  |
   ::    Ȃꍇ     .   |                  |
   ::                   .   |      +-----+     |
   ::   +----------+    .   +----->|     |<----+
   ::   |  Bob   |    .          | Bob |
   :::::| POP/IMAP |----.--------->|     |
        | Ή MUA |    .          +-----+
        +----------+    .
  ______________________________________________________________________

  3.5.  [{bNX̃tH[}bg

  ͂[[{bNXɒǉ鎞ɁA郁bZ[W̏I
  ̃bZ[W̎n܂炩̋؂L̂ MTA ̖
  łB

  Unix ɂĂقƂǂ̃[]Ă銵KƂāA ``From '' Ŏn
   (󔒂ɂӖ܂) ꂼ̍sbZ[W̐擪łƂ
  ܂肪܂B{ ``From '' Ŏn܂sꂽꍇɂ́A
  Unix  MTA ͒ʏuȂv̋LOɒuA ``>From '' Ƃ`ɂ
  ܂B RFC822 `̃wb_ From sɑ܂ (ʂ͑M҂̖O
  ƎM܂)B

  ̊K Unix o[W 7 NȂ̂ŁǍ`̃[{bNX
  uV7 [{bNXvƌĂ΂܂Bumbox `vƌĂ΂邱Ƃ
  BɒfȂA{ HOWTO ŐSẴvO͂̌`
  g܂B͂ȂɕՓIł͂ȂAقȂ`𗘗pE
  c[ɂāA݂\܂B

  ɒmĂ (ĒӂȂ΂ȂȂ!) ` 4 ܂B
  BABYL, MMDF, MH, qmail maildir łB̒ł MMDF łP
  B MMDF  Ctrl-A (ASCII  001) 4 ̌ CR-LF `̋؂
  Lg܂B MMDF ͐̂ɎgĂArIGcȃC^[lbg
  [złB̎q͂܂ SCO VXeŎgĂ܂B

  BABYL  MMDF Ƃ͕ʂ̐cłA MIT ̐̂̃[VXeN
  łB BABYL ͂܂ Emacs ̃[[_[hŎgĂ܂B

  MH  qmail maildir ́u[{bNXv̌`łAۂɂ̓[
  {bNXbZ[W 1 ɕăfBNgɒułB
  ̂悤ȁu[{bNXv grep ĂʂłBȂȂfBN
  gt@C grep ĂAfBNg̓f[^f[^Q
  Ƃ邾łB

  (: ܂㔼͂܂ł̗ǂȂkł傤(^_^;)

  Microsoft Outlook Express  .mbx `̃[{bNX́A mbx2mbox 
  AvP[Vg RFC822 `ɕϊł܂B

  4.  KvȂ

  4.1.  n[hEFA

  Linux Ń[gɂ́Aȃn[hEFA͕Kv܂B

  KvȂ̂́A[gVXeƐڑ鉽炩̒ʐM\tgEFAłB
  ŐڑƂ TCP/IP ܂ UUCP ̂ƂłB

  ܂AfC[TlbgJ[hKvƂƂłBǂ炪Kv
  ̓VXe̐ݒɂČ܂܂BقƂǂ̏ꍇ́Ał邾
  f (ႦΌ݂ł V90  57,600 bps f) ~ƂłB
  ʓIɂ́A9600 {[ȏ̑x邽߂ɂ 16550 UART VA
  |[gɕtĂ邩Afɑgݍ܂ĂKv܂B

  O͂̈̕ӖȂ΁A comp.dcom.modems j[XO[v
  Ŏ₷邩A USENET ɒIɓe郂fƃVAʐMɊւ
  f炵 FAQ QƂĂB

  5.  [zG[WFgI

  [zG[WFg̓[JVXe烊[gVXeɃ[
  ]\tgEFAłBŋ߂ Linux ł́Ag MTA 
  u肷Kv͂߂ɂ܂񂵁AĂȂ͕̂ςȂ
  ق悢ł傤BƂ͂A苭łȃZLeBKvAV
  XẽftHg\Kvȏꍇł傤A
  W߂Ă܂BoƗǂł傤B

  (̑ɂ Unix MTA ͂܂A Linux box łɏo
  Ƃ͂قƂǂȂł傤B)

  ꂼƎ̋@\Ă܂AƂǂËĂ qmail ł
  B qmail ́AZLeB (vmail ͂Sł)A (smail
  ̓[J[Uɂ荂ł)AĐݒ̗eՂɂĂ
  Bǂ̃[\tgEFAIԂ̂RłBłm点
  ͂Ȃ肭IԂ̂邽߂̂̂łB

  sendmail ͕Gȏ̂TCgɂ͗ǂł傤Aݒ͏S҂ɂ
  ܂Åɂ͂܂Słł܂ (Ǝ͎v
  ܂)Bł̂ŁA HOWTO  sendmail ̏͂́AقƂɌÂȂĂ
  ܂e܂B

  ̂Ă邱Ƃ킩ĂȂA sendmail IԂ̂ł傤
  (̏ꍇ͂ HOWTO ǂނׂł͂܂!)BłȂ qmail
  ߂܂B

  ȉɂ̃vȌڍׂL܂B

  5.1.  sendmail

  BSD sendmail  C^[lbg MTA ̂łB sendmail ́A
  ̌p (ƂȂ͂) vOĂ܂B݂
  قƂǂ Linux fBXgr[V sendmail gĂA
  vCXg[Ă܂B

  sendmail ͒NAǗ҂ɂƂĂ̈ƕ]Ă܂ -- 
  Aݒ肪gbL[AZLeBz[L܂₷AȂǂȂǁB
  C^[lbg̃eNmW[ƕW肷ɂāÂ悤ȕ]
  ̂ƂɂȂ sendmail ̂̃IvVݒ胋[́A͂T
  CgƂɂKv͂ȂȂĂ܂ (UUCP ̂悤Ȕ TCP/IP lbg
  [NC̎̏łԂ܂)B܂ŐVł sendmail
  ł͐ݒVXePĂāA`IƂ sendmail.cf Ƃ
  ݒt@Ĉ܂͓邱Ƃł悤ɂȂĂ܂B
  ɏdvȂƂłA sendmail ͈ʓIɂ͂炩ߐݒ肳Ă
  AȂʂȗv ( TCP/IP lbg[Nză[𑗂Kv
  Ȃ) Ȃ͂Kv܂B

  sendmail ̃z[y[W <http://www.sendmail.org> ɂ܂B
   sendmail ̖cȕQƂł܂Bۂ sendmail ̃JX^ݒ
  ɎgޕKvA̕Ă݂܂傤B

  ̑ MTA ́A 'sendmail'Ə̂ĂȂA sendmail ̃R}h
  IvV^̂ł傤B́Asendmail ƒʐM邱ƂO
  ƂĂ郁[[UG[WFgւ̔złB

  5.2.  smail v3.2

  smail  sendmail uŏ̖{iIȎ݂łBVv
  ŁA sendmail Ƃ킩₷ݒVXeAȂS
  ̂łB sendmail ł͂ȂvCXg[Ă Linux fB
  Xgr[V܂B

  TCP/IP  UUCP ݂ĂTCgɂ smail ̗DꂽT|[g
  ́AЂƍ͑傫ȃZ[X|CgłA UUCP ނĂ̂
  smail pĂ܂܂B܂ smail ́AʐMʂ̑傫Ȑڑł
  sendmail 悭܂B

  sendmail ƓAvCXg[ꂽ smail ̐ݒKv͂
  Ƃǂ܂B

  (܂ 'smail 2.5 ' ɏo܂B̃vO͂Ɛ
  ɔpĂ܂BɂȂƂłB)

  5.3.  qmail

  qmail vO sendmail ݊ MTA ŁAZLeB߂悤
  ʂɐ݌vȂĂ܂B҂͌؉\ȃZLeBz[߂
  \΁A 500 h̏܋񑩂Ă܂B̕񏞂 1997
  N4 ȗlĂ܂B

  qmail ̃z[y[W͂łB

  <http://pobox.com/~djb/qmail.html>

  5.4.  exim

  exim vO smail3 Ƃ悭Ă܂A荂@\łB spam 
  [̃ubNɑ΂ēɋƁAzXgɕ̃o[`zX
  g (o[` DNS hC) u邱Ƃ`ɂĂ܂B

  exim ̃z[y[W͂łB

  <http://www.exim.org/>

  ̃Rs[^ exim Ă݂܂B smail ̐ݒVXe
   qmail ̃ZLeBƂ̗܂킹ĂA GPL 
  Ƃ_Ă܂B

  exim ɂČݎgĂ MTA uA߂ɐVɏ
  ĐłB

  6.  z\tgEFÃCXg[

  6.1.  Qmail v1.03

  SEŁApȒPB͎̂Cɓ MTA (mail transport
  agent) łB

   qmail 𓯍ĂfBXgr[V͂܂Bł
  qmail ̃RpCƃCXg[ɂĒSɌĂ܂Bꂪ
  qmail ŗBʓ|ȏłBݒ͂ƂĂ킩₷łB

  6.1.1.  qmail ̓

  <http://www.qmail.org> ֍sAŐVł_E[h܂B

  (󒍁F{̓~[TCg
  <http://www.jp.qmail.org:8080/www.qmail.org/top.html> ɍsƗǂ
  傤B

  Ȃ\tgEFAA[JCu <ftp://ftp.jp.qmail.org/qmail/> A
  ҂ɂ qmail ֘AQ̖| <http://www.jp.qmail.org/> 炻
  ꗘpł܂B)

  6.1.2.  \[X̓WJ

  Ƀt@CWJ܂B

       mv qmail.tar.gz /usr/local/src
       cd /usr/local/src ; tar -zxvf qmail.tar.gz

  (󒍁F qmail-1.03.tar.gz ƂO܂)

  bz2 o[W (k̗ǂVtH[}bg) 肵ꍇ́A tar
  ̂̕悤ɒuĂB

       bunzip2 qmail.tar.bz2
       tar -xvf qmail.tar

  6.1.3.  RpC̏

  ł qmail ̃fBNgɈړAݒ̃ftHglĂ݂܂
  B

       cd qmail; more conf-*

  ftHglύXKv͂Ȃ͂łA (Ⴆ) CXg[
  fBNgςARpC̍ۂ̃tOǂ̂Ɏw肵
  ł܂B

  (󒍁FႦ΃CXg[fBNg /usr/local/qmail ɂɂ
  ``echo /usr/local/qmail > conf-qmail'' Ȃǂ̂悤ɂāA conf-qmail
  Ɏw肵܂Bڍׂ͓̃hLgt@CQƂĂ)

  ɃCXg[̃fBNg܂B

       mkdir /var/qmail

  Debian ȊÕfBXgr[Vł́Aqmail gp郆[U ID 
  ǉKvł傤B qmail ̍ZLeB͂
  ɈˑĂ̂łB

  qmail ͂̃W[ɕĂāAꂼ͓Ɨ UID
  œ삵܂B̂ƂɂAN҂[VXeŜ
  A root D肷̂ȂĂ܂B

  [U̒ǉ͈ȉs邩A

     # groupadd nofiles
     # useradd -g nofiles -d /var/qmail/alias alias
     # useradd -g nofiles -d /var/qmail qmaild
     # useradd -g nofiles -d /var/qmail qmaill
     # useradd -g nofiles -d /var/qmail qmailp
     # groupadd qmail
     # useradd -g qmail -d /var/qmail qmailq
     # useradd -g qmail -d /var/qmail qmailr
     # useradd -g qmail -d /var/qmail qmails

   /etc/passwd  /etc/group ƂŕҏW܂B

  Evan E. ɂƁA groupadd ɂ "-g groupid" p[^gpKv
  łiCaldera 1.2jBgpȂ groupadd ̃G[
  oĂ܂̂łB "A groupwith that name already exists."

  /etc/group  /etc/passwd ꂼɂ́AႦΎ̂悤ȍsǉ
  B

               qmail:*:2107:
               nofiles:*:2108:

  

               alias:*:7790:2108::/var/qmail/alias:/bin/true
               qmaild:*:7791:2108::/var/qmail:/bin/true
               qmaill:*:7792:2108::/var/qmail:/bin/true
               qmailp:*:7793:2108::/var/qmail:/bin/true
               qmailq:*:7794:2107::/var/qmail:/bin/true
               qmailr:*:7795:2107::/var/qmail:/bin/true
               qmails:*:7796:2107::/var/qmail:/bin/true

  ݒmF邽߂Ɉȉs܂B

       make setup check

   qmail ̐ݒs܂B

       ./config

  ӂĂق̂łÂƂȂ̃T[o DNS ɂĖO
  łȂ΂܂BȂ ./config ͍Ă܂܂B

  (󒍁F DNS ꍇȂǂ ``./config-fast foo.bar.com'' ̂悤ɂ
  ĒڃT[ow肷邱Ƃł܂B./config sꍇ́Az
  Xg IP AhX DNS 璼ڌĐݒt@C܂)

  ɂ alias (ʖ) ǉKv܂B qmail 
  /etc/alias gpȂł (IvVpbP[WRpCEC
  Xg[Ύgp悤ɂł܂)B

  ͎̐ݒłB

       File : ".qmail-MAILER-DAEMON"
       &postmaster
       File : ".qmail-bin"
       &root
       File : ".qmail-daemon"
       &root
       File : ".qmail-decode"
       &root
       File : ".qmail-dumper"
       &root
       File : ".qmail-games"
       &root
       File : ".qmail-ingres"
       &root
       File : ".qmail-mailer-daemon"
       &postmaster
       File : ".qmail-manager"
       &root
       File : ".qmail-news"
       &root
       File : ".qmail-nobody"
       &root
       File : ".qmail-operator"
       &root
       File : ".qmail-postmaster"
       &root
       File : ".qmail-root"
       &guylhem
       File : ".qmail-system"
       &root
       File : ".qmail-toor"
       &root
       File : ".qmail-uucp"
       &root
       File : ".qmail-uucp-default"
       |preline -dr /usr/bin/uux - -r -gC -a"${SENDER:-MAILER-DAEMON}" lm!rmail "($DEFAULT@$HOST)"

  ̊et@C ~alias ɍKv܂B .qmail-root 
  &guylhem  root ̃[󂯎郍OCŒu܂B

  (󒍁Ał ~alias  `~'Ƃ̓[U `alias' ̃z[fBNg
  A܂ /var/qmail/alias ̎ł)

  UUCP [U͒!!!!!

  QMAIL FAQ  UUCP ɊւLqMpĂ͂܂B .qmail-
  uucp-default ɎgpĂ!  Ȃ UUCP ڑł͂
  ̂悤ȃ[邱Ƃ͂łȂł傤B
  āAŊe[U󂯎郁[̃tH[}bg߂Ȃ΂Ȃ
  B

  ̂߂͈ȉłB

  o  NFS }Egꂽz[fBNgɂ́A MAILDIR tH[}bgp
     ܂傤B̂Ƃ[J[[_p̃pb`gp܂
     (pb`  <http://www.qmail.org> ł܂)B

  o  pb`݂Ȃꍇ́A MAILFILE tH[}bgǂł傤B
     [̓t@C͂ǂȃ[[_łǂނƂł܂B
     [[_p alias (bash ̏ꍇ)  setenv (csh ̏ꍇ) ݒ肵
      OK łB

  o  /var/spool/mail/$USER tH[}bg͔ĂBZLeB
     댯łB

  ftHg̃tH[}bgύXɂ́A /var/qmail/boot ̊et@C
  āAԋCɓ̂ /var/qmail/rc փRs[܂B

  home  proc ͈SȑIłAZLeBl home 
  D܂ł傤B

  6.1.4.  qmail ̐ݒ

  /var/qmail/control Ŏ̂̂ҏW܂B

  6.1.4.1.  defaultdomain, me, plusdomain

  o  me ͂Ȃ̃}V FQDN (full qualified domain name) łBႦ
     Ύ̃}Vł barberouge.linux.lmm.com ɂȂ܂B

  o  defaultdomain ̓hbĝȂzXg (Ⴆ defaulthost Ȃ) ɒ
     ܂BႦ localnetwork Ɛݒ肷΁A joe@hisbox ̑S
     ̃[ joe@hisbox.localnetwork ֑邱ƂɂȂ܂B

  o  plusdomain ͗OłB + LŏIzXgɒǉ
     BႦ (me Őݒ肳Ă) defaulthost  + LŏIĂ
     ΁Aɒǉ邱ƂɂȂ܂B

   3 ̗ qmail ̐Ɛݒ̊ȒPĂ܂!

  6.1.4.2.  locals, rcpthosts

  virtual domain name T|[g΁Ãt@Cɒǉ̖O
  邾łBǉOĂɑꂽSẴ[̓[J̃
  [ƂĈ܂B

  locals  rcpthosts ̈Ⴂ́A҂̓[J̃GCAXƂĂ͈
  ȂƂƂłB yahoo.com  lemel.fr Ƃ freeemail A
  hX烁[󂯎ۂɕ֗łB܂[[J
  ȊÕ[UւA܂Ⴆ someone@yahoo.com ̃[[
  JŏȂꍇ֗łB

  6.1.4.3.  virtualdomains

  ɂftHg̊OM[hwł܂BႦΎ̂悤
  ΁Ao[̃ftHg uucp ł͂Ȃ smtp ɂł܂B

       #:alias-uucp

  uucp ő̂ł΂̂悤ɂ܂B

       :alias-uucp

  6.1.5.  qmail ̃eXg

  Đݒ肪I܂̂ŁAȉs܂傤B

       sh -cf '/var/qmail/rc &'

  qmail N܂ (݉ғ MTA ז邱Ƃ͂Ȃł)B:

       echo to: mylogin | /var/qmail/bin/qmail-inject

  Ȃ͂̃[ /var/qmail/boot/ őItH[}bgŎ󂯎
  ͂łB

  6.1.6.   MTA 폜

  eXgɐAs MTA  kill ܂傤B

  killall -STOP daemon_name ; qvZXĂꍇAkillall -CONT
  qvZX sAҋ@A killall -STOP ēxsAɂȂ܂
  JԂĂB

  qvZX݂Ȃ΁Akillall -TERM āA killall -CONT s
  ܂B

  ̌AÂ MTA fBXN폜܂ (@̓CX[fBX
  gr[Vɂ܂BႦ Redhat, Caldera, Suse Ȃ rpm -e
  --nodeps A Debian Ȃ dpkg -r --force-depends ɂȂ܂)BɈ
  s܂B

       # ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
       # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

   /etc/inetd.conf  qmail-smtpd ݒ肵܂ (SĂsɏ
  )B

       smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

  SysV-init ̗pĂȂÂfBXgr[VgĂꍇ
  ́APɃu[gXNvgɈȉǉ܂B

       sh -cf '/var/qmail/rc &'

  ǉ͕ /etc/rc.local ł傤AႤ܂B

  SysV-init ɏfBXgr[V (RedHat, Caldera, Suse,
  Debian) ̏ꍇ́Aȉ̃XNvg /etc/init.d/ ɒǉ܂B

  (󒍁FRedHat ̏ꍇ /etc/rc.d/init.d/ ɒǉ܂)

  Debian ̏ꍇ

  #!/bin/sh

  test -x /var/qmail/rc || exit 0

  case "$1" in
    start)
       echo -n "Starting mta: "
       sh -cf '/var/qmail/rc &'
       echo "qmail."
       ;;
    stop)
       echo -n "Stopping mta: "
       killall qmail-lspawn
       echo "qmail."
       ;;
    restart)
       echo -n "Restarting mta: "
       killall -HUP qmail-lspawn
       killall -ALRM qmail-lspawn
       echo "qmail."
       ;;
    *)
       echo "Usage: /etc/init.d/qmail {start|stop|restart}"
       exit 1
  esac

  exit 0

  RedHat ̏ꍇ

  #!/bin/sh
  #
  # qmail      This shell script takes care of starting and stopping qmail.
  #
  # description: qmail is a Mail Transport Agent, which is the program \
  #              that moves mail from one machine to another.
  # processname: qmail
  # config: /var/qmail/control/

  # Source function library.
  . /etc/rc.d/init.d/functions

  # Source networking configuration.
  . /etc/sysconfig/network

  export PATH=$PATH:/var/qmail/bin

  # Check that networking is up.
  [ ${NETWORKING} = "no" ] && exit 0

  [ -f /usr/sbin/sendmail ] || exit 0

  # See how we were called.
  case "$1" in
    start)
          # Start daemons.
          echo -n "Starting qmail: "
          qmail-start '|preline procmail' splogger qmail &
          touch /var/lock/subsys/qmail
          echo
          ;;
    stop)
          # Stop daemons.
          echo -n "Shutting down qmail: "
          killproc qmail-lspawn
          echo
          rm -f /var/lock/subsys/qmail
          ;;
    restart)
          $0 stop
          $0 start
          ;;
    status)
          status qmail
          ;;
    *)
          echo "Usage: qmail {start|stop|restart|status}"
          exit 1
  esac

  exit 0

  ăV{bNN /etc/rcN.d/ ɍ܂BႦΎ̂悤ɂ
  ܂B

  (󒍁FRedHat ̏ꍇ /etc/rc.d/rcN.d/ ɂȂ܂B܂ N ̓x
  \Ă܂)

       ln -sf /etc/init.d/qmail /etc/rc1.d/K19qmail

  n߂̕ K ȂÃx (x 1 ̓VO[hA6
  ̓u[g\܂) ł qmail  kill ܂Bn߂̕ S Ȃ炱
  ̃xł qmail s܂B

  o  K  S ̂ǂw肷ׂ߂ɂ́H̃x̑
     daemon ̎w^܂傤B

  o  K  S ̌ɉԂ̐lw肷΂悢̂H network daemon ̎
     ԍw肵܂傤B(󒍁FႦ RedHat ̏ꍇ S10network ł
     炱ȍ~́A15 Ƃ̐悢ł傤)

  RedHat, Caldera, Suse ł Debian ̂悤 /etc/ ł͂ȂA
  /etc/rc.d/ gp܂B܂Ⴆ /etc//rc.d/rc1.d 
  /etc/rc.d/init.d ̂悤ɂȂ܂B

  6.1.7.  ܂ȂƂł傤A݂Ȃ!

  ύX𔽉f̂Ƀu[gKv͂܂ (gĂ̂ Linux 
  Ƃ̂Ył?  ̈ۂ OS Ƃ͈Ⴂ܂!)BPɎ̃R
  }hs邾łB

       killall inetd
       init 1

  ɂăVO[U[[hɓ܂BĎsāAf
  tHg̃x (/etc/inittab  initdefault xŎw肳Ă
  ܂jɖ߂܂B

       exit

  蓮 qmail XNvgN鎖ł܂A "init" ̕@g
   qmail XNvgʒuɂ邩ǂ킩܂BȂ킿
  network XNvǧŁA email ɈˑvȎOɎs
  邩ǂł (Ⴆ inn ̑OɋNĂȂƌx\
  )B

  6.2.  Smail v3.1

  smail 3.1 ́AUUCP ̃TCgA SMTP łꕔ̃TCgł̓ft@N
  gX^_[h̓]G[WFĝ悤łB smail ͐ݒ肪ȒPŁA\
  [XɃpb`𓖂ĂȂĂRpCłAȂSłB

  6.2.1.  smail ̐ݒ

  g̃fBXgr[V smail ̃oCiCXg[
  A smail ̃\[X肵ăRpCĂ (M҂͑O҂̕@
  ߂܂)B smail \[Xꍇ́Aȉ̍s os/linux
  t@CɉKv܂B́A삷VFXNvg
   'sed' ɐ邽߂łB

  CASE_NO_NEWLINES=true

  CXg[ς񂾂Aݒt@C /etc/smail fBNg
  ɓĂ͂ł (ÂfBXgr[Vł̓CXg[
  悪Ⴄ܂)Bł́Aݒt@C̕ҏWn߂܂傤!

  6.2.1.1.  "config" t@C

       # From
       smart_path=polux
       smart_transport=uux

       # To
       hostname=barberouge
       domains=linux.lmm.com

       visible_name=barberouge.linux.lmm.com
       uucp_name=barberouge.linux.lmm.com

       # max_message_size=512k
       # auth_domains=foo.bar
       # more_hostnames=barberouge.polux.freenix.fr

  Ă܂A[zĂ̂͒Nł傤?  M҂̃}V UUCP
  (܂ uux z) oR "polux" 烁[󂯎Ă܂B
  Ãt@C͂Ȃ̊ɍ킹ĕςKv܂BႦ
  "bargw.bar.foobar.com"  "smtp" oRŃ[󂯎Ăꍇ
  ́A transports t@C͕Kv܂B̏ꍇɂ
  "-transport_file " `΁At@Csvł邱ƂƂ
  ł܂B

  ܂ "postmaster_address = yourname" gA "visible_name" 
  gĊÕAhXlbg[Ng|W[B (Q[g
  EFC}V̏ꍇ)A "more_hostnames" gă[󂯎ۂɎg
  ʖAhXݒ肵ł܂B

  ڂɂĂ smail ̕ĂB܂
  /usr/doc/smail/examples ɓĂāAȂ̊ɍႪ
  邩ǂׂƂ悢ł傤B

  6.2.1.2.  "directors" t@C

  # aliasinclude - expand ":include:filename" addresses produced by alias files
  # This entry and the next one are pretty much boiler-plate.  Reasons
  # for making significant changes are few.  The sole purpose of these
  # is to match and expand addresses of the form:
  #       :include:pathname
  # which may occur in alias files or mailing-list/forward files
  # (produced by any director with a driver of forwardfile).
  aliasinclude:
          driver = aliasinclude,          # use this special-case driver
          nobody;                         # associate nobody user with addresses
                                          #  when mild permission violations
                                          #  are encountered
          copysecure,                     # get permissions from alias director
          copyowners,                     # get owners from alias director

  # forwardinclude - expand ":include:filename" addrs produced by forward files
  forwardinclude:
          driver = forwardinclude,        # use this special-case driver
          nobody;
          copysecure,                     # get perms from forwarding director
          copyowners,                     # get owners from forwarding director

  # aliases - search for alias expansions stored in a database
  # This is the standard aliases file.  It is used for generic things,
  # like mapping root, postmaster, MAILER-DAEMON and uucp to site
  # admins, creating some small system alias expansions, and such.  In
  # this site configuration, the aliases file is used mostly for
  # machine-specific aliasing/forwarding information.  Global forwarding
  # information should be put in the "forward" database.
  aliases:
          driver=aliasfile,               # general-purpose aliasing director
          -nobody,                        # all addresses are associated
                                          # with nobody by default, so setting
                                          # this is not useful.
          sender_okay,                    # don't remove sender from expansions
          owner=owner-$user;              # problems go to an owner address
          file=/etc/aliases,
          modemask=002,                   # should not be globally writable
          optional,                       # ignore if file does not exist
          proto=lsearch,                  # unsorted ASCII file

  # forward - search for expansions stored in a forwarding database
  # This is the subdomain-wide user forwarding database.  Entries are
  # maintained here for current or past users, to forward their mail to
  # their preferred mail-reading machine.  The forward database is
  # shipped around the TCP/IP network as changes are made, to keep the
  # network consistent.
  #forward:
  #       driver = aliasfile,             # general-purpose aliasing director
  #       -nobody,                        # all addresses are associated
  #                                       # with nobody by default, so setting
  #                                       # this is not useful.
  #       owner = real-$user;             # problems go to an owner address
  #
  #       file = /etc/forward,
  #       modemask = 002,
  #       proto = dbm,                    # use dbm(3X) library for access

  # dotforward - expand .forward files in user home directories
  # For users that have an entry in the "forward" database, a ".forward"
  # file is only used if it is on the "home" machine, as identified in
  # the forward database.  If used, it is treated as a list of addresses
  # to which mail should be delivered, rather than (or in addition to)
  # the user identified in the local address.
  dotforward:
          driver = forwardfile,           # general-purpose forwarding director
          owner = postmaster, nobody, sender_okay;

          file = ~/.forward,              # .forward file in home directories
          checkowner,                     # the user can own this file
          owners = root,                  # or root can own the file
          modemask = 002,                 # it should not be globally writable
          caution = daemon:root,          # don't run things as root or daemon
          # be extra careful of remotely accessible home directories
          unsecure = "~uucp:/tmp:/usr/tmp:/var/tmp"

  # forwardto - expand a "Forward to " in user mailbox files
  # This emulates the V6/V7/System-V forwarding mechanism which uses a
  # line of forward addresses stored at the beginning of user mailbox files
  # prefixed with the string "Forward to "
  forwardto:
          driver = forwardfile,
          owner = postmaster, nobody, sender_okay;

          file = /var/spool/mail/${lc:user},      # point at user mailbox files
          forwardto,                      # enable "Forward to " function
          checkowner,                     # the user can own this file
          owners = root,                  # or root can own the file
          modemask = 0002,                # under System V, group mail can write
          caution = daemon:root           # don't run things as root or daemon

  # user - match users on the local host with delivery to their mailboxes
  user:   driver = user;                  # driver to match usernames
          transport = local               # local transport goes to mailboxes

  # real_user - match usernames when prefixed with the string "real-"
  # This is useful for allowing an address which explicitly delivers to a
  # user's mailbox file.  For example, errors in a .forward file expansion
  # could be delivered here, or forwarding loops between multiple machines
  # can be resolved by using a real-username address.  Also, users that
  # wish to use mail as a means of transferring data to a machine that
  # is not their "home" machine can mail to real-login-name@remote.host.
  real_user:
          driver = user;
          transport = local,
          prefix = "real-"            # for example, match real-root

  # lists - expand mailing lists stored in a list directory
  # mailing lists can be created simply by creating a file in the
  # /etc/smail/lists directory.
  lists:  driver = forwardfile,
          caution,                        # flag all addresses with caution
          nobody,                         # and then associate the nobody user
          owner = owner-$user;            # system V sites may wish to use
                                          # o-$user, as owner-$user may be
                                          # too long for a 14-char filename.
          file = lists/${lc:user}         # lists is under $smail_lib_dir

  # owners - expand mailing lists stored in a list owner directory
  # mailing lists owner lists can be created simply by creating a file
  # in the /etc/smail/lists/owner directory.  Mailing list owners
  # are sent locally generated errors dealing with a mailing list of the
  # same name.  To create an owner list for a mailing list, create a
  # file with the name of the list in /etc/smail/lists/owner.  This
  # will create a list address of owner-listname, as is used by the
  # "lists" director above.
  owners: driver = forwardfile,
          caution,                        # flag all addresses with caution
          nobody,                         # and then associate the nobody user
          owner = postmaster;             # system V sites may wish to use
                                          # o-$user, as owner-$user may be
                                          # too long for a 14-char filename.
          prefix = "owner-",
          file = lists/owner/${lc:user}   # lists is under $smail_lib_dir

  # request - expand mailing lists stored in a list request directory
  # mailing lists request lists can be created simply by creating a file
  # in the /etc/smail/lists/request directory.  Request addresses
  # are typically used as a standard address for queries about a mailing
  # list.  For example, requests for additions or deletions to a list
  # will generally be sent to "list-request", which should be set up to
  # forward to the appropriate person or persons.
  request: driver = forwardfile,
          caution,                        # flag all addresses with caution
          nobody,                         # and then associate the nobody user
          owner = postmaster;             # system V sites may wish to use
                                          # o-$user, as owner-$user may be
                                          # too long for a 14-char filename.
          suffix = "-request",
          file = lists/request/${lc:user} # lists is under $smail_lib_dir

  ̃t@CςKv͂قƂǂȂ͂łB smail g
  [OXg^pꍇ̓[OXg֌W̃IvVK
  vłAႦ΃[̓]𖳌Γ]֌W̃IvVK
  vłB

  6.2.1.3.  "fidopaths" t@C

       .f105.n324.z2.fidonet.org     f105.n324.z2.fidonet.org!%s
       .n324.z2.fidonet.org          f105.n324.z2.fidonet.org!%s
       .z2.fidonet.org                       f105.n324.z2.fidonet.org!%s
       .fidonet.org                  f105.n324.z2.fidonet.org!%s

  ̂悤ȃt@ĆA ifmail  FIDO gĂꍇ쐬Ă
  B

  6.2.1.4.  "routers" t@C

  # forces - force certain paths
  # This database exists as a means of hardcoding the paths to various
  # machines or domains.  It is for use in creating temporary tweaks to
  # the other routing databases.  To change the database, edit the file
  # maps/force.path and type "make" in the maps/ subdirectory.
  forces:
          driver = pathalias,             # router to search paths file
          method = /etc/smail/maps/table; # transports are in this file
          file = forcepaths,              # file containing force path info
          proto = lsearch,                # use the sorted path file
          optional,
          reopen                          # close when not being used

  uucp_neighbors:
          driver=uuname,                  # use a program which returns neighbors
          transport=uux;
          cmd="/usr/bin/uuname -a",       # specifically, use the uuname program
  #        domain=uucp                    # strip ending ".uucp"

  # smart_host - a partially specified smarthost director
  # If the config file attribute smart_path is defined as a path from the
  # local host to a remote host, then hostnames not matched otherwise will
  # be sent off to the stated remote host.  The config file attribute
  # smart_transport can be used to specify a different transport.
  # If the smart_path attribute is not defined, this router is ignored.
  smart_host:
          driver = smarthost,             # special-case driver
          transport = uux                 # by default deliver over UUCP
  #       path=phreak

  # ifmail - to send mails to fidonet and vice versa
  ifmail:
          driver=pathalias,
          transport=ifmail;
          file=fidopaths,
          proto=lsearch

  ifmail ́̕A FIDO [p ifmail gĂꍇĂ
  B][h́A "uux" (܂ UUCP) Ⴆ "smtp" ɕς
  Aɂ "/etc/smail/maps/table" ɏꂽũ}VhC
  ւ̃pX̒vɕς邱Ƃł܂B

  ̋@\́Albg[Nɏo[ɔzꍇɕ
  łBȂȂ炱[̓C^[lbg UUCP ڑĔz
  KvȂłB

  6.2.1.5.  "transports" t@C

  # local - deliver mail to local users
  # Tell smail to append directly to user mailbox files in the /var/spool/mail
  # directory.
  #local: driver = appendfile,            # append message to a file
  #       -return_path,                   # include a Return-Path: field
  #       local,                          # use local forms for delivery
  #       from,                           # supply a From_ envelope line
  #       unix_from_hack;                 # insert > before From in body
  #
  #       file = /var/spool/mail/${lc:user},      # use this location for Linux
  #                                               # Note, mail spool must be 1777
  #       file = ~/mailfile,              # use this location for better security
  #       group = mail,                   # group to own file for System V
  #       mode = 0660,                    # under System V, group mail can access
  #       suffix = "\n",                     # append an extra newline
  #       append_as_user,

  # This allows each user to have a ~/.procmailrc file to control filtering
  # of mail and saving mail from mail lists in separate mailboxes if they wish.
  local:  +inet,
          -uucp,
          driver = pipe,                  # append message to a file
          return_path,                    # include a Return-Path: field
          local,                          # use local forms for delivery
          from,                           # supply a From_ envelope line
          unix_from_hack;                 # insert > before From in body

          cmd = "/usr/bin/procmail",  # use procmail for local delivery
          parent_env,                     # environment info from parent addr
          pipe_as_user,                   # use user-id associated with address
          umask = 0022,                   # umask for child process
  #       -ignore_status,                 # exit status should be believed
  #       -ignore_write_errors,           # retry on broken pipes

  # pipe - deliver mail to shell commands
  # This is used implicitly when smail encounters addresses which begin with
  # a vertical bar character, such as "|/usr/lib/news/recnews talk.bizarre".
  # The vertical bar is removed from the address before being given to the
  # transport.
  #pipe:  driver = pipe,                  # pipe message to another program
  #       return_path, local, from, unix_from_hack;
  #
  #       cmd = "/bin/sh -c $user",   # send address to the Bourne Shell
  #       parent_env,                     # environment info from parent addr
  #       pipe_as_user,                   # use user-id associated with address
  #       umask = 0022,                   # umask for child process
  #       -log_output,                    # do not log stdout/stderr
  #       ignore_status,                  # exit status may be bogus, ignore it
  #       ignore_write_errors,            # ignore broken pipes

  # file - deliver mail to files
  # This is used implicitly when smail encounters addresses which begin with
  # a slash or squiggle character, such as "/usr/info/list_messages" or
  # perhaps "~/Mail/inbox".
  #file:  driver = appendfile,
  #       return_path, local, from, unix_from_hack;
  #
  #       file = $user,                   # file is taken from address
  #       append_as_user,                 # use user-id associated with address
  #       expand_user,                    # expand ~ and $ within address
  #       check_path,
  #       suffix = "\n",
  #       mode = 0644
  # uux - deliver to the rmail program on a remote UUCP site
  #
  # As many as five recipient addresses will be delivered to the remote
  # host in one UUCP transaction.
  uux:    driver = pipe,
          -uucp,
          inet,
  #       uucp,                           # use UUCP-style addressing forms
          from,                           # supply a From_ envelope line
          max_addrs = 5,                  # at most 5 addresses per invocation
          max_chars = 200;                # at most 200 chars of addresses
  # the -r flag prevents immediate delivery, parentheses around the
  # $user variable prevent special interpretation by uux.
          cmd = "/usr/bin/uux - -r -g$grade $host!rmail $((${strip:user})$)",
  #        cmd="/usr/bin/uux - $host!rmail $(($user)$)",
          ignore_write_errors,            # ignore broken pipes
          umask = 0022,
  #       pipe_as_sender,

  # uux_one_addr - deliver mail over UUCP to a remote host that can take
  #                one address at a time.
  # This is often necessary when delivering to a site running an unmodified
  # version of 4.1BSD.
  uux_one_addr:
          driver = pipe,
          uucp,                           # use UUCP-style addressing forms
          from;                           # supply a From_ envelope line
  # the -r flag prevents immediate delivery
          cmd = "/usr/bin/uux - -r -g$grade $host!rmail (${strip:user})",
          umask = 0022,
          pipe_as_sender

  queueonly:
          driver = pipe;                  # send the message to a pipe
          cmd = "/usr/lib/sendmail -Q -f $sender -bm $user",
                                          # use getmail for local delivery
          user=root,                      # execute getmail as "root"
          group=mail,                     # execute getmail as "mail"
          parent_env,                     # environment info from parent addr
          -pipe_as_user,                  # use user-id associated with address
          umask = 0007,                   # umask for child process

  # to deliver the message.  The smtp transport is included only if BSD
  # networking exists.
  # The uucp attribute can be specified for transfers within the UUCP
  # zone.  The inet attribute must be specified for transfers within the
  # Internet.
  # NOTE: This is hardly optimal, a backend should exist which can handle
  #       multiple messages per connection.
  # ALSO: It may be necessary to restrict max_addrs to 100, as this is the
  #       lower limit SMTP requires an implementation to handle for one
  #       message.
  smtp:   driver=tcpsmtp,
          inet,                           # if UUCP_ZONE is not defined
  #       uucp,                           # if UUCP_ZONE is defined
          -max_addrs, -max_chars;         # no limit on number of addresses

          short_timeout=5m,               # timeout for short operations
          long_timeout=2h,                # timeout for longer SMTP operations
          service=smtp,                   # connect to this service port
  # For internet use: uncomment the below 4 lines
         use_bind,                       # resolve MX and multiple A records
         defnames,                       # use standard domain searching
         defer_no_connect,               # try again if the nameserver is down
         local_mx_okay,                  # fail an MX to the local host

  ifmail:
          from,received,max_addrs=5,max_chars=200,
          driver=pipe;
          pipe_as_sender,
          cmd="/usr/local/bin/ifmail -x9 -r$host $((${strip:user})$)"

  ifmail ́̕A FIDO [p ifmail gĂꍇĂ
  BȊOɂ́Ãt@CҏWKv͂Ȃ͂łB
  t@C͔zG[WFg (uux, smtp )`A̐ݒt@C
  p[^ƂĎg悤ɂ܂B

  ZLeBコ邽߁AM҂ "pipes"  "file" ȂǂRg
  AEgĂ_ɒӂĂB

  6.2.1.6.  "maps/" fBNg

  ̃fBNgɂ map t@C table t@CĂ܂:

  ܂ map t@C̗܂B

       #N      foo.bar foo2.bar2
       #S      AT 486/RedHat Linux 1.2.13
       #O      organization
       #C      contact
       #E      administration (email)
       #T      phone
       #P      address
       #R
       #U      hosts connected via uucp
       #W      created/edited by
       #
       hname polux

       hname linux.eu.org

       hname = polux
       hname = polux.linux.eu.org

  JԂ܂Ãt@C͂Ȃ̊ɍ킹ĕҏWĂ
  (M҂ polux.linux.eu.org 烁[zĂĂ܂)B

   table t@C̗łB

       *       uux

  قȂzG[WFgقȂpXɌ悤ɒ`邱Ƃł
  BႦ΁A"smtp" lbg[NɌA "uux" (܂ UUCP) 
  E̎c̏ꏊɌ邱Ƃł܂A̋t̐ݒ\ł (M҂
  o[͑S UUCP őĂ̂ŁA "*" gĂ܂!)B

  6.2.2.  ̖𗧂ݒ

  ܂Ŏt@ĆAM҂ݎ̃TCgŎgĂt@C
  ̂ŁAǎ҂̊F񂪍Ǝ̐ݒt@C̗/^ƂĎgĂ
  Ȃ͂łB

  ȉɎt@ĆAʂ̕@ smail ݒ肷ۂɖ𗧂Ƃėp
  ӂ܂B

  #ident "@(#) transports,v 1.2 1990/10/24 05:20:46 tron Exp"

  # See smail(5) for a complete description of the contents of this file.

  # local - deliver mail to local users
  #
  # Tell smail to append directly to user mailbox files in the /usr/mail
  # directory.
  local:  driver = appendfile,            # append message to a file
          return_path,                    # include a Return-Path: field
          local,                          # use local forms for delivery
          from,                           # supply a From_ envelope line
          unix_from_hack;                 # insert > before From in body

          file = /usr/mail/${lc:user},    # use this location for System V
          group = mail,                   # group to own file for System V
          mode = 0660,                    # under System V, group mail can access
          suffix = "\n",                     # append an extra newline
          append_as_user,

  # pipe - deliver mail to shell commands
  #
  # This is used implicitly when smail encounters addresses which begin with
  # a vertical bar character, such as "|/usr/lib/news/recnews talk.bizarre".
  # The vertical bar is removed from the address before being given to the
  # transport.
  pipe:   driver = pipe,                  # pipe message to another program
          return_path, local, from, unix_from_hack;

          cmd = "/bin/sh -c $user",   # send address to the Bourne Shell
          parent_env,                     # environment info from parent addr
          pipe_as_user,                   # use user-id associated with address
          umask = 0022,                   # umask for child process
          -log_output,                    # do not log stdout/stderr
          ignore_status,                  # exit status may be bogus, ignore it
          ignore_write_errors,            # ignore broken pipes

  # file - deliver mail to files
  #
  # This is used implicitly when smail encounters addresses which begin with a
  # slash or squiggle character, such as "/usr/info/list_messages" or perhaps
  # "~/Mail/inbox".
  file:   driver = appendfile,
          return_path, local, from, unix_from_hack;

          file = $user,                   # file is taken from address
          append_as_user,                 # use user-id associated with address
          expand_user,                    # expand ~ and $ within address
          suffix = "\n",
          mode = 0644

  # uux - deliver to the rmail program on a remote UUCP site
  #
  # As many as five recipient addresses will be delivered to the remote host in
  # one UUCP transaction.
  uux:    driver = pipe,
          uucp,                           # use UUCP-style addressing forms
          from,                           # supply a From_ envelope line
          max_addrs = 5,                  # at most 5 addresses per invocation
          max_chars = 200;                # at most 200 chars of addresses

          # the -r flag prevents immediate delivery, parentheses around the
          # $user variable prevent special interpretation by uux.
          cmd = "/usr/bin/uux - -r -g$grade $host!rmail $((${strip:user})$)",
          umask = 0022,
          pipe_as_sender
  # uux_one_addr - deliver mail over UUCP to a remote host that can take one
  # address at a time.
  #
  # This is often necessary when delivering to a site running an unmodified
  # version of 4.1BSD.
  uux_one_addr:
          driver = pipe,
          uucp,                           # use UUCP-style addressing forms
          from;                           # supply a From_ envelope line

          # the -r flag prevents immediate delivery
          cmd = "/usr/bin/uux - -r -g$grade $host!rmail (${strip:user})",
          umask = 0022, pipe_as_sender

  # demand - deliver to a remote rmail program, polling on demand
  demand: driver = pipe,
          uucp, from, max_addrs = 5, max_chars = 200;

          # with no -r flag, try to contact remote site immediately
          cmd = "/usr/bin/uux - -g$grade $host!rmail $(($user)$)",
          umask = 0022, pipe_as_sender

  # uusmtp - deliver to the rsmtp program on a remote UUCP site
  #
  # Deliver using a simple Batched SMTP protocol to the remote machine.
  # This allows much more arbitrary addresses to be used.  It also
  # removes the limit on recipient addresses per invocation of uux.
  uusmtp: driver = pipe,
          bsmtp,                          # send batched SMTP commands
          -max_addrs,                     # there is no limit on the number or
          -max_chars;                     #   total size of recipient addresses.

          # supply -r to prevent immediate delivery, the recipient addresses
          # are stored in the data sent to the standard input of rsmtp.
          cmd = "/usr/bin/uux - -r -g$grade $host!rsmtp",
          umask = 0022, pipe_as_sender

  # demand_uusmtp - deliver to a remote rsmtp program, polling on demand
  demand_uusmtp:
          driver = pipe,
          bsmtp, -max_addrs, -max_chars;

          # with no -r flag, try to contact remote site immediately
          cmd = "/usr/bin/uux - -g$grade $host!rsmtp",
          umask = 0022, pipe_as_sender

  # smtp - deliver using SMTP over TCP/IP
  #
  # Connect to a remote host using TCP/IP and initiate an SMTP conversation to
  # deliver the message.  The smtp transport is included only if BSD networking
  # exists.

  # NOTE: It may be necessary to restrict max_addrs to 100, as this is the
  #       lower limit SMTP requires an implementation to handle for one
  #       message.
  smtp:   driver = smtp,
          -max_addrs,
          -max_chars

  #ident "@(#) table,v 1.2 1990/10/24 05:20:31 tron Exp"

  # This file names the transports that are to be used in delivering
  # to specific hosts from bargw.

  #host           transport
  #--------       ---------
  curdsgw         demand_uusmtp   # deliver using batched SMTP
  oldbsd          uux_one_addr    # 4.1BSD sites cannot take more than one addr
  sun             demand          # call sun when their is mail to send
  *               uux             # for all others, poll at intervals

  6.2.3.  inetd ̍ċN

  smail  SMTP f[ƂĎsɂ́Aȉ̐ݒ̂ǂ炩
  /etc/inetd.conf ɉĂ:

           smtp stream tcp nowait  root  /usr/bin/smtpd smtpd

  ܂:

           smtp stream tcp nowait  root  /usr/sbin/tcpd  /usr/sbin/in.smtpd

  elm gꍇɂ́Ao[͎IɑM܂B

  6.2.4.  Smail  SMTP Ŏgp

  ʂ ISP  SMTP gĂ̂ŁA[𑗂ۂ̖͂Ȃ͂
  B[𑗂ĂrɃC^[lbgڑ؂ꂽꍇɂ́Ã
  [ "/var/spool/smail/input" Ɏc܂Bɐڑ񕜂
  "runq" s΁Ã[܂B[̎Mɂ͖
  肪܂BƂ̂ ISP ͂Ȃł͂ȂǍڋq̖
  |ȂĂ͂ȂȂł!

  ʂ POP vgRgă[󂯎邱Ƃł܂Bq
  POP Ɋւ͂ĂB

  6.3.  xɂȂĂ܂: Sendmail+IDA

  傫ȃTCgɂ́A sendmail Ił܂BȂ񂹁uт
  肷قǎg₷vł (qmail mĂlɂ́Ar
  ۂƂƂɂȂ̂ł傤)BƂA sendmail+IDA 
  sendmail 8.x ̂ǂIԂ߂ȂĂ͂Ȃ܂B

  o  ÂJ[l (1.0) g̏ꍇ: sendmail+IDA

  o  ÂJ[l (1.2)g̏ꍇ: sendmail+IDA(\[X̕ҏWK
     v)

  o  VJ[l (2.0) g̏ꍇ: sendmail 8.x

  Linux ̏S҂ZLeBS҂ւ̒: ȒPɐݒł
  Ȃ smail  qmail BƎg₷ɁASʂł
  DĂ܂B

  6.3.1.  \[X̃CXg[

  g̃fBXgr[VAɎgԂ sendmail pbP[
  W (RedHat, Caldera, Suse Ȃ .rpm, Debian Ȃ .deb) 񋟂Ă
  ĂȂꍇɂ́A\[X肵Ĉȉ̎菇ōƂĂB

  o  cd / ; tar -zxvf sendmail5.67b+IDA1.5.tpz

  o  /usr/local/lib/mail/CF ɈړA sample.m4 local.m4 
     "yourhostname.m4" ɃRs[B

  炩ߏĂ hostname, aliases, smarthost ̖OÃTC
  ĝ̂ɕύXĂBƂ̃t@C uuup gTCgp
  ȂĂ܂B܂̃TCg̓hCփb_A smart host
  ƒʐM邱ƂOƂȂĂ܂BύXIA"make
  yourhostname.cf" sAłt@C /etc/sendmmal.cf 
  ړĂB

  o  uuup gȂ̂ȂA README.linux ɋLڂĂ\̗ނ
     Kv́uv܂B

  KvȂƂ́A Makefile L`Ɠ悤Ƀt@CɎ邾
  B .m4 t@CҏWĂA sendmail.cf ̍쐬EeXgs
  OK łB

  o  uuup gĂA "smart-host" ȊÕTCgƂʐM
     ꍇɂ́AeTCgƂ uucpxtable Kv܂ (邢
     eTCg̃[ smart host oRƂ)BɁAύX
     uucpxtable ɑ΂ dbm sĂB

  o  Rich Braun  5.67a ̃IWioCizzĂ܂B
     p鎞ɂ́A .cf t@CύXA "/usr/lib/sendmail -bz"
     sĐݒŒ肵ȂƁAύXf܂B

  5.67a ȑÔ̂ɂ͂̈S̖肪̂ŁA 5.67b ȍ~̂
  ̂ɃAbvf[gׂłB mail.debug Zbg茳ɂA syslogd
  𑖂点Ăꍇɂ́Ao肷郁[bZ[W̃OĂ
  ł傤Bڂ "/etc/syslog.conf"B

  sendmail+IDA ̃\[X vixen.cso.uiuc.edu ɂ͂łB 1.00 J[
  l Linux ŗpȂApb`͕svłB

  1.1.50 ȍ~̃J[lŎgpꍇɂ́AƂ̃\[XɓĂ
  Linux ppb`̑啔sƂӂԂɑ邱ƂɂȂ
  ܂ ( sendmail ÂJ[lpƂĂ킯ł́u܂
  v)B

  ǂ΂͖XXłBƂɂ "make" ƑłŁA
  ꂽA\[X̂̍sɂ Linux ppb`RgAE
  gĂB

  sendmail+IDA gȂAƂ sendmail5.67b+IDA1.5 ɂȂ
  邱Ƃ߂܂BƂ̂ALinux ppb`Ƃ̃\[XɊ
  ĂɁA 1993 N121ȑǑÂłĂS̖
  Ă邩łB

  łɐ\グʂÃ݂J[l 2.0 ̏ꍇɂ́A sendmail+IDA 
  ͂Ȃ sendmail 8.x gׂłB

  6.3.2.  sendmail.m4 t@C

  Sendmail+IDA 𗘗pꍇɂ́A sendmail.cf 𒼐ڕҏŴł͂
  A sendmail.m4 ݒ肷邱ƂɂȂ܂B̕@ɂ́A[
  ݒ肪ȒPƂ_܂B Smail  ̂Ȃ sendmail ̐ݒ
  (̐l͐ݒ肪łȂAƂقǂł͂ȂƂĂ) ɒ[ɓ
  ̂łB

  L smail ̗Ɠݒɂꍇ sendmail.m4 t@C͈ȉ̂
  ɂȂ܂B

    dnl #------------------ SAMPLE SENDMAIL.M4 FILE ------------------
    dnl #
    dnl # (the string 'dnl' is the m4 equivalent of commenting out a line)
    dnl #
    dnl # you generally don't want to override LIBDIR from the compiled in paths
    dnl #define(LIBDIR,/usr/local/lib/mail)dnl    # where all support files go
    define(LOCAL_MAILER_DEF, mailers.linux)dnl    # mailer for local delivery
    define(POSTMASTERBOUNCE)dnl                   # postmaster gets bounces
    define(PSEUDODOMAINS, BITNET UUCP)dnl         # don't try DNS on these
    dnl #
    dnl #-------------------------------------------------------------
    dnl #
    dnl # names we're known by
    define(PSEUDONYMS, myhostname.subdomain.domain myhostname.UUCP)
    dnl #
    dnl # our primary name
    define(HOSTNAME, myhostname.subdomain.domain)
    dnl #
    dnl # our uucp name
    define(UUCPNAME, myhostname)dnl
    dnl #
    dnl #-------------------------------------------------------------
    dnl #
    define(UUCPNODES, |uuname|sort|uniq)dnl       # our uucp neighbors
    define(BANGIMPLIESUUCP)dnl                    # make certain that uucp
    define(BANGONLYUUCP)dnl                       #  mail is treated correctly
    define(RELAY_HOST, my_uucp_neighbor)dnl       # our smart relay host
    define(RELAY_MAILER, UUCP-A)dnl               # we reach moria via uucp
    dnl #
    dnl #--------------------------------------------------------------------
    dnl #
    dnl # the various dbm lookup tables
    dnl #
    define(ALIASES, LIBDIR/aliases)dnl            # system aliases
    define(DOMAINTABLE, LIBDIR/domaintable)dnl    # domainize hosts
    define(PATHTABLE, LIBDIR/pathtable)dnl        # paths database
    define(GENERICFROM, LIBDIR/generics)dnl       # generic from addresses
    define(MAILERTABLE, LIBDIR/mailertable)dnl    # mailers per host or domain
    define(UUCPXTABLE, LIBDIR/uucpxtable)dnl      # paths to hosts we feed
    define(UUCPRELAYS, LIBDIR/uucprelays)dnl      # short-circuit paths
    dnl #
    dnl #--------------------------------------------------------------------
    dnl #
    dnl # include the 'real' code that makes it all work
    dnl # (provided with the source code)
    dnl #
    include(Sendmail.mc)dnl                         # REQUIRED ENTRY!!!
    dnl #
    dnl #------------ END OF SAMPLE SENDMAIL.M4 FILE -------

  6.3.3.  [JC̐ݒ

   Unix Ƃ͈āA Linux ̓[J[zVXeŏ
  Ă܂B܂ł deliver  procmail CXg[Ă
  ʂɂȂĂ܂BāAłȂĂ\₱ݒ肪
  ɕGɂȂ邱Ƃ͂܂Bɓ₷ deliver  procmail g
  Ƃɂ܂傤B̓IvVpbP[WƂĂ Linux
  fBXgr[V܂B

  deliver [JCɐݒ肷邽߂ɂ́A sendmail.m4 ɂ
  LOCAL_MAILER_DEF ̍ڂ̂悤ɂĂB

    # -- /usr/local/lib/mail/mailers.linux --
    #     (local mailers for use on Linux )
    Mlocal, P=/usr/bin/deliver, F=SlsmFDMP, S=10, R=25/10, A=deliver $u
    Mprog,  P=/bin/sh,       F=lsDFMeuP,   S=10, R=10, A=sh -c $u

  Sendmail.mc ɂ deliver p̏l炩ߐݒ肵Ă܂B
  Sendmail.mc  sendmail.cf ̈ꕔɑgݍ܂̂łBw肷
  ꍇɂ mailers.linux ͎g킸A sendmail.m4 t@CɈȉ
  ̐ݒs܂B

     dnl --- (in sendmail.m4) ---
     define(LOCAL_MAILER_DEF, DELIVER)dnl       # mailer for local delivery

  Sendmail.mc  deliver  /bin ɃCXg[Ă邱ƂOɂ
  ܂BcOȂASlackware 1.1.1 ̏ꍇ͂ȂĂ܂
  (/usr/bin ɃCXg[Ă܂)B̏ꍇɂ́AN𒣂Ă
  ܂Ă邩A deliver \[X蒼 /bin ɃCXg[
  邱ƂɂȂ܂B[̐U蕪ƂȂǁA deliver 
  procmail ̕DĂ邱ƂYȂB

  6.3.4.  sendmail+IDA  dbm e[u

  TCgpEhCpɓȐݒsꍇɂ́A sendmail.cf 𒼐ڕ
  WAIvVƂȂĂA dbm e[u𗘗p
  ł傤B

  ڂ́A 1994 N 7  Linux Journal (܂ł΂̘bł)
  A\[Xt@CɓYt̕A܂Ȃs\ƂȂĂ LDP
  (Linux Documentation Project)  Networking Administration GuideŐV
  QƂĂB

  (: ̕ӂ͏オÂł(^^;)

  o  mailertable   - [gzXgEhC̓ȋ`

  o  uucpxtable    - DNS `̗pĂzXgւ̃[z UUUP
     gp

  o  pathtable     - [gzXgEhCւ UUUP pXw

  o  uucprelays    - ǂmĂ郊[gzXgւ̃V[gJbgpG
     CAX

  o  genericfrom   - AhXO݂ʓIAhXɕϊ

  o  xaliases      - ʓIAhXƓAhX̑ݕϊ

  o  decnetxtable  - RFC-822 AhX DECnet-` ̃AhXɕϊ

  6.3.5.  {ɕKvȂ̂͂ǂ̍ڂB

  C^[lbgɐڑĂāADNS gpĂƂʓIȃTCgA
  邢 UUCP 𗘗pĂAׂẴ[ smart RELAY_HOST o
  R UUCP ŃtH[hĂTCg̏ꍇɂ́Aʂȃe[u̐ݒ
  炭KvȂł傤B

  DEFAULT_HOST  PSEUDONYMS }N̐ݒ́AقڂׂẴVXeŕK{
  łB̓́ATCgƐݒς݂ aliases w肷̂
  B

  [zXgƃ[[gĂȂ̂ȂA̓ݒ肵Ȃ
  Ă܂܂B UUCP zXg̏ꍇɂ UUCPNAME  UUCP ɐ
  肷Kvł傤B

   [[g smart zXg[eBO\ɂ邽
  ɁA RELAY_MAILER  RELAY_HOST ݒ肷邱ƂɂȂł傤B

  [̑tɉp邩 RELAY_MAILER Őݒ肵܂B UUCP TCg
  ꍇɂ UUCP-A Ǝw肷̂ʂłB SMTP 𗘗pÂ
   DNS pĂƂꍇɂ́A RELAY_MAILER ̐ݒύX邱
  ɂȂł傤B

  SLIP TCg̏ꍇɂ́AOẴ[͑ST[rXvoC_ɔC
  ďĂ炤ƂՂȓƂ肽Ȃł傤ˁBɂ́A
  ISOLATED_DOMAINS  VALIDATION_DOMAINS hCƂA
  RELAY_HOST T[rXvoC_̖OɂA RELAY_MAILER  TCP Ƃ
  BAVXeėp[ɎdĂꍇɂ́AO
  ɋĂƂKvłB

  6.4.  Sendmail 8.x

  Berkeley ł sendmail 8.7.x ́A sendmail5 ȍ~̑K͂ȉłƂ
  ͍ŐV̂̂łB Linux ł̃RpCgݍ݂ŃT|[g
  炵̂ɂȂĂ܂B "make linux" 邾ŁAׂĂ
  B

  Berkeley dbm ȂǂɎ͂ŗ́AւɂLinux A[
  JCuɂ낪ĂoCiĂقƂył
  B

  Jason Haar  j.haar at lazerjem.demon.co.uk  Sendmail 8.6.12 fBX
  gr[V͗ǂłĂ܂B sunsite.unc.edu 
  /pub/Linux/system/Mail/delivery/sendmail-8.6.12-bin.tgz  œł
  B\[XɂẲ v8 WIɐݒ肷@ɂĂ̊Ȍ
  Ȑ܂B

  ߂ɍŒKvȂ̂ݒ肷Ƃ̂_łBȂ
  ȉ̗ŎƂ́AƔcĂB

  6.4.1.  8.7.x p mc t@C̗

  sendmail+IDA Ɠ悤ɁA sendmail v8 ł ݒt@C
  sendmail.cf 쐬ۂɂ m4 gp܂Bȉ̗́ÃT
  CgpɗpĂݒł ([OɑMꍇɂ ppp -- C
  ^[lbgA[̎Mɂ uucp gp)B

          dnl divert(-1)
          #---------------------------------------------------------------------
          #
          # this is the .mc file for a linux host that's set up as follows:
          #
          #       - connected to Internet for outbound mail (ppp here)
          #       - connected via UUCP for incoming mail
          #       - domainized headers
          #       - no local mailer (use 'deliver' instead)
          #       - no DNS running so don't canonicalize outgoing via DNS
          #       - all non-local outbound mail goes to the RELAY_HOST over smtp
          #           (we run ppp and let our service provider do the work)
          #
          #                                       vds 3/31/95
          #
          #---------------------------------------------------------------------
          include(`../m4/cf.m4')
          VERSIONID(`linux nodns relays to slip service provider smarthost')dnl
          Cwmyhostname.myprimary.domain myhostname.UUCP localhost
          OSTYPE(linux)
          FEATURE(nodns)dnl
          FEATURE(always_add_domain)dnl
          FEATURE(redirect)
          FEATURE(nocanonify)
          dnl MAILER(local)dnl
          MAILER(smtp)dnl
          MAILER(uucp)dnl
          define(`RELAY_HOST', smtp:my.relay.host.domain)
          define(`SMART_HOST', smtp:my.relay.host.domain)
          define(`UUCP_RELAY', smtp:my.relay.host.domain)
          define(`LOCAL_MAILER_PATH', `/bin/deliver')
          define(`LOCAL_MAILER_ARGS', `deliver $u')

  6.4.2.  Sendmail v8 ɂďX

  IDA `҂ɂ킹΁A IDA  sendmail ɂ͂̑Ⴊ
  ƂƂɂȂł傤B̂Ƃ뎄͎̌܂B

  L[sƂɁA 'runq' ł͂Ȃ 'sendmail -q' Ƒłł
  ܂!

  6.4.3.  CF pbP[W (ҒǋL)

  sendmail.cf 𐶐}NpbP[WƂẮA WIDE Project ̒f
  T񂪍쐬ꂽ CF {ł͗ǂpĂ܂B

  ꎟzz <ftp://ftp.kyoto.wide.ad.jp/pub/mail/CF/> łB{
  ₷ꂽĂ̂ŁA𗘗p̂
  ł傤B

  6.5.  [JzMG[WFg

  ق̑啔 OS Ƃ͈āA Linux ̓[VXeĂ܂
  BāA[J[̔zɂ "lmail", "procmail",
  "deliver" Ƃ悤ȃvOKvłB

  Ƃ͂ĂAŋ߂̃fBXgr[V́Aǂ[JC
  悤ɂȂĂ܂B

  e[JC̎gɂẮAq sendmail5.67b+IDA1.5 ̃o
  CitB

  7.  [UG[WFg̊Ǘ

  7.1.  Mutt

  mutt ̃RpCACXg[Asɖ͋NȂł傤B qmail
  gĂꍇɂ́Apb`𓖂Ă邩 -f IvVtċN邩
  ΁A[J̃[tH_烁[ǂނƂł܂B

  fBXgr[VAbvO[hƁA mutt  "unknown
  terminal error"([̎ނsł) ƂG[bZ[Wo
  ܂B̏ꍇ͒PɍăRpCĂB

  7.2.  Elm

  elm  Linux őSȂɃRpCACXg[Asł
  Bڂ elm ̃\[XƃCXg[̐ĂB
  elm ƃtB^vO𓮍삳ɂ́Ap[~bV 2755 (O
  [v mail) ƂA /var/spool/mail ̃p[~bV 775A O[v
   mail ƂȂ΂܂B

  qmail [U qmail ֗̕ȋ@\̂܂܎gɂ̓pb`܂B
  邢 elm  -f tOtāA[J[tH_w肵
  B

  ӂĂق̂łA elm  MIME T|[gtŃRpCꍇ
  ɂ́A metamail W (R}h) pXɃCXg[ĂȂ
   MIME `̃[舵܂B metamail 
  thumper.bellcore.com A܂͂ "archie" 悩ł
  ܂B

  oCizzgꍇɂ́AȉɎ悤
  "/usr/local/lib/elm/elm.rc" Ƃt@CāARpCɖ
  ܂ꂽzXgƃhC㏑悤ɂĂB

  o  "subdomain.domain" ͂Ȃ̃hCɒu܂

  o  "myhostname" ͂Ȃ̃zXgɒu܂

          #---------- /usr/local/lib/elm/elm.rc ------------------
          #
          # this is the unqualified hostname
          hostname = myhostname
          #
          # this is the local domain
          hostdomain = subdomain.domain
          #
          # this is the fully qualified hostname
          hostfullname = myhostname.subdomain.domain
          #
          #--------------------------------------------------------

  "ăJbR悷" IȂ̂ɂȂ܂A "PGP "  Elm-2.4.24
  Ƃ̂܂BĂ݂ɂ elm-2.4.24  PGP tbN
  ǉ ftp://ftp.viewlogic.com/pub/elm-2.4pl24pgp3.tar.gz 肵
  B coufigure  build ̕@͒ʏ elm ƂقƂǈꏏA
  L̃pb`KvɉēĂKvł傤BȂ݂ɁA
  gĂāAւCɂĂ܂B elm-ME+ ̂悤
  ƐVo[W܂B

   Linux ɌƂł͂Ȃ̂łA elm ɂ̓oOƂ
  (Ԉ) ]܂B elm ͂Ƃǂ傫ȗ̈ malloc()ł
  ƂbZ[W\ėĂ܂AƕƂ܂B
  ɑΏmFꂽ@́Aς̃O[oȃ[GCAX
  (alieses.dir  aliases.pag) 폜邱ƂłB

   elm ̃oOł͂܂Ǎۂ́AoCiŔzzꂽ elm
  RpClݒĂ߂Ȃ̂łB

  elm ̃GCAXt@C͊gĂČ݊܂B̂
  elm GCAXƂĎgpt@C̃pXɂ sendmail/smail gp
  ̂Ƃ͈̂w肵Ȃ΂܂B̖Ɋւ
  ̗ʂ炷ƁAuԂŁvLȃfBXgr[V̏ȂƂ
  AȑOɂ̉߂Ƃ悤łB (catzen.gun.de  Scot (Scot W.
  Stevenson) )

  s metamail pbP[Wɂ csh gpXNvg܂܂Ă
  B csh (܂ tcsh) CXg[ĂȂ΁AƂĂsv
  cȃG[łł傤...

  7.3.  Mailx

  [J mailx vOȂꍇɂ́AʂȋJ͔܂傤 --
  mailx 5.5 ̗DꂽłA Slackware 2.1.0 ȍ~ mailx Lbg
  p邾ł݂܂BvO\[X쐬ꍇɂ́A Linux
  Ńpb`ȂŃRpCɂ "pmake" CXg[Ă
  Kv܂B

   SLS1.00 ̌Â "edmail" łgĂȂ΁A͍폜
  mailx ɒu邱Ƃ߂܂B

  7.4.   Mail HOWTO {ł

  ҒF̐߂́A{̋ Mail HOWTO |󂳂ꂽAƂ񁗂e
  t <ken@gamba.forus.or.jp> AY j <minoura@uni.zool.s.u-
  tokyo.ac.jp> 񂪓{łœƎɒǉꂽłB

  7.4.1.  metamail

   Linux ̖ł͂ȂAʓIȂƂłA[ Subject Ȃ
  ̃wb_ɓ{g߂ɂ MIME GR[hꂽpȂĂ
  Ȃ܂BGR[hĂȂ̃wb_邱Ƃ́A[
  [_ɂĂ͕̌ɂȂ܂B metamail ɂ MIME GR[
  fBO΁Awb_݂̊̂Ȃ炸A摜≹Ȃǂ̃f[^[
  {Ɋ܂߂邱Ƃł܂B metamail  MIME GR[hꂽlbg
  j[Xǂނ߂ɂKvłB (GNUS Ȃǂ̃j[X[_Ăяo
  ܂)

  metamail ͂ƂΈȉ̃TCgł܂B

  o  ftp.iij.ad.jp: /pub/mail/mime/mm2.7/
     <ftp://ftp.iij.ad.jp/pub/mail/mime/mm2.7/>   :

  mm2.7.tar.gz ȂǂƂt@Cœo^Ă܂Bconfig.h ̖`

    #define LINUX

  錾ĂΊȒPɃRpCł܂B

  7.4.2.  VM (View Mail)

  VM  Emacs 痘pł郁!  tH_ă[𕪗ނ@\
  ܂B metamail 𗘗p MIME ǂނƂ̂łpb` (5.35W)
  Ȃǂ܂B

  VM т̃pb`͈ȉ̃TCgȂǂłł傤B

  o  ftp.iij.ad.jp: /pub/misc/elisp/package/vm
     <ftp://ftp.iij.ad.jp/pub/misc/elisp/package/vm/>

  o  ftp.cs.titech.ac.jp: /pub/gnu-rel/vm/
     <ftp://ftp.cs.titech.ac.jp/pub/gnu-rel/vm/>

  킽̌oł́A5.35W ͂ emacs lisp t@C蓮ŃRp
  CȂĂ͂Ȃ܂łAłCXg[͊ȒPłB

  8.  [g[̎舵

  {͂ł́A POP IMAPgă[g̃[@
  B

  ̑ɂ̓[Xv[ NFS ŋLƂi (Ƃ!
  ݂ȂgĂ郍bN̕@͓?jŋ߈ʓIɂȂA WWW-[Q
  [gEFCgiȂǂ܂B

  8.1.  j

  [NXe[Ṽlbg[NɂāA[͏ɔY݂̎łB

  o  "user@computer.foo.com" gBɂ "computer" _E
     ꍇɃlbg[NO҂ɒmĂ܂AlȂ̂ɃRs
     [^ςƕʂ̃AhXɂȂĂ܂AȂǂ̖肪܂B

  o  邢 "mailhost.foo.com" Ƃ[nu̗pāAAhX
     悤ɂ܂B΁AꂼႤRs[^
     ɂlBłA݂ȓAhX甭M悤Ɍ܂B

  ł̏ꍇAe[U͂ǂă[ǂ߂΂̂ł傤H

  rsh  elm g܂傤H :-)

  ƃ[nuׂŃpNĂ܂܂ˁBtH[fBO
  UUCP  SMTP gƂł܂A͂܂G܂B

   POP/IMAP ̓ołBǂɂ̓ZLeB̖肪
   (Vo[Wł ssh g悤ɉǂ܂)B[J
  [zvOKvȏꍇL܂ (Ⴆ elm gꍇ
  Ȃ qmail, smail, vmail ȂǁB mozilla gȂ炻ȎԂ͂܂
  I)BłƂɂA[̑M͒PɂȂ܂B

  8.2.  [̎擾

  ȉ POP ̎Ȍ_L܂B

  o  pX[h̓lbg[Nɕőo܂B

  o  ܂͑vłA POP ɑΉ[gĂ (Ⴆ
      Pine, Emacs, Mozilla, Netscape, Mutt, IE, Pegasus, Eudora,
     Claris ȂǂȂ)

  o  [~O (̃Rs[^烁[ǂ) ȂA
     gĂRs[^Ɉo[ɂ̎ɂȂ肩˂܂
     B

  o  POP T[ovOɂẮiႦ qpopper  ipop3djgp
     [nuɔɍׂ^錴ɂȂ܂B[nu
     [cȂݒɂAPOP T[ovO cucipop ̂悤
     ȌŷɂA܂ inetd oRŋN̂߂肷邱Ƃ
     ĂB

  pX[h̖́A POP ̒ʐMHÍ APOP  RPOP ̂
  Ȋg@\gp邱Ƃŉł܂B[[_̖́A[
  [_Ă܂ ([Uċ炷J͂͌yȂق
  ł)A邢 POP MvOƃ[J̃[vOƂ
  p邱Ƃŉł܂B

  IMAP  POP 肨߂ł悤ȏ󋵂낢날܂BႦ΃
  [gANZX (ƂɃ[~OANZX) ꍇȂǂłB POP g
  ̂̓pX[h̓CɂȂł LAN ̓Ɍ肷ׂ
  傤B Mark Aitchison  hosts.deny  hosts.allow g@
  |[gĂ܂iNet-3 HOWTO ĂA POP  inet
  oRŋN邱ƂOɂĂ܂)B

  [[nuɎcǂ߂ɂ́A[nu@̃fBXNe
  ʁEobNAbv̂₷E[̃ZLeBE[~O
  ǂAȂǂlKv܂B܂ǂ̂őP͂
  gDɂ킯łB񂱂̏ꍇA[lɓǂ܂ȂƂ͕ۏ
  ł܂񂪁AȂƂl[폜邱Ƃ͂ł܂BSĂ
  [ PGP ÍĂȂAꂪx^[ȉł傤B

  ߂ POP vO܂B

  o  gwpop (a Good Way to POP) ́AÍꂽʐMHgpA[
     ڃXv[ɕۑ邽߁AƂĂSłB Perl Kv
     B

  o  popclient ͊ȒPɎg܂B

     Ⴆ΃OC john ŃpX[h PrettySecret Ȃ΁Â
     ɋN܂B

       $ popclient -3 -v mail.acme.net -u john -p "PrettySecret" -k -o JOHN-INET-MAIL

  (: ̕@ɂ́A ps axuww ȂǂƂ΁Ã}VɃOC
  Ă郆[UȂNɂłpX[hĂ܂ƂȌ_
  ܂BTڂɌĂA܂߂ł܂)

  o  fetchmail ͊ɃT|[gĂāAgɊȒPłBݒ
      ~/.fetchmailrc t@CōŝŁA[擾鎞ɂ
     fetchmail Ǝs邾łB

      .fetchmailrc ͂ȓełB

       poll mail.server protocol pop3:
               forcecr
               password PrettySecret;

  (: Ȃ̃pX[hLȏA chmod 600 .fetchmailrc Ȃ
  ƂāÃ[U .fetchmailrc `Ȃ悤ɂĂ)

  fetchmail  (RFC Ɍiɏ) qmail ƕpۂɂ́A forcecr
  IvVKvȂƂɂӂB

  8.3.  [̑M

  Mɂ SMTP Ή̃\tgEFAAႦ qmail, smail, vmail ܂
  mozilla (̓[[_APOP MASMTP MƑSĂȂ܂)
  KvłB

  ܂łɏqׂZNVɏ]āACɓ̂CXg[Đ
  肵ĂBāuMvɂA[nũ[J
  ȃAJEgɑMĂ݂܂傤B

  8.4.  [ǂ

  g̃vOɑS̋@\ĂȂĂA elm, pgp, mush,
  pine ... ƂAt[œł鑽̗DꂽvO Linux 
  ͓삵܂ACXg[ OK łB

  8.5.  eXg

  g̃[nu POP T[oĂ邩͂Ēׂ܂B

       $ telnet mailhost 110

  ܂΁A"OK Pop server (...) starting" Ƃ悤ȃbZ[
  W\ł傤B "quit" Ɠ͂ďI܂B

  ssh ňÍꂽuʐMHvCXg[ɂ́A܂ȉ̂悤ɂ
  ă[nu𒲂ׂ܂B

       $ ssh mailhost date

  t\Αvł傤B ssh pX[h𕷂ĂȂ悤
  ɂɂ́ANCAg̖O ".shosts" Ƃt@C[
  nuɍKv܂B gwpop gp ssh ̃|[g]eX
  gɂ͂܂B

       $ ssh -n -f -L 12314:localhost:110 mailhost sleep 30

       

       $ telnet localhost 12314

  ܂ POP T[o̊JnbZ[W\ł傤B ssh g
  ȂƂɂ gwpop ̃XNvg $ssh RgAEĝ
  YȂB procmail Ă邩mFɂ  "procmail -v" 
  ݂ĂB

  8.6.  p

  Agwpop  Perl XNvgҏWđSĂ OK m߁A gwpop
  s܂傤B

       $ gwpop -v your-username
       POP password on mailhost: yoursecretpasword

   gwpop ́uG[bZ[WvȂ΁A[nũ[
  gwpop Ɏw[JzXg̏ꏊɃ_E[hꂽ͂ł (
  ʂ[̂ԂŎ܂傤)B

  gwpop ̓f[ƂēƂł܂B

       $ gwpop -d $HOME/tmp your-username

   gwpop ͏풓AbZ[W syslog ɑ܂B gwpop  HUP
  VOi𑗂΃[IɎ擾邱Ƃł܂B

  POP \tgEFA͂炩ł܂B

       ftp://ftp.unina.it/pub/Unix/pkgs/network/mail/gwpop
       ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail
       http://www.cs.hut.fi/ssh/

  9.  ӎ

  ȉ̕XAƌoƂ܂ƂߏグA̕`
  Ă܂B

  Steve Robbins, Ian Kluft, Rich Braun, Ian Jackson, Syd Weinstein, Ralf
  Sauther, Martin White, Matt Welsh, Ralph Sims, Phil Hughes, Scot
  Stevenson, Neil Parker, Stephane Bortzmayer, đ傫ȍvĂ
   Vince Skahan ɂ͓Ɋӂ܂B

  Eric S. Raymond ͂̕ҏWÅԈႢAނ
  Mail User's HOWTO udq[͂ǂ̂悤ɓ삷邩v̏͂]ڂ
  邱ƂĂ܂B

  NYĂ炲߂ȂB̏ꍇ̓[ŋĂ!

  10.  {ɂ

  ̓̕{ Linux Japanese FAQ Project s܂B̎w
  E₲ӌȂǂ́AvWFNg(<JF@linux.or.jp>) ɂ肢܂B

  藚ȉɎ܂B

     Mail-HOWTO, 29 November 1995
        Mail-User-HOWTO  Mail-Administrator-HOWTO ({) Ƃɕ
        O̕łBƂ񁗂et <ken at
        gamba.forus.or.jp> ƖY j <minoura at uni.zool.s.u-
        tokyo.ac.jp> |󂳂܂B

     v3.1j, 25 December 1999
        ȉ JF Project o[ɂ|󂳂܂B

        o:

     o  P <fujiwara at linux.or.jp>: 1-4 , 6  (6.2), 9 

     o  JG <jeanne at mbox.kyoto-inet.or.jp>: 5 

     o  m <cz8cb01 at linux.or.jp>: 6  (6.1)

     o   <rsato at ipf.de>: 6  (6.3-6.5)

     o  Yuichi ITO <kade at kadesoft.com>: 7-8 

        ZERg:

     o  eJ  <kikutani at sprintmail.com>

     o   r <xlj06203 at nifty.ne.jp>

     o   L <tak at Polytype.cc.kochi-u.ac.jp>

     o    <mizuhara at acm.org>

     o    <j96418 at cc.nagano-nct.ac.jp>

     o  X{ ~ <morimoto at xantia.citroen.org>

     o   Y <nakano at apm.seikei.ac.jp>

