KMail/Strumenti
KMail: Strumenti
Strumenti per importare la posta
Dovresti prima provare ad importare la tua vecchia posta utilizzando il menu di KMail
Se hai bisogno di importare la posta e la struttura delle cartelle da Outlook, puoi utilizzare Thunderbird (versione Windows) per importare i dati di Outlook, poi puoi usare l'importazione di KMail da Thunderbird e puntare la cartella dove i dati di Thunderbird sono stati salvati.
Se questo non funziona i programmi seguenti potrebbero essere utili:
- readpst, un piccolo strumento per convertire i file di posta di Microsoft Outlook (cartelle personali) in mbox, il formato standard in UNIX. Aggiunto il 24/01/2005
- Outport, un programma per esportare i dati da Outlook a Evolution da cui KMail può importare i messaggi. Aggiunto il 23/07/2004
- mozilla2kmail.pl, un semplice script bash per convertire la posta da Mozilla a KMail. Aggiunto il 12/06/2004
- Conversione da MS Outlook a Unix Mailbox - mini guida, solo nel caso in cui gli strumenti sopracitati non funzionino per te. Aggiornato l'8/1/2004
- Sylpheed2Maildir, un semplice script bash per convertire una cartella mail box di sylpheed nel formato maildir. Aggiunto il 27/05/2003
- Eudora2Unix, una raccolta di script Python che insieme convertono le cartelle di posta di Qualcomm Eudora in cartelle di posta per unix o Linux. Aggiornato il 31/03/2003
- mh2maildir transformator, un piccolo script shell per trasformare i messaggi di posta dal formato MH a quello Maildir. Aggiunto il 6/11/2002
- ol2mbox, convertitore Outlook Express in mbox (non più mantenuto). Aggiunto il 9/02/2002
- tb2kmail, uno strumento per esportare la posta da The Bat a KMail. Aggiunto il 7/01/2002
- Filtri KMail per messaggi di posta compatibili con GPG e RFC-2015. Aggiunto il 15/07/2001
- xfmail2mbox.sh, uno script shell di Jörg Reinhardt <joeyhh(at)gmx.de> per convertire le cartelle xfmail in mbox (utilizzate da KMail). Richiede awk. Aggiornato il 12/02/2001
Strumenti per esportare la posta
- MHonArc, un convertitore di posta in HTML. Aggiunto il 31/03/2003
- tKMailHonArc, un interfaccia per MHonArc per convertire le cartelle di posta di KMail (mbox, maildir) in HTML. Aggiunto il 31/03/2003
Strumenti di importazione della rubrica
- lookout, un piccolo script Python che ti permette di convertire i dati della tua rubrica di Outlook 97 in KAB. Aggiunto il 31/07/2002
- pineToKMail, a perl script to convert a pine addressbook to a KMail addressbook.
Development and Security
- HOWTO on how to use the Precommand feature of KMail for SSH tunneling, Added 2003-04-19
- Gregor Waluga has written a German tutorial on how to use KMail and GnuPG: Mit KMail verschlüsselte E-Mails verschicken (download as as PDF here).
- Setting up KMail over ssh (by Ferdinand Gassauer)
- Mail client test file v0.5 (55kB): This mbox file triggers some bugs and has very long field values to trigger buffer overflows. You may use this to find possible security problems - not only in KMail, but in any mail client that supports mbox folders. Just copy this file to ~/Mail/ and start KMail.
Anti-Spam Tools
- (Polish) Spamassassin na localhost na Mdk.10, a description of how to use KMail and SpamAssassin, Added 2004-05-14
- (German) Mini-HOWTO für bogofilter mit KMail, Added 2003-11-07
- KMail and Bogofilter Mini HOWTO, a description of how to configure KMail to filter spam using Bogofilter (Robinson-Fischer self-learning algorithm filtering for English and non-English messages) on IMAP and POP accounts without using procmail, Added 2004-01-19
- KMail and SpamOracle Mini HOWTO This is a description of how to configure KMail to filter spam using SpamOracle (Bayesian self-learning algorithm filtering for English and non-English messages) on IMAP and POP accounts without using procmail, Updated 2004-01-19
- KMail and SpamAssassin resp. Quick Spam Filter (qsf), a more detailed article than the one below, Added 2003-06-30
- Startup script for SpamAssassin (Christian Banik <christian at buschaos.de>, 2002-07-11) This is a startup script for SpamAssassin in SuSE Linux 8.0. You can install SpamAssassin from the RPMs. You have to remove the old startup script /etc/rc.d/init.d/spamassassin and copy this script to /etc/init.d/spamd. cd to /etc/init.d and call insserv spamd. On the next bootup, SpamAssassin will be activated.
Other Tools and Patches
- Lyris Filter, a script to repair broken IDs and In-Reply-To headers produced by the commercial listserve product Lyris, Updated 2005-01-16
- eudorafilters2kmail.pl, Perl script to import filters from Eudora, Added 2003-05-09
- KMail power tools to save and remove attachments from emails, Added 2009-09-23
Script to filter by header (by Marc Mutz)
This perl script can be used with a pipe through filter action after a
action. It's useful for people who want to change certain headers based on the content of other headers. This is something KMail filters currently do not support, but is useful here and there.This particular script replaces (if used in conjunction with the
action) the Reply-To header of mails sent from a Debian-style bugtracking system with <bugno>@bugs.kde.org. This is useful if bug reports are delivered to developers through a mailinglist that overwrites the Reply-To header with its post address:#!/usr/bin/perl $endOfHeader = 0; while (<>) { if ( $endOfHeader == 0 ) { if ( /^(?i:Subject):\s+Bug\#(\d{4,5}):/ ) { $_ = "Reply-To: $1\@bugs.kde.org\n".$_; } elsif ( /^$/ ) { $endOfHeader = 1; } } print; };
- uniqmail, a small bash/sed script that removes mail duplicates from mbox files.
- Using KMail and Maildir (by Georg Lehner, jorge(at)toa.magma.com.ni):
qmail delivers (with standard Maildir setup) Mail into the subdirectories of ~/Maildir/, that means, personal mail never goes to a "public" directory (e.g. /var/spool/mail/) as is the case with traditional mail transport agents.
qmail provides a command: maildir2mbox, to re-"deliver" mail from ~/Maildir/ to this namely public directory, we wrap this command into a script: qmail2kmail.
KMail is set up to read mail from the "traditional" place, but qmail2kmail is run before checking mail via the precommand directive in the configuration, so it finds all incoming mail where it is supposed to find it in a traditional setup.
Setup: My qmail binaries reside in /var/qmail/bin, which is most propably not the "right" place to put them, so fix this on your system and in the qmail2kmail script.
I installed qmail2kmail in /usr/local/bin, I suppose it should be world executable, or at least by the qmail-groups, if you are concerned about security you should know how to figure out and rewrite this instructions.
In the KMail configuration you should have something similar to:
[Account 1] Folder=inbox Name=Mi correo en TOA Type=local check-exclude=false check-interval=0 precommand=/usr/local/bin/qmail2kmail
and everything should work fine. Here comes qmail2kmail:
#!/bin/sh # # LEG06012001 # Convert Mails in Maildir format in ~/Maildir/ to mbox format in ~/Mail/inbox # as required by Kmail. MAILDIR=~/Maildir/ MAILTMP=tmpdir MAIL=/var/mail/$USER export MAILDIR MAILTMP MAIL /var/qmail/bin/maildir2mbox
Note that "tmpdir" is a scratchfile and will be overwritten, so if you happen to have a file tmpdir in the place where maildir2mbox wants to create it, you will get in trouble.
A solution would be to use the tempfile command, but it happens to not exist on every Unix, so a local solution will have to be found if necessary. If qmail2kmail doesn't run in the $USER's homedirectory (which I did not check out) I would strongly recommend to use at least:
MAILTMP=$USER/.qmailtemp
Note that I also successfully installed qmail-pop3d and fetched mail via POP3 from the local host, but it is slower and clumsier.