Hello, this article describe a valid (?) and tested method for migrate your emails from Sylpheed to gMail. It's not an enterprise or official or end-user solution, it's an hack!
You can find more solutions here: http://www.squidoo.com/gmailoptions, but most of this solutions do not preserve original date of emails or work only under Windows or required 3parts software. Other good solution is here: http://www.marklyon.org/gmail/default.htm but do not support date preservation.
My solution preserve original date and, if you are comfortable on command line, it's simple to implement.
Indice dei contenuti
gMail allows to import emails from another account through POP3 protocol; you can add 1 to 5 POP accounts from Setting/Accounts. The basic idea of this solution is create a fake POP server on your local machine pointed on your Sylpheed directories tree. When gMail connects your fake POP server, it will receive your old emails.
From 2003 I am a Sylpheed user. Recently I moved my domains on DreamHost.com, that it allows to use gMail as mail server. In a short time I loved gMail capabilities and I try to use only one gMail account for manage all my emails, but I need to extend gMail features to my old emails.
If you cannot use your machine, please consider to buy a virtual machine. For this topic I bought a 1-share VM from Gandi,net. Gandi is currently under beta testing, and you can buy a VM for less 8 EUR/month without automatic renew. It works very well and it's inexpensive! Gandi VM with Debian 4 provided all what you need.
This HOWTO is tested ONLY under Debian 4.
#!/bin/bash /usr/bin/php /usr/local/bin/popd/pop3d.php
pop3 stream tcp nowait nobody /usr/local/bin/popd/pop3d pop3dPlease note, if on your machine is present another pop3 server you must disallow that!
define("DirToPoint","/var/mail/sylpheed/inbox");
with the first Sylpheed directory you want import into gMail. You must repeat this step for any directory you want import (you need more patience, remember?).Your parameters are: Email address: as you wish Username: as you wish Password: as you wish POP server: your IP Please mark: - Label incoming messages: with as descriptive label (es. imported) - Archive incoming messages: yes.
I said I use Sylpheed. And It's true. Now all my emails are on gMail, then Google controls my data. Google is not evil, but it'sn't good in any way. The first step after importing is backup!
gMail allows to use IMAP protocol for manage emails with your preferred client, you can enable IMAP from Settings/Forwarding and POP/IMAP tab.
Follow this instructions for setup IMAP account on your Sylpheed client:
http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=75725
Now you can use gMail web mail or Sylpheed and your messages are safe!
Please note that the method described above is not secure, when it's run anybody can connects your POP3 server and slurp your messages. Please, consider to modify pop3d.php with a basic authentication method.
I used this method with Sylpheed, but potentially it could be used this all mail clients (it will require some pop3d.php modifications).