README 26 KB

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