Mass update GPLv2 from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
[dockapps.git] / wmbiff / wmbiff / wmbiffrc.5
blob9917e91cb3213d66feb5752df45edfddbd9df0b5
1 .\" Hey, Emacs!  This is an -*- nroff -*- source file.
2 .\" $Id: wmbiffrc.5.in,v 1.18 2004/12/12 00:01:53 bluehal Exp $
3 .\"
4 .\" wmbiff/wmbiffrc.5.  Generated from wmbiffrc.5.in by configure.
5 .\"
6 .\" wmbiff.1 and wmbiffrc.5 are copyright 1999-2002 by 
7 .\" Jordi Mallach <jordi@debian.org>
8 .\"
9 .\" This is free documentation, see the latest version of the GNU
10 .\" General Public License for copying conditions. There is NO warranty.
11 .TH WMBIFFRC 5 "November 11, 2002" "wmbiff"
13 .SH NAME
14 wmbiffrc \- configuration file for
15 .BR wmbiff (1)
17 .SH DESCRIPTION
18 \fBWMbiff\fP is a mail notification tool for the WindowMaker and AfterStep
19 window managers. It can handle up to 5 mailboxes, more when run using other
20 window managers. You can define actions
21 on mouse clicks for the different mailboxes. This manpage explains the
22 different options which can be specified in a user's wmbiffrc.
24 .SH OPTIONS
25 Each option takes the form
26 .IR option[.mbox] " = " value .
27 Comments must be preceeded by pound signs (#).
29 The supported configuration options are:
31 .TP 3
32 \fBcertfile\fP
33 File that holds TLS (SSL) certificates.  If specified,
34 wmbiff will check certificates and exit on a failure, so
35 your password is secure.  If not present, wmbiff will trust
36 all certificates and may be vulnerable to a
37 man-in-the-middle attack.  WMbiff's will not prompt if you
38 want to accept new certificates.  Instead, wmbiff expects
39 your mail client to keep certificates in a file.  For
40 example, if mutt is your mailreader, you may add:
42 .RS
43 certfile=/home/<me>/.muttsslcerts
44 .RE
45 .TP
46 \fBinterval\fP
47 Global interval between mailbox checking. Value is the number of seconds, 5
48 is the default.
49 .TP 
50 \fBaskpass\fP
51 Program run to ask for IMAP passwords, if left empty in the configuration file.
52 The default is /usr/bin/ssh-askpass.  Can be specified on a per-mailbox basis.
53 .TP 
54 \fBskinfile\fP
55 XPM pixmap file to load for the background.  If not a full
56 path, wmbiff will search /usr/local/share/wmbiff/skins, /usr/share/wmbiff,
57 /usr/local/share/wmbiff, and the current directory for the
58 pixmap file.
59 .TP
60 \fBglobalnotify\fP
61 Command to be executed when new mail is recieved in any mailbox. Set
62 notify.n to override this option for mailbox n.
63 .TP
64 \fBlabel.n\fP
65 Specifies the displayed label for a mailbox. It can be up to five characters
66 long.
67 .TP
68 \fBpath.n\fP
69 Path to the mailbox, local or remote one. Path lines start with a prefix,
70 which specifies the type of wmbiff box you're setting up. The following types
71 are supported:
72 .RS
73 .TP
74 .I mbox
75 This is a local mbox mailbox. After the prefix, you only need to put the
76 path to the mailbox wmbiff needs to read.  
77 Local mboxes may be specified using shell commands enclosed
78 in back-ticks. (`s.)
79 .\"This is also the default.
80 .RS
81 mbox:/path/to/mail/debian-devel
82 .RE
83 .\"  let's stop making this available.
84 .\" .RS
85 .\" - or -
86 .\" .RE
87 .\" /path/to/mail/debian-devel
88 .\" .RS
89 .TP
90 .I maildir
91 This works just like \fImbox\fP above.  
92 .RS
93 maildir:[:\fIflags\fP:]/path/to/mail/bugtraq/
94 .TP
95 \fIflags\fP can one or more of:
96 .TP
97 .I F
98 Flush directory caches by creating (then deleting) a temporary file
99 in each maildir prior to checking.  This hack speeds up checking 
100 network-mounted maildirs in cases where directory caching can cause 
101 unwanted delays (eg. SFS-mounted maildirs).
104 .I pop3
105 Using this type, WMBiff will check for mail on a pop3 server using the
106 specified username, password, host and an optional port number (defaulting
107 to 110).  If your password contains a special character, eg. '@' or ':',
108 use the second path format.  See Authentication below for a description of 
109 the auth field. 
111 pop3:user:passwd@server[:port] [auth]
114 pop3:user passwd server[ port] [auth] 
117 .I pop3s
118 Exactly like pop3, only uses TLS (SSL) when built with gnutls and defaults
119 to port 995. This copy of WMBiff was compiled with GNUTLS. 
121 .I imap
122 These are IMAP4 boxes. As with pop3, WMBiff will report the
123 status of an IMAP4 mbox using the given values. This type
124 accepts user, optional password, host and optional path to
125 mailbox and port number.  See Authentication below for a
126 description of the auth field.  The password may be left
127 empty: see askpass above for information on password
128 prompting.  If your password includes a @, use the 
129 space delimited form.  If it contains a space or #, use the
130 askpass option instead.  The mailbox field may be quoted, 
131 e.g., server/"Mail/Eggs and Spam".  Mailboxes in subfolders 
132 may be described as /INBOX.subfolder by some servers and 
133 /Mail/subfolder by others.
135 imap:user:passwd@server[/mailbox][:port] [auth]
138 imap:user:@server[/mailbox][:port] [auth]
141 imap:user passwd server[/mailbox][ port] [auth]
144 imap:user:passwd@server[/"mail box"][:port] [auth]
147 .I imaps
148 These are IMAP4 boxes wrapped in a TLS (SSL)
149 connection. This copy of WMBiff was compiled with GNUTLS. Parameters are the same as
150 those for ordinary IMAP4 boxes.  Port defaults to 993. If
151 143 is specified, WMBiff will attempt to connect unencrypted
152 but negotiate TLS using IMAP's STARTTLS command.  TLS
153 support uses GNUTLS, which is under development and may be
154 insecure.  See the imap format above
155 for additional detail about specifying your password.
157 imaps:user:passwd@server[/mailbox][:port] [auth]
160 imaps:user:@server[/mailbox][:port] [auth]
163 imaps:user passwd server[/mailbox][ port] [auth]
166 .I licq
167 With this box type, wmbiff will read the given history file and track the
168 number of messages in it. It just needs a path to a given licq history file.
170 licq:/path/to/.licq/history/file.history
173 .I gicu
174 With this box type, wmbiff will ask gnomeicu for the number
175 of pending messages.  If gnomeicu is not running, nothing
176 will be displayed.  gnomeicu-client must be in your path.
177 The user's icq UIN is optional.
179 gicu:[UIN]
182 .I finger
183 With this box type, wmbiff will finger an account to see if
184 there is unread mail.  Both finger and perl must be in your
185 path, and your server must run a finger daemon.
187 finger:user@host
190 .I shell
191 With this keyword, wmbiff will launch the
192 specified shell command and read its output (STDOUT)
193 expecting an integer message count or a three-character
194 string.  If "new" is in the first line, the string or number
195 will be displayed in yellow. The behavior of this
196 experimental keyword is likely to change in future
197 revisions.
199 shell:::/path/to/command
200 shell:::lpq | grep Queue | awk '{print $2}'
204 \fBnotify.n\fP
205 Command to be executed on new mail arrival in the given mailbox. Accepts
206 the special keyword "beep" to use the pc speaker.
208 \fBaction.n\fP
209 Command to be executed on left mouse click on a mailbox label.  
210 Accepts
211 the special keyword "msglst" to pop up a window of recent message headers 
212 from IMAP or POP3 mailboxes when the left mouse button is held.
214 \fBbuttontwo.n\fP
215 Command to be executed on middle mouse click on a mailbox level.
216 Accepts
217 the special keyword "msglst" to pop up a window of 
218 recent message headers from IMAP or POP3 mailboxes when the middle mouse button is held.
220 \fBinterval.n\fP
221 Per mailbox check interval. Value is the amount of seconds between
222 checkings, default is the global interval.
224 \fBfetchinterval.n\fP
225 Interval between mail auto-fetching. Values accept 0 to disable, -1 for
226 autofetching on new mail arrival, and positive values for a given interval
227 in seconds.
229 \fBfetchcmd.n\fP
230 Command to be executed to fetch mail. If not specified, fetching through
231 wmbiff is disabled completely.
232 Accepts
233 the special keyword "msglst" to pop up a window of recent message headers 
234 from IMAP and POP3 mailboxes when the right mouse button is held down,
235 though not when fetchinterval is nonzero.
237 \fBdebug.n\fP 
238 Show debugging messages from this mailbox.  Currently
239 supported values are "all" and "none".  The \-debug option
240 to wmbiff overrides this setting.  Since IMAP uses a single
241 connection per server, per-mailbox debugging may not
243 .SH SIZING
245 WMBiff will automatically size its window to the number of
246 configured mailboxes.  While WindowMaker's Dock and
247 AfterStep's Wharf expect square, 64x64 applets, other window
248 managers, such as Blackbox or Openbox do not have this
249 limitation.  This uncharacteristic "dockapp" behavior is
250 intended to help those users who don't have exactly five
251 mailboxes to watch.
253 To preserve the old-style five-mailbox window even when you
254 have only two, add
255 .IR path.4=<space><space>
256 to configure a blank 5th mailbox.
258 To use the new-style sizing, just configure as many
259 mailboxes as you want.
261 .SH AUTHENTICATION
263 Authentication methods include "cram-md5", "apop" (for
264 Pop3), and "plaintext".  "cram-md5" and "apop" are only
265 available when wmbiff is compiled with libgcrypt.
266 This copy of WMBiff was compiled with gcrypt.
267 Authentication methods are tried in the following order:
268 cram-md5, apop, plaintext.
270 Each authentication method will be tried unless a list is
271 included in the [auth] field.  For example, append "cram-md5
272 apop" if you don't want your password to be sent in
273 cleartext over the network.  Conversely, append "plaintext"
274 if you don't want wmbiff to bother with other authentication
275 methods.  Leaving authentication methods unspecified should
276 be reasonably safe.  The order of entries in the [auth] list
277 is not currently considered.
279 .SH TROUBLESHOOTING
281 For problems authenticating to servers, try specifying the
282 authentication method explicitly as described above:
283 sometimes a failed attempt to authenticate can cause later
284 failures.  Some servers claim to support cram-md5 but fail:
285 telling wmbiff not to try can help.
287 For other problems, run wmbiff with the -debug option.  See
288 wmbiff(1) for details.
290 While editing .wmbiffrc, you may find it useful to restart
291 wmbiff using either control-shift mouse button 1, or killall
292 -USR1 wmbiff.
295 .SH FILES
297 .I ~/.wmbiffrc
298 per-user wmbiff configuration file.
300 .SH AUTHOR
301 This manual page was written by Jordi Mallach <jordi@debian.org>,
302 originally for the Debian system (but may be used by others).
304 .SH SEE ALSO
305 .PD 0
307 \fBwmbiff\fP(1)
309 \fI/usr/share/doc/wmbiff/examples/sample.wmbiffrc\fP
310 (or equivalent on your system)