1 1) What's "gnus-offline (Gnus Offline Backend Utility)" ?
2 =========================================================
4 This program is a utility for T-gnus that handles messages
5 (i.e. mail and news) in the "offline" state in a more simple way.
7 It is basically designed for "gnus-agent". (See info about gnus-agent.)
9 You can also use it with a function "nnspool"(*1) (which needs an
10 external program such as "gnspool"(*2) ), or with "miee.el"(*3) for
11 posting and/or sending messages.
13 (*1) See info about nnspool.
14 (*2) gnspool comes with a newsreader "gn".
15 (*3) The latest version of miee.el (or MIEE) is available at
16 http://www.shiojiri.ne.jp/%7Et-ichi/meadow.html
18 You can handle messages in the offline state without "gnus-offline",
19 but "gnus-offline" provides a simple way for setup and operation.
23 o Simple configuration -- An "INTERACTIVE" configuration to set
26 o Simple operation -- Type "g" in the *Group* buffer, and gnus-offline
29 o Send mails & post news articles
30 o Fetch new mails & articles
33 (*) For dialing and hanging up, external softwares are needed.
34 But you can do without ones if you connect and disconnect
37 This document is written mainly for the case using "gnus-agent" with
38 gnus-offline.el bundled in T-gnus 6.12.0 or later.
43 As you are reading this document, this version of T-gnus includes
44 gnus-offline. Installation is simple. "make install" will
45 automatically install "gnus-offline".
50 o First, you must do a general setup for T-gnus (See info about the
53 o Add the following code to ~/.emacs
55 (autoload 'gnus-plugged "gnus-agent" nil t)
56 (autoload 'gnus-unplugged "gnus-agent" nil t)
58 o Add the following code to ~/.emacs
61 (gnus-setup-for-offline)
63 o Add the following code to ~/.gnus
67 o Restart Emacs. gnus-ofsetup.el will ask you some questions and
68 create ~/.gnus-offline.el. (*)
70 (*) If you don't know how to answer some questions, typing "TAB"
71 key may show you the possible answers. See the next section
72 which explains the user options.
73 You will also be asked whether to save the POP password in
74 ~/.newsrc.eld or not. Answer it carefully. See section 6)
77 o At the first time, you must start Gnus in the online state
78 (by M-x gnus-plugged) and decide which groups to subscribe (See info
81 From now on you can start Gnus as an offline reader by M-x gnus-unplugged.
82 Try typing "g" in the *Group* buffer.
84 o You may want M-x gnus to start Gnus as an offline reader as
85 M-x gnus-unplugged. Then write the following code to ~/.emacs
87 (setq gnus-plugged nil)
89 you can put it into ~/.gnus if there's no need to start Gnus as an online
90 reader (by M-x gnus-plugged).
92 4) User customizable variables in gnus-offline
93 ==============================================
95 o gnus-offline-dialup-program
96 Program name to dialup.
98 o gnus-offline-dialup-program-arguments
99 List of dialup program arguments.
101 o gnus-offline-hangup-program
102 Program name to hangup.
104 o gnus-offline-hangup-program-arguments
105 List of hangup program arguments.
107 o gnus-offline-mail-spool-directory
108 Spool directory for sending mail.
109 This variable is available only using MIEE.
111 o gnus-offline-news-spool-directory
112 Spool directory for sending news.
113 This variable is available only using MIEE.
115 o gnus-offline-mail-treat-environ
116 If t , gnus-offline sends mail to spool first.
117 If nil , gnus-offline sends mail immediately.
119 o gnus-offline-articles-to-fetch
120 Article type you want to fetch.
122 'both ... Fetch both Mail/News.
123 'Mail ... Fetch only Mail.
124 'News ... Fetch only News.
126 Default value is both.
128 o gnus-offline-load-hook
129 Hook before gnus-offline load.
131 o gnus-offline-before-online-hook
132 Hook before all online jobs.
134 o gnus-offline-after-online-hook
135 Hook after all online jobs.
137 o gnus-offline-interval-time
138 Interval time to do all online jobs.(minutes)
140 o gnus-offline-MTA-type
141 MTA type to sending mail.
143 'smtp ... Use smtp.el.
144 'sendmail ... Use sendmail.el.
146 o gnus-offline-drafts-queue-type
147 Message queue type when spooling message.
149 'miee ... Use miee.el.
150 'agent ... Use gnus-agent.el.
152 o gnus-offline-after-empting-spool-hook
153 Hook before empting spool.
155 o gnus-offline-before-empting-spool-hook
156 Hook after emoting spool.
158 o gnus-offline-dialup-function
161 o gnus-offline-hangup-function
164 5) Commands in gnus-offline
165 ===========================
167 o M-x gnus-offline-toggle-plugged
168 Toggle offline/online state.
170 o M-x gnus-offline-toggle-auto-hangup
171 Change current state to offline.
173 o M-x gnus-offline-toggle-on/off-send-mail
174 Toggle method to sending mail.
176 o M-x gnus-offline-toggle-articles-to-fetch
177 Toggle articles you want to fetch.
179 o M-x gnus-offline-set-interval-time
180 Set interval time(minute) to fetch article.
182 o M-x gnus-offline-agent-expire
185 6) [!!!IMPORTANT!!!] About the pop password
186 ===========================================
188 If your machine is stand alone, and nobody else uses it, you can save
189 the password. (But, on your own responsibility!)
191 At the first interactive configuration, it will ask you whether to
192 save the password in ~/.newsrc.eld or not. When you answer "y" to this
193 question, the password will be saved in ~/.newsrc.eld. (*)
195 (*) Actually the following will be added to ~/.gnus-offline.el.
198 'gnus-setup-news-hook
200 (add-to-list 'gnus-variable-list 'mail-source-password-cache)))
202 Answer this question carefully, because the password will NOT be