
                           The Linux Mail User HOWTO
                                       
: John [1]esr@thyrsus.com
: ս [2]softsprite@yeah.net

   v2.2, 07 May 1999 : 9 Feb 2000
     _________________________________________________________________
   
   ĽLinuxµĵʼ (email) 硣ҪͨISPļͥС
   ûûӦú͵áƻͨʼڱػԶͨѶ
   ĻҪĶġ㲻Ҫػⲿû
   Ļͺܿȷʵ  ҪĶġҪõú͹ʼ
   ϢĶMail Administrator HOWTO
     _________________________________________________________________
   
1. 

     * 1.1 ĵ°汾
     * 1.2 ʼҪӲ
     * 1.3 ʼԴ
       
2. ʼû(MUA)

     * 2.1 ʼд 
     * 2.2 mutt
     * 2.3 elm
     * 2.4 pine
     * 2.5 Netscape
     * 2.6 Emacs rmail/smail  vm.
     * 2.7 BSD mail
     * 2.8 û
       
3. ߼

     * 3.1 
     * 3.2 ת
     * 3.3 Զظ
     * 3.4 ʼб
     * 3.5 ʼ
     * 3.6 Coping with spam
       
4. ϢԴ

     * 4.1 USENET
     * 4.2 鼮
     * 4.3 ڿ
     * 4.4 Where NOT to look for help
       
5. ÿظԵʼ

     * 5.1 ظ
     * 5.2 ȨϢ
     * 5.3 Standard Disclaimer
     * 5.4 л
     _________________________________________________________________
   
1. 

   ĵĿ춽͵ʼιģһشһЩLinuxйص
   ľ⡣
   
   ִLinuxа汾ṩһԤúáʹõĵʼϵͳͨ
   sendmail-v8 ĽѾ߱ϵͳԼInternet
   
   
   (Ҫõ PPP  SLIP һ ISP йϢ [3]ISP
   Hookup HOWTO )
   
   ˣ Vince Skahan's 1.x 汾ľ۽ûʵֺ͹ϡɾ
    UUCPIDA ༼ϸڡ
   
1.1 ĵ°汾

   HOWTOÿһη [4]comp.os.linux.answers Ҳ
   [5]http://metalab.unc.edu/LDP/HOWTO/Mail-User-HOWTO.html ıHOWTO
   °汾
   
1.2 ʼҪӲ

   LinuxµʼϵͳûӲҪӵӵInternetı
   ӲЩ㹻֧ʼϵͳС
   
1.3 ʼԴ

   ҪĵʼϵͳܿѾԤװLinuxа汾СҪ
   汾ĻԵ [6]Metalab LinuxArchive ر [7]mail
   subdirectory
   
2. ʼû(MUA)

   ڰûϢҲûֱʹõ
   Mail Administrator's HOWTO (лûú͹Ͻ)
   Ĵʹ (MTA) 
   
2.1 ʼд

   ʼûһЩ༭дʼ༭һȱʡ
   unix Լ VISUAL ڣʹָı༭Ϊѡ
   ༭ʹ EDITOR ָı༭
   
    EDITOR ֵ 'vi'  'emacs'һ
   Emacs ĻЧķ  EDITOR Ϊ 'emacsclient'
    .emacs ļС
     _________________________________________________________________
   
(autoload 'server-edit "server" nil t)
(server-edit)
     _________________________________________________________________
   
    emacsclient ʼʱͼѾе Emacs ʵ
   ֮ͨѶϵ Ӧ Emacs ༭ʼʱļ ʼϵ
   ͳñ༭ʱ Emacs лᵯһʼдڡ
   
   дʼ׼ʱ C-x #  ʼʾʧ
   ʼϵͳõ emacsclient أȨʼϵͳ
   
   һδ򿪶 emacsclient ʵǿеģŪ Emacs ǣ
   emacsclient ʵһ Emacs Ū emacsclient 
   رе Emacs ʵֻ֤һ Emacs
   
2.2 mutt

   ʹòƼġmutt ̳ elm ȱʡʹƵǿ
   á
   
   Ϊ POP3  IMAP ĿͻˣҶ MIME  PGP мõ֧
   Mutt ҳ [8]http://www.mutt.org
   
   Mutt  EDITOR/VISUAL Լ
   
2.3 elm

   Elm ǵһִĻ Unix ʼϵͳѾֹͣѱ Mutt
   ȡ һЩ汾 elm ö POP3 ֧֡ҪõϢο
   [9]Metalab mailuser agents directory
   
   elm ֧ PGPй PGP Ĳ Mutt  PGP ָ֧߼
   ʹ PGP ĻƼ Mutt
   
   Elm  EDITOR/VISUAL Լ
   
2.4 pine

   Pine ΪѧƵûĶõ IMAP ֧֡
   ˲ϲҾ ̫٣ԽϲԴı༭ʹ
   áǣ IMAP ּ֧áõ ĻԵ
   [10]http://www.washington.edu/pine
   
   Pine  EDITOR/VISUAL Լ
   
2.5 Netscape

   Netscapeö POP3  IMAP ֧֣Ϊһʼûʹá 
   ƼΪרΪ MUA Ƶģ˲һ MUA
   ṩķ( PGP ֧)
   
   Netscape ṩһԴСͱ༭
   
2.6 Emacs rmail/smail  vm.

   Emacs һܷ͵ʼģʽΪ smailԼһܽĶʼģʽ
   Ϊ rmail ȫ Emacs дʼʱ smail ģʽǷǳ
   (ڱĵط Ĺ [11]emacsclient )
   
   һ棬rmail ģʽֵƼÿһ rmail ģʽǽ
   ת BABYL ʽͨʼ߽˶޷(һ
    Emacs м M-x unrmail )
   
   һ֧ emacs ʼĶ 'vm'Զд׼ V7 ռ䡣û
    GNU Emacs һ𷢲Էҳ
   [12]http://www.wonderworks.com/vm/
   
   Emacs smail/rmail/vm  EDITOR/VISUAL ԼΪʹ
   Ƕ Emacs
   
2.7 BSD mail

    Linux ׼ Unix  shell м򵥼 'mail'͵
   BSD Mail ĳ汾Ϊն˷ʽƵ档
   Ϊʷԭڡ
   
   BSD Mail  EDITOR/VISUAL Լ
   
2.8 û

   һЩ֪Ŀ Linux еʼûʹ
   archie ҵ...
   
     * mush - mail user's shellʼ˺湦ǿ
     * mh - mail handler
       
   Ҷ mh  mush ˽ⲻ࣬޷˵øϸЩǶ൱ӵĽ棬
   ΪƵġ
   
3. ߼

3.1 

   һٵַʼתͶһʼֱַMUA 
    MTA 
   
   MUA  MUA õĸ˵ַټǡûܿʹ
   £
     _________________________________________________________________
   
alias esr       Eric S. Raymond <esr@thyrsus.com>
     _________________________________________________________________
   
    mutt ļд ⽫ mutt ַг
   'esr' ʱ俴 'esr@thyrsus.com'ߵ 'mutt esr' ʱַ
   չд 'to' С
   
   MTA  MTA չԱػԶ̵ʹá Ҫ MTA 
   ޸ϵͳļͨ() /etc/aliases (λ
   MTA й) Բһϵͳϵ /etc/aliases ⽫а
   ļ԰׼ 'postmaster'
   
    MTA ҲĿһļ⽫Ϊһʼ
   еռ(ַʽԴ浵ʼǳ)ҲĿһ
   ַʽʼΪóʵı׼롣
   
3.2 ת

   MTA ͨҪ߱ԱȨޡͨʼûֵϲǿ
   ʹתĸʼҪԱȨޡ
   
   Ϊʵһܣ MTA  sendmail ׼Ŀ¼² .forward
   ļ ļݱͳɱĿ꣬Խʼõ
   תʼһ̨
   
3.3 Զظ

   .forward һùתʼһ 'vacation' 
   ʼԶ¼ƺõĻظڶɼ٣Ԥ޷
   أʹøùԶظʼ
   
   ûһ׼Զظԭһһô
    shellscript д()Զظʼбл໥
   á
   
   ԶظǰҪʱ˶еʼбĵʼб
   Զظʼûһַǳ³Ϊɼٻʱ
   ܵġ
   
3.4 ʼб

   ʼбһַʼֹһ˵ļٵַ
   
   򵥵ĸʽУʼַֻһжյַ MTA  һЩ
   smail ʼбַʽάġSendmail ʹ /etc/aliasesڱ
   Ŀַзʼбַļʾ
     _________________________________________________________________
   
admin-list:     ":include:/usr/home/admin/admin-list"
     _________________________________________________________________
   
   ַʽ admin-list ļԷûȨûκεط
   һЩ MTA ҲʹƵķ
   
   ּ򵥵бͨ 'mail reflectors'ַʽ⡣һ
   ķϢеûһеĶĺ˶ʼ
   бֹɡ
   
   һ౻Ϊ mailing list manager ԽЩ⡣Ҫ
   ܾʼбûĺ˶ȥάб
   
   ʼбûбϢͨ /etc/aliases еĳ
   MTA һ 磬Ϲбͨ sendmail ϵͳһΪ
   SmartList ʼбʱ/etc/aliases ļеĲݿʾ
   
     _________________________________________________________________
   
admin-list: "|/usr/home/smartlist/bin/flist admin-list"
admin-list-request: "|/usr/home/smartlist/bin/flist admin-list-request"
     _________________________________________________________________
   
   עֻǱһ֡Լʵʼбһ request address 
   ûĺ˶ʼбַͶĻ˶ΪǴ³
   ֪Ϊǧɱ
   
   request address ṩ/˶ܡӦѯ
   ˭бУԶббƶ֪
   ͶݣһͶʱԶĵķǳԱбòͬİȫѡ
   
   Mailing-list managers differ primarily in the design and range of
   these secondary features.
   
   ܲңʼбʾûб׼еڴУе
   жڴʼСעһζʱصʼϢ
   ϰǱЩʼռ䡱Թο
   
   ʼб majordomo, listserv, listproc  smartlist
   majordomo еġϢԲο [13]list 
   
   ʼбϢο [14]List-Managers Mailing List
   
3.5 ʼ

   mail filter һ뱾Ͷݴ֮ĳ㿴ʼ֮ǰԶ
   ͻܾʼ
   
   ʼ÷ҪǹˣͶʼ
   ռ䣬Զظʼ
   
   ͵أͨ .forward ļзһ˳дһ
   ˹ļʼˡ˹ļĸʽλڲͬĹ˳
   ֮ǲͬġ
   
    Chris Lewis's Email Software Survey  [15]part 3 йҪ
   ʼ˳(procmail, mailagent  deliver)صҪе
    procmailĹ䷨ǳáprocmail  Linux ձ鶼ṩ
   ΪϵͳͶݴʹá
   
3.6 Coping with spam

   Spam ʱΪ 'UCE' (Unsolicited Commercial Email)  'UBE'
   (Unsolicited Bulk Email)ֵİʾӦָĹ
   ʼ( 'spam' һ Monty Python ķϷЦһȺ
   ͣس "Spam spam spam ...")
   
    spam ɽ͵ջɫд˵ɡ spam (
   ׬Ǯ)Ѿ൱ȹ̡Spam ֪߳ʱ˷Ѻ
   ľ޴ѡ
   
   spam 1997൱УȻһ൱顣
    spam û [16]Fight Spam on the Internet!
   [17]Death To Spam! ҳйֹ spam ൱ЧĽܡ
   
4. ϢԴ

4.1 USENET

   춵ʼ۵飺
   
     * [18]comp.mail.elm the ELM mail system.
     * [19]comp.mail.mh The Rand Message Handling system.
     * [20]comp.mail.mime Multipurpose Internet Mail Extensions.
     * [21]comp.mail.misc General discussions about computer mail.
     * [22]comp.mail.multi-media Multimedia Mail.
     * [23]comp.mail.mush The Mail User's Shell (MUSH).
     * [24]comp.mail.sendmail the BSD sendmail agent.
     * [25]comp.mail.smail the smail mail agent.
     * [26]comp.mail.uucp Mail in the uucp environment.
       
4.2 鼮

   һЩõ顣
   
     * ``Sendmail" from O'Reilly and Associates ǹ sendmail-v8 
       sendmail+IDA ȨĲο sendmail ֲڴ
       ͷѪ˵ıرο顣
     * "The Internet Complete Reference" from Osborne һܺõĲο飬
       ˻ԴšʼȷϢ
     * "The Linux Networking Administrators' Guide" from Olaf Kirch of
       the LDP ϿҵҲ O'Reilly and SSC 档˹
       UnixҪյ֪ʶ
       
4.3 ڿ

   ֵἰ Chris Lewis periodic posting on unix e-mail software
    [27]ftp://rtfm.mit.edu/pub/usenet/comp.mail.misc 
   ``UNIX_Email_Software_Survey_*'' һ HTML 汾
   [28]http://www.faqs.org/faqs/mail/setup/unix/
   
4.4 Where NOT to look for help

    Unix ԣLinux¹úʼϵͳûʲĵط
   ˣȷûбҪ comp.os.linux.* 鷢ͨʼص
   ⡣
   
   㷢 Linux  (磬 'please tell me what routers
   are already compiled into the SLS1.03 version of smail3.1.28')
   ᵽ֮һ⡣
   
   ظһ顣
   
   û comp.os.linux ϵ鷢κʼص⡣
   comp.mail.* ϵйĴ𰸡
   
    comp.os.linux.* Ϸ Linux ص⣬㽫ڴĵط
   ʼרҶᵽУͨ Linux С
   
    Linux з Linux ˷˵ʱ...ͨ
   ⡣
   
5. ÿظԵʼ

5.1 ظ

   ( Vince дҵĹ۵һ)
   
   ϲ춱ĵκο϶Ļ񶨵Ļظ㷢ִñ߳
   ֱϵҡ
   
   һῴյʼ֤һظȡ춿աʱ䡢ļֵ
   ԼÿѪѹ :-)
   
   ĴŽ /dev/null 
   
   In particular, the Linux filesystem standard for pathnames is an
   evolving thing. What's in this document is there for illustration only
   based on the current standard at the time that part of the document
   was written and in the paths used in the distributions or `kits' I've
   personally seen. Please consult your particular Linux distribution(s)
   for the paths they use.
   
   Feedback concerning the actual format of the document should go to the
   HOWTO coordinator - mail to [29]linux-howto@metalab.unc.edu).
   
5.2 ȨϢ

   The Mail-HOWTO is copyrighted (c)1999 Eric S. Raymond. Copyright is
   retained for the purpose of enforcing the Linux Documentation Project
   license terms.
   
   A verbatim copy may be reproduced or distributed in any medium
   physical or electronic without permission of the author. Translations
   are similarly permitted without express permission if it includes a
   notice on who translated it.
   
   Short quotes may be used without prior consent by the author.
   Derivative work and partial distributions of the Mail-HOWTO must be
   accompanied with either a verbatim copy of this file or a pointer to
   the verbatim copy.
   
   Commercial redistribution is allowed and encouraged; however, the
   maintainer would appreciate being notified of any such distributions
   (as a courtesy).
   
   In short, we wish to promote dissemination of this information through
   as many channels as possible. However, we do wish to retain copyright
   on the HOWTO documents.
   
   We further want that all information provided in the HOWTOS is
   disseminated. If you have questions, please contact the Linux HOWTO
   coordinator, at linux-howto@metalab.unc.edu.
   
5.3 Standard Disclaimer

   Of course, we disavow any potential liability for the contents of this
   document. Use of the concepts, examples, and/or other content of this
   document is entirely at your own risk.
   
5.4 л

   This was originally authored by Vince Skahan. I have rewritten it for
   the modern ISP-centric world in which UUCP is little more than a
   memory.
   
   In May 1999, the name was changed from "The Linux Electronic Mail
   HOWTO" to avoid a collision with Guylhem Aznar's Mail HOWTO, which
   will become the Mail Administrator HOWTO.

References

   1. mailto:esr@thyrsus.com
   2. mailto:softsprite@yeah.net
   3. http://metalab.unc.edu/LDP/HOWTO/ISP-Hookup-HOWTO.html
   4. news:comp.os.linux.answers
   5. http://metalab.unc.edu/LDP/HOWTO/Mail-User-HOWTO.html
   6. http://metalab.unc.edu/pub/Linux
   7. http://metalab.unc.edu/pub/Linux/system/mail
   8. http://www.mutt.org/
   9. http://metalab.unc.edu/pub/Linux/system/mail
  10. http://www.washington.edu/pine
  11. file://localhost/tmp/zh-sgmltools.28364/Mail-User-HOWTO.txt.html#emacsclient
  12. http://www.wonderworks.com/vm/
  13. http://www.catalog.com/vivian/mailing-list-software.html
  14. http://www.greatcircle.com/list-managers/
  15. http://www.faqs.org/faqs/mail/setup/unix/part3/index.html
  16. http://spam.abuse.net/
  17. http://www.mindworkshop.com/alchemy/nospam.html
  18. news:comp.mail.elm
  19. news:comp.mail.mh
  20. news:comp.mail.mime
  21. news:comp.mail.misc
  22. news:comp.mail.multi-media
  23. news:comp.mail.mush
  24. news:comp.mail.sendmail
  25. news:comp.mail.smail
  26. news:comp.mail.uucp
  27. ftp://rtfm.mit.edu/pub/usenet/comp.mail.misc
  28. http://www.faqs.org/faqs/mail/setup/unix/
  29. mailto:linux-howto@metalab.unc.edu
