I know this doesn't solve your problem, but in general, I think the real strength of gmail is its user interface. If you use Kmail to access it, you may as well just keep your old email address.<br><br><div><span class="gmail_quote">
On 2/8/07, <b class="gmail_sendername">Chuck Peters</b> <<a href="mailto:cp@ccil.org">cp@ccil.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2/7/07, Amichai Rotman <<a href="mailto:amichai@iglu.org.il">amichai@iglu.org.il</a>> wrote:<br>> Hi all,<br>><br>> I am trying to move my old mail from KMail to GMail.<br><br>I am doing something similar with a bit of mail since the mail admin
<br>just migrated our system and screwed up my forwarding - not very good<br>admins...  I have a script running as I write this.<br><br>> I configured GMail in KMail - but it couldn't authenticate.<br>><br>> I also have access to an IMAP account, so I add the IMAP account  to both
<br>> KMail and Thunderbird 1.5 so I can transfer mail from KMail to IMAP and then<br>> from IMAP in Thunderbird to GMail.<br><br>I think you could setup a filter and forward with either Thunderbird<br>or Kmail, but you might have problems trying that with more than a few
<br>dozen emails - gmail might think you are spaming or your mail server<br>won't allow it.<br><br>> Is there an easy way to do this?<br><br>Do you know the old joke about UNIX is user friendly, it's just choosy
<br>about who its friends are.  It is easy if you know how, have the right<br>tools and have the right services available.  Since you are running<br>Ubuntu you can use procmail, formail, your mail folders should be in<br>
mbox format and you have some way to send mail.<br><br>The short version of what I am doing is:<br>Spam filter and forward mail with procmail - and it has some loop<br>protection to attempt to avoid those nasty problems.<br>
<br>I should warn against trying what I am doing without knowing more<br>about how you send mail...  You should do some tests...  If your mail<br>server or smtp server doesn't allow it - you might have problems with<br>
gmail accepting mail directly from your machine.  The method I use<br>sends mail from a exim4 mail server with correctly configured DNS...<br><br>One issue I heard about while surfing for solutions was that if I send<br>a lot of mail quickly gmail will think I am spaming and start
<br>rejecting the mail.  So I wanted to figure out a way to send the 2000<br>messages slowly.<br><br>First I split the messages to individual files with a modified version<br>of a script I found at<br><a href="http://www.mail-archive.com/clamav-users@lists.clamav.net/msg23366.html">
http://www.mail-archive.com/clamav-users@lists.clamav.net/msg23366.html</a>.<br> I can upload it somewhere if you like.<br><br>Then create a list of the files created:<br>For example<br>ls > list<br><br>You will need a .procmailrc and .forward files which forward the mail...
<br>cp@earth:~$ cat .forward<br>|/usr/bin/procmail<br><br>And a minimal .procmailrc file that doesn't include loop protection.<br><br><br>SHELL=/bin/sh<br>MAILDIR=$HOME/mail<br>PMDIR=$HOME/.procmail<br>LOGFILE=$PMDIR/log
<br><br>:0<br>*<br>!example@<a href="http://gmail.com">gmail.com</a><br><br><br>Then write a little script to send the files slowly - it waits 5<br>seconds before sending the next message in the list.<br><br>#!/bin/sh<br>
<br>for item in `cat list`<br>do<br><br>cat $item | formail -s procmail<br>echo "$item"<br>sleep 5<br><br>done<br><br><br>I should note I still don't have the .procmailrc setup the way I want,<br>my recipe isn't forwarding the lists with loop protection.
<br><br><br>Chuck<br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Zach Stern<br><a href="http://rollerskatejamms.110mb.com">http://rollerskatejamms.110mb.com</a><br>(Its kinda crappy at the moment)