KMail/Eines
KMail: Eines
Eines per importar correu
En primer lloc haureu de tractar d'importar el correu antic amb KMail des del menú
Si necessiteu importar missatges i l'estructura de directoris des de Outlook, podeu utilitzar Thunderbird (la versió de Windows) per a la importació de dades Outlook, podeu utilitzar la importació del Kmail des de Thunderbird, i apuntar el directori on s'hagin desat les dades de Thunderbird.
Si això no funciona, els següents programes poden ser-vos útils:
- readpst, una utilitat per a convertir fitxers de missatges de Microsoft Outlook (carpetes personals) a l'estàndard del format mbox de UNIX, afegit el 01-24-2005.
- Outport, un programa per exportar dades des de Outlook a Evolution, des de les quals el KMail pot importar els missatges, afegit el 23-07-2004.
- mozilla2kmail.pl, un simple script de bash per a convertir el correu de Mozilla a KMail, sfegit el 12-06-2004.
- Un mini Com es fa per a la conversió de MS Outlook a la bústia de correu de Unix: En el cas que les eines anteriors no funcionin. Actualitzat el 08-01-2004.
- Sylpheed2Maildir, un simple script de bash per a convertir un directori de bústia de correu de sylpheed al format maildir. Afegit el 27-05-2003.
- Eudora2Unix, un recull d'scripts en Python que juntament converteixen carpetes de correu de Qualcomm Eudora als directoris de correu de Unix o Linux. Actualitzat el 31-03-2003.
- Transformador mh2maildir, un petit script de shell per a la transformació dels correus des del format MH al format Maildir. Afegit el 11-06-2002.
- ol2mbox, convertidor Outlook Express a mbox (no és mantingut). Afegit el 09-02-2002.
- tb2kmail, una eina per exportar correu des de The Bat a KMail. Afegit el 07-01-2002.
- Filtres de KMail per a missatges de correu compatibles amb GPG i RFC-2015. Afegit el 15-07-2001.
- xfmail2mbox.sh, un script de shell per Jörg Reinhardt <joeyhh (at) gmx.de> per a convertir carpetes xfmail a mbox (que és utilitzat per KMail). Requereix awk. Actualitzat el 12-02-2001.
Eines per exportar correu
- MHonArc, un convertidor de correu a HTML. Afegit el 31-03-2003.
- tKMailHonArc, un frontat per a MHonArc per convertir carpetes de correu del KMail (mbox, maildir) a HTML. Afegit el 31-03-2003.
Eines per importar la llibreta d'adreces
- lookout, un petit script en Python que permet convertir les dades de la llibreta d'adreces de Outlook 97 a KAB. Afegit el 31-07-2002.
- pineToKMail, un script de perl per a convertir la llibreta d'adreces de pine a la llibreta d'adreces del KMail.
Desenvolupament i seguretat
- Com es fa sobre com utilitzar la funció Precommand de KMail per a tunneling sobre SSH. Afegit el 19-04-2003.
- 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.
Eines contra el correu brossa
- (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.
Altres eines i pedaços
- 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 probably 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 these 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
i tot hauria de funcionar bé. Aquí ve el qmail2kmail:
#!/bin/sh # # LEG06012001 # Converteix els missatges en el forma ~/Maildir/ a mbox en ~/Mail/inbox # requerit pel 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.