Fix two crashes in IMAP introduced by the passwords change.
[claws.git] / tools / README
1
2 --------------------------------------------------------------------------------
3 Contents of the tools directory:
4 --------------------------------------------------------------------------------
5
6 Action scripts:
7   freshmeat_search.pl           Search freshmeat.net for selected text
8   google_msgid.pl               Search groups.google.com for selected message-id
9   google_search.pl              Search google.com for selected text
10   multiwebsearch.pl             Search any search engine for the selected text
11   textviewer.sh                 Attempt to view an attachment as plain text
12   uudec                         Decode and display uuencoded images
13   uuooffice                     Decode uuencoded attachments and open them with
14                                 OpenOffice
15
16 Addressbook conversion:
17   csv2addressbook.pl            Import Becky, Thunderbird, Kmail, Gmail and Fox
18                                 Mail address books
19   eud2gc.py                     Convert Eudora address book to Gnomecard
20   kmail2claws-mail.pl           Import a Kmail address book (KDE2)
21   kmail2claws-mail_v2.pl        Import a Kmail address book (KDE3)
22   mew2claws-mail.pl             Import a Mew address book
23   outlook2claws-mail.pl         Import an Outlook generated contact list
24   tb2claws-mail                 Import The Bat! address books
25   vcard2xml.py                  Import an Evolution vCard
26
27 Mailbox conversion:
28   calypso_convert.pl            Import mbox files with attachments from Calypso
29   convert_mbox.pl               Import mbox files
30   kmail-mailbox2claws-mail.pl   Convert a kmail mailbox to a Claws Mail mailbox
31   tbird2claws.py                Integrate a Thunderbird folder tree into Claws
32
33 Other tools:
34   acroread2claws-mail.pl        Send PDFs from Adobe Reader 7
35   claws-mail-compose-insert-files.pl
36                                 Insert files into a new Compose window
37   filter_conv_new.pl            Convert new-style Sylpheed filters to filtering
38   filter_conv.pl                Convert old-style Sylpheed filters to filtering
39   fix-date.sh                   Replace/Add a message's Date field
40   mairix.sh                     A wrapper to mairix, to enable global searches in
41                                 mail folders
42   nautilus2claws-mail.sh        Send files from Nautilus
43   OOo2claws-mail.pl             Send documents from OpenOffice.org
44   popfile-link.sh               Open messages in POPFile control center to edit
45                                 their status
46   sylprint.pl                   Printing engine, explained in README.sylprint
47   textviewer.pl                 Display various attachments as text
48   thunderbird-filters-convertor.pl
49                                 Convert Thunderbird filtering rules
50
51 Extra tools:
52   gif2xface.pl                  Convert a 48x48 GIF file to an X-Face header
53   update-po                     Update the .po files named on the command line.
54
55 --------------------------------------------------------------------------------
56 Detailed Descriptions:
57 --------------------------------------------------------------------------------
58
59 Action scripts
60 --------------
61
62 * google_msgid.pl
63   WORKS ON: selection
64   COMMAND: |google_msgid.pl
65   Lookup selected message-id in google using mozilla. Edit the script to use
66   different browsers.
67
68 * google_search.pl
69   WORKS ON: selection
70   COMMAND: |google_search.pl
71   Search google.com for selected text using the default Claws Mail browser
72
73 * multiwebsearch.pl
74   WORKS ON: selection
75   see further down for details
76
77 * textviewer.sh
78   WORKS ON: current message part
79   COMMAND: textviewer.sh %p |
80   Attempt to view an attachment as plain text
81
82 * uudec
83   WORKS ON: current message (or part of multipart message)
84   COMMAND: uudec %f&
85   Decode and display uuencoded images using uudecode.
86
87 * uuooffice
88   WORKS ON: current message (or part of multipart message)
89   COMMAND: uuooffice %f&
90   Decode uuencoded attachments and open them with OpenOffice
91
92 * More action examples can be found at the Claws Mail FAQ
93   http://www.claws-mail.org/faq/index.php/Actions
94
95 ** multiwebsearch.pl **
96
97   WHAT IT DOES
98         This is an Actions script that allows you to search
99         websites for the selected text. It uses the default
100         Claws Mail browser as configured through Claws Mail's 
101         GUI and specified in ~/.claws-mail/clawsrc, and a
102         configuration file called multiwebsearch.conf.
103         
104   CONFIGURATION
105         The configuration file takes the following format:
106         
107         ALIAS|URL PART|URL PART
108         
109         ALIAS is a user-defined name; the first URL PART is the
110         url before the search term; the second URL PART is
111         optional and contains the remaining part of the url which
112         comes after the search term. A sample configuration file
113         is included.
114         
115   HOW TO USE IT
116         Copy 'multiwebsearch.conf' to ~/.claws-mail/
117         
118         Configure an Action:
119         a) pre-configured website 
120            Command: multiwebsearch.pl --where="google" --what="%s"
121         b) dynamic
122            Command: multiwebsearch.pl --where="%u" --what="%s"
123            
124         In type a) "google" refers to one of the configured aliases,
125         this Action will always search the website referred to by
126         the alias "google".
127         
128         In type b) you will be presented with a dialog box into
129         which you type one of your configured aliases
130
131   
132   Contact: Paul Mangan <paul@claws-mail.org>
133 --------------------------------------------------------------------------------
134
135 Address book conversion
136 -----------------------
137
138 * csv2addressbook.pl
139
140   WHAT IT DOES
141         This perl script will import a Becky, Thunderbird, Kmail, Gmail and
142         Fox Mail address book.
143
144   HOW TO USE IT
145         (You must run claws-mail at least once before running this script.)
146
147         Becky >= 2.41
148         -------------
149         In Becky you need to do a CSV full export with titles of your
150         address book.
151
152         Run the script with the following options:
153
154         perl csv2addressbook.pl --type=becky --csv=/full/path/to/file.csv
155
156         Addtionally you can use the option '--name="My address book"', if
157         you don't use this option the new Claws address book will be
158         called 'Becky address book'.
159
160
161         Thunderbird >= 2.0.0.6
162         ----------------------
163         In Thunderbird you need to export your address book as 'comma
164         separated'.
165
166         Run the script with the following options:
167
168         perl csv2addressbook.pl --type=thunderbird --csv=/full/path/to/file.csv
169
170         Addtionally you can use the option '--name="My address book"', if
171         you don't use this option the new Claws address book will be
172         called 'Thunderbird address book'.
173
174         Kmail >= 1.9.7 / Kaddressbook >= 3.5.7
175         --------------------------------------
176         In Kaddressbook you need to export your address book as 'CSV List'.
177
178         Run the script with the following options:
179
180         perl csv2addressbook.pl --type=kmail --csv=/full/path/to/file.csv
181
182         Addtionally you can use the option '--name="My address book"', if
183         you don't use this option the new Claws address book will be
184         called 'Kmail address book'.
185
186         WARNING: Kmail/Kaddressbook has a bug whereby it exports badly
187         formatted CSV if the values are quoted.
188
189         Gmail
190         -----
191         In the Gmail web interface you need to export your address book
192         as Outlook CSV format.
193
194         Run the script with the following options:
195
196         perl csv2addressbook.pl --type=gmail --csv=/full/path/to/file.csv
197
198         Addtionally you can use the option '--name="My address book"', if
199         you don't use this option the new Claws address book will be
200         called 'gmail address book'.
201
202         Fox Mail
203         --------
204         Export your Fox Mail address book as CSV with all possible headers.
205
206         Run the script with the following options:
207
208         perl csv2addressbook.pl --type=foxmail --csv=/full/path/to/file.csv
209
210         Addtionally you can use the option '--name="My address book"', if
211         you don't use this option the new Claws address book will be
212         called 'foxmail address book'.
213
214         You can also run the script with '--help' to get a brief usage message.
215
216   Contact: Paul Mangan <paul@claws-mail.org>
217
218 * eud2gc.py
219
220   WHAT IT DOES
221         This python-script is a quick hack to convert an Eudora (v.3?)
222         addressbook to vCard (GnomeCard) format.
223
224   HOW TO USE IT
225         You may do whatever you want with it! (Also regarding copying)
226         However, the script is intended to use like this:
227
228                 eud2gc.py <Eudora-addressbook-file> <Gnomecard-file>
229
230         Be careful not to overwrite your original GnomeCard.gcrd!
231         (But of course you might want to add the converted stuff to it)
232
233   Contact: Jeroen Versteeg <j.m.versteeg@student.utwente.nl>
234
235 * kmail2claws-mail.pl
236
237   WHAT IT DOES
238         This perl script will convert an exported Kmail addressbook into a
239         Claws Mail addressbook. If your version of Kmail is 1.37 or
240         greater and/or your version of KAddressBook is 3.1beta1 or greater,
241         or this script mixes up your definitions and their related data, use
242         'kmail2claws-mail_v2.pl' instead.
243
244   HOW TO USE IT
245         (You must run claws-mail at least once before running this script.)
246
247         In Kmail's Address book choose '/File/Export List'. This will export
248         your Kmail address book data to a *.csv file.
249
250         If Claws Mail is running, close it.
251
252         From the command line, execute the following:
253  
254                 perl kmail2claws-mail.pl --kmailfile=/path/to/addressbook.csv
255
256         Your Kmail address book data will now be contained in Claws Mail'
257         address book, under the name 'Kmail Address Book'.
258
259   Contact: Paul Mangan <paul@claws-mail.org>
260     
261
262 * kmail2claws-mail_v2.pl
263
264   This script has been tested with Kmail 1.4.7 and KAddressBook 3.1beta1
265
266   WHAT IT DOES
267         This perl script will convert a Kmail address book that has been
268         exported in csv format into a Claws Mail address book.
269
270   HOW TO USE IT
271         (You must run claws-mail at least once before running this script.)
272   
273         Open Kmail's Addressbook, /File/Address Book
274         In Kmail's Addressbook choose '/File/Export/Export List...'. This 
275         will allow you to export your Kmail addressbook data to a *.csv file.
276
277         If Claws Mail is running, close it.
278
279         From the command line, execute the following:
280  
281                 perl kmail2claws-mail_v2.pl --kmailfile=/path/to/addressbook.csv
282         
283         You can also use --help to see usage instructions.
284
285         Your Kmail addressbook data will now be contained in Claws Mail'
286         addressbook, under the name 'Kmail address book'.
287
288   Contact: Paul Mangan <paul@claws-mail.org>
289
290 * mew2claws-mail.pl
291
292   WHAT IT DOES
293         This perl script will convert a Mew address book into a Claws Mail
294         address book.
295
296   HOW TO USE IT
297         (You must run claws-mail at least once before running this script.)
298   
299         If Claws Mail is running, close it.
300
301         From the command line, execute the following:
302  
303                 perl mew2claws-mail.pl --mew-addressbook=/path/to/mew/addressbook
304         
305         You can also use --help to see usage instructions.
306
307         Your Mew addressbook data will now be contained in Claws Mail's
308         addressbook, under the name 'Mew Address Book'.
309
310   Contact: Jérôme Lelong <jerome.lelong@gmail.com>
311
312 * outlook2claws-mail.pl
313
314   WHAT IT DOES
315         This perl script converts an Outlook generated contact list into a 
316         Claws Mail XML address book.
317
318   HOW TO USE IT
319         For text files:
320         --------------
321         You must export Outlook Express contact list as TXT file, choosing
322         only "Name" and "Address" fields to export.
323
324         You must exit Claws Mail before converting the contact list.
325
326         From the command line, execute the following:
327
328                 outlook2claws-mail.pl fullpathname
329
330         For csv files:
331         -------------
332         You must export Outlook contact list as CSV file, choosing ALL the
333         fields available for exporting.
334
335         You must exit Claws Mail before converting the contact list.
336
337         From the command line, execute the following:
338
339                 outlook2claws-mail.pl --csv fullpathname
340
341   LIMITATIONS
342         For text files only works with fields described above. If you have 
343         more complex examples send them to me, and I'll try to enhance the 
344         script.
345
346         For csv files you must export all fields (but only non empty fields
347         are added to the created Claws Mail address book) and the number
348         of fields expected is harcoded. Look for the $nboffields variable in
349         the script and change its value if you are sure you exported all
350         fields and script gives the 'unknown csv file format' error.
351
352   Contact: Ricardo Mones <ricardo@mones.org>
353
354
355 * tb2claws-mail
356
357   WHAT IT DOES
358         This perl script will convert an address book exported from The Bat! 
359         into a Claws Mail address book.
360
361   HOW TO USE IT
362         (You must run claws-mail at least once before running this script.)
363
364         If Claws Mail is running, close it.
365
366         Export The Bat! Address Book to CSV file format with all fields 
367         selected to YES and then start:
368
369                 tb2claws-mail --tbfile=/full/path/to/thebat/addressbook.csv
370  
371         The Bat! addressbook data will now be contained in Claws Mail'
372         addressbook, under the name 'The Bat! Address Book'.
373
374   Contact: Urke MMI <urke@gmx.net>  
375
376
377 * vcard2xml.py
378
379   WHAT IT DOES
380         This python script will convert an Evolution vCard into a Claws Mail
381         address book.
382
383   HOW TO USE IT
384         (You must run claws-mail at least once before running this script.)
385
386         If Claws Mail is running, close it.
387         From the command line, execute the following:
388
389                 vcard2xml.py source_file [destination_file]
390  
391         When only <source_file> is specified it will overwrite (and
392         create a backup of) the existing addressbook. 
393         When both arguments are suplied it will create a new additional 
394         addressbook named as <destination_file>.
395         If the script encounters an error it will attempt to roll back
396         the changes and restore the original files.
397
398   Contact: Bogdan Sumanariu <bsumanariu@one5.ro> 
399
400 --------------------------------------------------------------------------------
401
402 Mailbox conversion
403 ------------------
404
405 * calypso_convert.pl
406
407   WHAT IT DOES
408         This perl script imports mbox files that are exported by Calypso.
409         It recreates the folder structure by scanning the "X-CalypsoFolder"
410         header and reincludes the attachments referenced in the
411         "X-CalypsoHtmlBody" "X-CalypsoAccount" "X-Attachment" headers.
412   
413   HOW TO USE IT
414         Export the Calypso mailbox by selecting "Save to archive" and check
415         the "Save attachments" box.
416         
417         Edit the script to set following variables (at the top of the file):
418            $mboxdir  : path to the exported mbox, e.g. 'Archive' or '.'
419            $mboxfile : name of exported mbox, e.g. 'mail.txt'
420            $outdir   : name of the MH folder to create, e.g. 'Calypso'
421            
422          Run the script using
423          
424                 perl calypso_convert.pl
425                 
426         Finally, import that folder by either selecting "New mailbox" or
427         moving it into your existing directory and recreate the folder
428         structure manually (contentmenu from folderview).
429
430   Contact: Thorsten Maerz <torte@netztorte.de>
431
432 * convert_mbox.pl
433
434   WHAT IT DOES
435         This perl script converts an mbox directory's contents into 
436         Claws Mail' MH format.
437   
438   HOW TO USE IT
439   
440         Run the script using:
441          
442                 perl convert_mbox.pl MBOX MH_DIR
443                 
444         Move the outputted MH_DIR and its contents into your Claws Mail
445         Mail folder; in Claws Mail right-click the top-level folder and
446         choose 'Rebuild folder tree' from the popup menu.
447
448   Contact: Fred Marton <Fred.Marton@uni-bayreuth.de>
449
450 * kmail-mailbox2claws-mail.pl
451
452   WHAT IT DOES
453         This perl script converts a kmail mailbox  into Claws Mail' mailbox.
454   
455   HOW TO USE IT
456   
457         Exit Claws Mail if running.
458         
459         Run the script using:
460          
461                 kmail-mailbox2claws-mail.pl --kmaildir=/full/path/to/kmail/mailbox
462                 
463         Start Claws Mail and right-click the toplevel mailbox, i.e
464         "Mailbox (MH)", and select 'Rebuild folder tree'.
465         You may also need to run '/File/Folder/Check for new messages
466         in all folders'
467         
468         Additional options:
469                 --debug         debug mode
470                 --dry-run       test mode, nothing is actually written
471                 --help          brief usage info
472         
473   Contact: Paul Mangan <paul@claws-mail.org>
474
475 * tbird2claws.py
476
477   WHAT IT DOES
478         This python script integrates a Thunderbird folder tree into 
479         Claws Mail.
480   
481   HOW TO USE IT
482   
483         The script receives two parameters from command-line:
484         <Thunderbird folder path> <Claws Mail folder path>
485
486         The best way to use it is to go to inside your Thunderbird
487         root mailfolder directory and invoke it as:
488
489                 <path>\python2.4 <path>\tbird2claws.py . <path to Claws Mail>\Mail
490
491   Contact: Aleksandar Urosevic aka Urke MMI <urke@gmx.net>
492
493 --------------------------------------------------------------------------------
494
495 Other tools
496 -----------
497
498 * acroread2claws-mail.pl
499
500   WHAT IT DOES
501         This perl script enables Adobe Reader 7 to send documents to
502         Claws Mail as attachments.
503
504   HOW TO USE IT
505         Make sure that the script is executable (chmod +x acroread2claws-mail.pl)
506         Start up Adobe Reader 7 (acroread)
507         Go to /Edit/Preferences/SendMail
508         Select any email client except 'System Mail (mail)'
509         Enter the path to this script in the alternate location box  
510
511         You can then use 'File/Email' or the Email toolbar button to launch
512         claws-mail (if not already launched) and open a new compose window
513         with the PDF attached.
514   
515   Contact: Paul Mangan <paul@claws-mail.org>
516
517 * claws-mail-compose-insert-files.pl
518
519   WHAT IT DOES
520         This script enables inserting files into the message body of a new 
521         Claws Mail Compose window from the command line. Additionally To,
522         Cc, Bcc, Subject and files to attach to the message can be specified. 
523
524   HOW TO USE IT
525         claws-mail-compose-insert-files.pl [options]
526         Options:
527                 --help -h
528                 --to "Person One <mail@address.net>"
529                 --cc "Person One <mail@address.net>"
530                 --bcc "Person One <mail@address.net>"
531                 --subject "My subject"
532                 --attach FILE
533                 --insert FILE
534
535         For multiple recipients separate the addresses with ','
536         e.g. --to "Person One <mail@address.net>,Person Two <mail2@address.net>"
537         --attach and --insert can be used multiple times
538   
539   Contact: Paul Mangan <paul@claws-mail.org>
540
541 * filter_conv_new.pl
542
543   WHAT IT DOES
544         This perl script provides easy conversion of your filtering rules from
545         sylpheed's new filter system (>= 0.9.99) to the filtering system used in
546         Claws Mail.
547         It reads '~/.sylpheed-2.0/filter.xml' or '~/.sylpheed/filter.xml' and
548         writes '~/[CLAWS CONFIG DIR]/matcherrc'
549   
550   HOW TO USE IT
551         Issue the following command from the 'tools' directory:
552
553         perl filter_conv_new.pl
554
555         That's it, the claws' filtering system is now implemented with your
556         previous rules applied.
557
558   REQUIREMENTS
559         XML::SimpleObject
560
561   Contact: Paul Mangan <paul@claws-mail.org>
562   
563
564 * filter_conv.pl
565
566   WHAT IT DOES
567         This perl script provides easy conversion of your filtering rules
568         from sylpheed's old filter system (< 0.9.99) to the filtering system
569         used in Claws Mail.
570         It reads '~/.sylpheed/filterrc' and writes '~/.claws-mail/matcherrc'
571   
572   HOW TO USE IT
573         Issue the following command from the 'tools' directory:
574
575         perl filter_conv.pl
576
577         That's it, the new filtering system is now implemented with your
578         previous rules applied.
579
580   Contact: Paul Mangan <paul@claws-mail.org>
581   
582
583 * fix-date.sh
584
585  WHAT IT DOES
586         Add a 'Date:' header to the selected email(s) when such header is 
587         missing. The correct date is guessed from other headers that contain 
588         timestamp information (preferred: Fetchinfo header if found) or from 
589         the file or system date as a fallback. The order or preference for the
590         date valuereplacement can be changed by editing the script.
591         This script can be used to fix messages that show non RFC-compliant
592         Date headers as well.
593         X-Original-Date is always added too if not already existing (if so,
594         it's left untouched), to keep track of the original value if any.
595         An existing Date: header is not overwritten unless you use the --force
596         switch.
597         Non RFC-compliant dates can be overwritten using the --rfc switch. Use
598         --strict to use strict RFC matching patterns for date values in other
599         headers.
600         
601   HOW TO USE IT
602         fix_date.sh %F
603
604   Contact: wwp <wwp@claws-mail.org>
605
606
607 * mairix.sh
608
609  WHAT IT DOES
610         It's a wrapper to mairix, a tool that makes indexed searches
611         and shows search results in a virtual folder. Maildir, MH and
612         mbox formats are supported, see:
613         http://www.rpcurnow.force9.co.uk/mairix/
614
615   HOW TO USE IT
616         mairix.sh
617         mairix.sh <mairix rcfile> [<mairix options>..]
618     
619     For instance:    
620     mairix.sh ~/.mairixrc s:word1,word2
621
622   Contact: wwp <wwp@claws-mail.org>
623
624
625 * nautilus2claws-mail.sh
626
627   WHAT IT DOES
628         This script will recursively attach a number of selected 
629         files/directories from Nautilus to a new blank e-mail.
630
631   HOW TO USE IT
632         Copy the script to $HOME/.gnome2/nautilus-scripts, chmod u+x, 
633         and restart nautilus (killall -9 nautilus). You will now have 
634         a right-click menu item: '/Scripts/nautilus2claws-mail.sh'
635         
636   Contact: Reza Pakdel <hrpakdel@cpsc.ucalgary.ca>
637
638
639 * OOo2claws-mail.pl
640
641   WHAT IT DOES
642         This perl script enables OpenOffice.org to send documents to
643         Claws Mail as attachments.
644
645   HOW TO USE IT
646     OpenOffice.org Version 2.0
647     ----------------------------
648         This script is not needed for OOo version 2, which can work
649         directly with Claws Mail.
650         Go to 'Tools/Options/Internet/E-mail' and enter 'claws-mail'
651         in the box.
652
653     OpenOffice.org Version 1.1.0
654     ----------------------------
655         Start up OpenOffice.org.
656         Go to 'Tools/Options/OpenOffice.org/External Programs'
657         Select either ''Mozilla 1.x (Option 1)', or 
658         'Netscape 6.x - 7.0 (Option 1)' from the 'Program' selection
659         Enter the path to OOo2claws-mail.pl in the 'Path' box
660         or select it by clicking on the '...' button.
661     
662         You can then use 'File/Send/Document as email' to launch
663         claws-mail (if not already launched) and open a new compose
664         window with the document attached.
665
666     OpenOffice.org Version 1.0
667     --------------------------
668         Start up OpenOffice.org.
669         Go to 'Tools/Options/OpenOffice.org/External Programs'
670         Enter the path to OOo2claws-mail.pl in the 'Program' box
671         or select it by clicking on the '...' button.
672
673
674   Contact: Paul Mangan <paul@claws-mail.org>
675
676
677 * popfile-link.sh
678
679  WHAT IT DOES
680         Open selected messages in POPFile control center to edit their
681         status. Requires that POPFile is running and that the messages
682         have been processed by it (X-POPFile-Link: header is expected).
683         POPFile control center opens with the web browser set in
684         Claws Mail prefs.
685
686   HOW TO USE IT
687         popfile-link.sh <filename> [<filename>..]
688     
689
690   Contact: wwp <wwp@claws-mail.org>
691
692
693 * textviewer.pl
694
695   WHAT IT DOES
696         This script tries to recognise an attachment by using the 'file'
697         command and/or the file extension and then uses the available
698         utilities to make an effort to display it as text. For example
699                 .doc                    antiword -w 72
700                 .txt, .diff, .c, .h,
701                   .ic. .ec, .cc, .sh,
702                   .sed, .awk            cat
703                 .html                   txt2htm or text2html
704                 .xls, .sxc, .csv        xlscat -L
705                 .rtf                    rtf2text
706                 .pdf                    pdf2text %f -
707                 .odt                    ooo2txt
708                 .pl, .pm                perltidy -st -se or  cat
709                 .bz2                    bzip2 -d < %f | strings
710
711   HOW TO USE IT
712         Go to /Configuration/Message View/External Programs and enter the
713         path to the script in the "Command for 'Display as text'" box.
714         Now when you right-click an attachment and choose 'Display as text'
715         this script will be invoked.
716
717         
718   Contact: H.Merijn Brand <h.m.brand@xs4all.nl>
719
720
721 * thunderbird-filters-convertor.pl
722
723   WHAT IT DOES
724         This perl script converts Thunderbird filtering rules into Claws Mail
725         filtering rules. It can be run several times, once for each filter
726         configuration file in Thunderbird.
727
728   HOW TO USE IT
729         The script takes 3 arguments:
730
731         --tbird-file=PATH TO FILE       The full path to the file to be converted
732         --mailbox-name=NAME             The name of the Claws Mail mailbox
733         --account-name=NAME             The name of the account to be used (optional)   
734
735         --tbird-file must point to the Thunderbird filter file (msgFilterRules.dat)
736         that you want to convert, it must contain the full path to the file.
737         --mailbox-name should be given the name of your mailbox in Claws Mail, e.g.
738         if the top-level folder is 'Mailbox (MH)' then this option should be
739         'Mailbox'.
740         --account-name is optional, only needed if you are creating account-specific
741         rules. This is the name of your account in Claws Mail, which should
742         correspond to an account that you had in Thunderbird, e.g. the acount whose
743         rules you are converting.
744
745         This script presumes that your folder hierarchy in Claws Mail matches the
746         one that you had in Thunderbird. If you used the tbird2claws.py script to
747         convert your Thunderbird mailbox, then the folder hierarchy should match.
748
749         If the Claws Mail filtering configuration file (matcherrc) does not exist,
750         the script will create it; if it does exist, the newly converted rules will
751         be appended to it.
752
753   REQUIREMENTS
754         Getopt::Long
755         URI::Escape
756
757   Contact: Paul Mangan <paul@claws-mail.org>
758
759 --------------------------------------------------------------------------------
760
761 Extra tools
762 -----------
763
764 * gif2xface.pl
765
766   WHAT IT DOES
767         This perl script converts a monochrome (1 bit) 48x48 pixels GIF file
768         into an X-Face graphic suitable for inclusion into custom headers of
769         Claws Mail. An X-Face allows to quickly identify (or be identified
770         as) the sender of a mail message in a xface-capable MUA (like Claws
771         Mail).
772
773   HOW TO USE IT
774         After obtaining the desired image for your X-Face you should:
775           * scale it to 48x48 pixels (Image->Scale image on Gimp)
776           * down color depth to b/w (Image->Mode->Indexed selecting "Use
777             Black/White palette" and the desired dithering options (prior to
778             indexing doing Image->Colors->Threshold allows you to select the
779             b/w level if you don't want a dithered (dotty) image))
780           * save file as non-interlaced GIF
781         Then do:
782
783                 ./gif2xface < filename.gif > filename.xface
784
785         In filename.xface will be the X-Face header ready to use.
786         You can add a custom header in Claws Mail through Configuration->
787         Preferences per account, "Send" tab, check "Add user-defined header"
788         then "Edit..." if you want to add it via the Claws Mail interface, or do
789
790                 echo "0:" `cat filename.xface` > ~/.claws-mail/customheaderrc
791
792         if you want to create the custom headers file yourself (Warning: this
793         method is valid only if you don't have any other custom header set or
794         they will be lost!).
795
796   Contact: Ricardo Mones <ricardo@mones.org>
797
798
799 * update-po
800
801   WHAT IT DOES
802         This script is a message catalog translator's tool, it updates the .po 
803         files named on the command line.
804
805   HOW TO USE IT
806         This script needs to be copied to and run from the 'po' directory.
807   
808                 ./update-po lang.po lang2.po ...
809
810         to update one or more <yourlang>.po files from the sourcecode files
811          named in POTFILES.in. The old .po file is save in a .po.old file.
812
813         For example, when you want to update fr.po, run ./update-po fr.po, 
814         then edit fr.po to update your translation.
815
816   Contact: Wilbert Berendsen <wilbert@oswf.org> or the Claws Mail Team
817
818 --------------------------------------------------------------------------------
819 This file is Copyright 1999-2014 by the Claws Mail team.
820 See accompanying COPYING file for license details.
821 See each included script for copyright and license details.