README 26 KB

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