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