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