11 L i n u x p i n e M e s s e n g e r P P P I S 11.1 s e n d m a i l U N I X O p e n L i n u x U N I X O p e n L i n u x O p e n L i n u x s e n d m a i l O p e n L i n u x ( 11-1 ) 11-1 O p e n L i n u x b i ff c o o l m a i l e l m f a s t m a i l f e t c h m a i l f r m, n f r m m a i l m e s s a g e m l m u s h m u t t Netscape Messenger p i n e p r i n t m a i l X 11 3 D P O P I M A P E T R N X 11 s h e l l M u t t C o m m u n i c a t o r n e w m a i l w n e w m a i l
11 181 p r o c m a i l r e a d m s g x b i ff x f m a i l x m a i l b o x x m h X 11 X 11 X 11 X 11 P P P 1. P P P 2. 3. J u n o L i n u x / u s r / d o c / H O W TO Guylhem Aznar M a i l - H O W TO fetchmail I S P 10 I S P I P / u s r / b i n f e t c h m a i l f e t c h m a i l Eric S. Raymond e s r I S P f e t c h m a i l POP2 Post Office Protocol 2 POP3 Post Office Protocol 3 RPOP Revised Post Office Protocol APOP Advanced Post Office Protocol KPOP K Post Office Protocol K CompuServe POP3 with RPA C o m p u S e r v e R PA POP 3 SDPS IMAP Internet Mail Agent Protocol ESMTP ETRN I S P I S P O P 3
182 A P O P I M A P I S P f e t c h m a i l - p I S P - u f e t c h m a i l I S P I S P I S P - k OpenLinux 1.3 fetchmail (4.0.7) 4. 7. 4 ftp://metalab.unc.edu /pub/ Linux/ system/ mail/ pop h t t p ;// w w w. t u x e d o. o rg/ ~esr/ fetchmail. r p m. t g z f e t c h m a i l. f e t c h m a i l r c - f e t c h m a i l r c I S P. f e t c h m a i l r c f e t c h m a i l r c poll mailserver protocol POP3 username yourusername password yourpassword. f e t c h m a i l r c m a i l s e r v e r I S P p o p. e r o l s. c o m P O P 3 I S P y o u r u s e r n a m e y o u r p a s s w o r d # fetchmail f e t c h m a i l - d f e t c h m a i l # fetchmail -d 300 f e t c h m a i l - c # fetchmail -c 2 messages for bball at pop.erols.com ( 3435 octets ). / v a r / s p o o l / m a i l
11 183 f e t c h m a i l I S P I S P s e n d m a i l l i s a Configure daemon/server a u t o s t a r t ( / ) Mail Tr a n s f e r A g e n t ( ) ( ) 11.2 Mail L i n u x m a i l e l m p i n e 11.2.1 mail m a i l / b i n m a i l # mail tball@mcp.com Subject : Howzit going? Hope everything is OK with you. Just wanted to drop a quick line!. E O T m a i l Subject :. m a i l I S P f e t c h m a i l m a i l
184 m a i l / v a r / s p o o l / m a i l & > m a i l t n + - h d R r q m b o x x m b o x s h e l l # mail -s How is it going? myfriend@somewhere.com < mymessage.txt m a i l - s m y m e s s a g e. t x t m a i l m a i m a i l 11.2.2 elm e l m Dave Ta y l o r E l m X 11 p i n e e l m e l m e l M a i l # elm Notice : This version of ELM requuires the use of a.elm directory in your home directory to store your elmrc and alias files. Shall I create the directory.elm for you and set it up ( y / n / q )? Y e l m m a i l p i n e
11 185 m a i l m a i l # elm -s How is it going? bball@staffnet.com < author. m s g Sending mail... Mail to bball@staff n e t. c o m mail sent! e l m 11-1 11-1 e l m e l m e l o 11-2 E ( d i t o r ( p r i m a r y ) ) <. e l m e l m r c 11-2 e l m e l m / u s r / d o s / e l e l m http:// www.myxa.com/ elm.html 11.2.3 pine p i n e p i n e Pine Is No longer Elm p i n e
186 E l m / u s r / b i n p i n e U s e n e t U s e n e t 12 p i n e p i n e p i c o L i n u x p i c o p i n e 14 p i c o p i n e # pine Creating subdirectory /home/bball/mail where Pine will store its mail folders. P i n e m a i l. p i n e r c 11-3 11-3 p i n e X 11 p i n e I S P I S P p i n e p o s t p o n e p i n e I S P p i n e s c 11-4 p i n e 11-4 p i n e s m t p n n t p
11 187 I S P I S P I S ep i n e. p i n e r c p i n e c 11-5 p i n e 11-5 p i n e ( f i l e a t t a c h m e n t ) A t t c h m n t 11-2 p i c o 11-2 pine Ctrl + B Ctrl + H Ctrl + C Ctrl + D Ctrl + K Ctrl + N Ctrl + F Ctrl + H Ctrl + R Ctrl + J Ctrl + A Ctrl + E Ctrl + @ Ctrl + V Ctrl + Y ( ) Ctrl + O Ctrl + T Ctrl + P Ctrl + W
188 C t r l + X C t r l + O I S P p i n e / v a r / s p o o l / m a i l m a i l I N B O X p r o c m a i l p r o c m a i 11-6 11-6 p i n e p i n e p i n e? 11.2.4 Messenger M e s s e n g e r C o m m u n i c a t o X Netscape Navigator C o m m u n i c a t o r N e t s c a p e M e s s e n g e r n e t s c a p e - m a i l # netscape -mail & 11-7 E d i t P r e f e r e n c e s P r e f e r e n c e s Mail & Groups I d e n t i t y e m a i l 11-8
11 189 Netscape Messenger H T M L N e t s c a p e m a i l e l m p i n e H T M L Mail & Groups ( ) M e s s a g e ( ) M e s s a g e ( ) Message Properties ( ) HTML message 11-7 Netscape Messenger X 11 11-8 M e s s e n g e r I d e n t i t y ( ) e m a i l ( ) Mail Server 11-9 I S P I S P Incoming mail server
190 11-9 M e s s e n g e r Mail Server ( ) I S P Outgoing mail server l o c a l h o s t I S P More Option ( ) M e s s e n g e r O K M e s s e n g e r Get Msg 11-7 M e s s e n g e r O K M e s s e n g e r M e s s e n g e r M e s s e n g e r M e s s e n g e r New Msg M e s s e n g e r C o m p o s e 11-10 11-10 M e s s e n g e r C o m p o s e ( ) We b
11 191 To : e m a i l Subject : C o m p o s e A t t a c h F i l e A t t a c h C o m p o s e Send Now 11.2.5 http: //www.lsoft.com/ lists/ listref.html O p e n L i n u x O p e n L i n u x m a j o r d o m o @ r i m. c a l d e r a. c o m subscribe caldera-users youremailaddress@yourisp.com m a j o r d o m o @ r i m. c a l d e r a. c o m h e l p ( ) C a l d e r a C a l d e r a O p e n L i n u x m a j o r d o m o @ r i m. c a l d e r a. c o m subscribe caldera-users-digest yourmai l address@yourisp.com 11.3 procmail ( )
192 / u s r / b i n p r o c m a i l. p r o c m a i l r c p i n e m a i l. p r o c m a i l p r o c m a i l MAILDIR = $HOME/ mail PMDIR = $HOME/.procmail INCLUDERC = $HOME/.procmail/ rc.mailfilter. f o r w a r d IFS = & & exec /usr/ bin/ procmail -f- exit 75 # username p r o c m a i l u s e r n a m e c h m o d. f o r w a r d # chmod 644.forward # chmod a + x. m k d i r. p r o c m a i l r c. m a i l f i l t e r p r o c m a i l F r o m : To : S u b j e c t : British MG Subject : mgs@autox.team.net digest #905 Mon Nov 17 10 : 09 : 07 MST 1997 m g d i g e s t r c. m a i l f i l t e r : 0 : * ^Subject :.*digest m g d i g e s t d i g e s t m g d i g e s t C a l d e r a m y d i g e s t
11 193 p r o c m a i l : 0 : * ^ From:.*aol.com A O L? L i n u x / d e v / n u l l h o t l i p s 4 u. c o m : 0 : ^ From :.*hotlips4u.com / d e v / n u l l ( ) U N S U B S C R I B E ( ) b o n e h e a d @ s p a m m e r s. c o m p r o c m a i l p r o c m a i p r o c m a i l p r o c m a i l e x p r o c m a i l p r o c m a i l Nancy McGough Filtering Mail FA Q c o m p. m a i l. m i s c c o m p. m a i l. e l m c o m p. m a i l. p i n e U s e r n e t 11.4 O p e n L i n u x C D - R O M 11.5 I S P f e t c h m a i l
194 f e t c h m a i l I S P s e n d m a i l f e t c h m a i / u s r / d o c / f e t c h m a i l f e t c h m a i l FA Q Microsoft Exchange C o m p u S e r v e / u s r / d o c / f e t c h m a i l f e t c h m a i l FA Q O p e n L i n u x P P P f e t c h m a i l I S P O p e n L i n u x X 11 n e w m a i l b i ff f e t c h m a i l connection failed f a i l e d temporary name server error. I S P P P P. f e t c h m a i l r c I S P 11.6 1. x m h m u t t x f m a i l 2. p r o c m a i l s p a m