README 28 KB

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