Copy IMAP Folders between Servers / Accounts

So I was having a lot of issues getting my e-mail copied from one IMAP e-mail account to another without having issues.  I tried copying the e-mails directly from one IMAP inbox to another without much success. Basically the server would start rejecting the copies after 10-20 e-mails.

In Thunderbird (Mozilla’s mail application) I was getting the following message: “Sending authenticate login information..” and the client would just stop copying e-mails.

In Outlook Express 6, the client application would begin copying the files over then give me a non descript error message.

What I will explain in the following post is how I successfully copied mail files from one IMAP server to another.  This method will keep all the existing information (headers) like the received date, sender name, etc.  I know it is possible to simply Forward all the messages but then you will lose all this data, which wasn’t an option for me.

The steps involved include (a) creating the two accounts in a mail client, (b) downloading the mail from the “old” account to a local folder, and (c) moving the mail from the local folder to the “new” account.

I initially overlooked the simplicity of this option, but it works simply and successfully. For the purpose of this document the “old” account refers to the account that you will be transferring mail from and the “new” account refers to the account that you will be transferring mail to. You can probably use most mail clients to do this, but I will use Outlook Express 6 to explain because pretty much everyone with Windows XP has this on their computer.

The Steps:

1.      Create the two (2) accounts in the mail client

a.      In Outlook Express, click Tools -> Accounts in the menu.

b.      Click the Add button and choose mail

c.       Follow the prompts, filling in your “old” IMAP account information

d.      Once you add the account it will ask you if you want to download the folders for the new account you just created. Choose yes.

                                                              i.      Make sure each folder is viewable. You can do this by selecting a folder and choosing Show if it is not viewable.

e.      Repeat the above steps for the “new” IMAP account

      2. Copy the mail from the old account to a local mail folder

a.      Decide which mail folder you would like to download the mail from

b.      Make sure there is a folder with a similar name in the Local Folders (ie. If you want to download your Spam folder from the old account, make sure there is a folder under the Local Folders called Spam)

                                                              i.      If the folder doesn’t exist, simply create it by right clicking on the Local Folders and selecting “New folder…”

c.       Open the folder you want to download the mail from

d.      Select a mail item from the right-hand pane

e.      Click Edit -> Select All in the Outlook menu (all of the mail items should be selected now – this can also be done by pressing CTRL+A)

f.        Right click one of the selected mail items and choose Copy to Folder from the menu

g.      Expand the Local Folders item if it is not selected and choose the local folder you would like to copy the mail to and press Ok. (from step b, this would be the local Spam folder we created) Outlook will download all the files and transfer them to the local folder.

h.      Repeat the above steps for all of the folders you would like to copy.

      3. Move the mail from the local folder to the new account

a.      Decide which mail folder you would like to transfer

b.      Make sure there is a folder with a similar name on the new account (ie. If you want to upload the Spam folder from the Local Folders, make sure there is a folder in the new account called Spam)

                                                              i.      If the folder doesn’t exist, simply create it by right clicking on the account name and selecting “New folder…”

c.       Open the Local Folder you want to upload the mail from

d.      Select a mail item from the right-hand pane

e.      Click Edit -> Select All in the Outlook menu (all of the mail items should be selected now – this can also be done by pressing CTRL+A)

f.        Right click one of the selected mail items and choose Move to Folder from the menu

g.      Expand the new account and choose the new account folder you would like to move the mail to and press Ok. (from step b, this would be the local Spam folder) Outlook will upload all the files and transfer them to the remote folder.

h.      Repeat the above steps for all of the folders you would like to copy.

Some Reasoning:
The reason we chose to copy the files from the old account to a local folder is for backup purposes.  If we end up having an issue during the process, this allows us to delete whatever we need and start fresh using the files on the old server.

The reason we choose to move the files from the local copy we created to the new account is to account for transfer issues. In case the server locks up or you lose connection, you won’t have to start all over. You can simply resume moving the remaining files from the local folder to the new server.


New Site

Welcome to the new website.  I’m still working on getting all the new modules installed and configured, but you can check out any of the items to the left.  I had a University of Texas theme, but I changed it out with a red theme with pictures of me in it. Laughing Currently, the following functionality is enabled:

  • Main Content Management
  • Forum
  • Personal Blog
  • Photo Gallery (NEW!)

You can register to post in the forum by clicking the Login/Logout link to the left, or by simply clicking this register link. E-mail me at [email protected] if you have questions.

Josh Lyon

Chase Kerlin Photography

I just finished another site for a client at:

Chase Kerlin is an Austin, TX based photographer who does events in Austin and the surrounding areas. He is known for his excellent eye for weddings and landscape photography. The website includes an AJAX enabled photo gallery to power his portfolio of images — just click the Portfolio button at the top of his page to check it out.

Chase is an ex-Marine turned photographer. Photography is not only his profession, but also a passion. His pricing page has a listing of his rates for weddings and more – simply click the link at the top of the page. If you have any further inquiries, dont hesitate to e-mail him at [email protected] or call at 512-627-2757.

Josh Lyon

Business in Memphis

For one of my projects at Flowserve, my team decided we needed to go to a plant in Memphis, TN. After building a business case behind our decision to go to memphis and getting buy-in from the plant manager and IT director, we were on our way to the Memphis Pump Facility. Because we bought the plane tickets last minute, the tickets directly to Memphis were almost $900 dollars. We found a cheaper flight ($230) to Little Rock, then rented a vehicle and drove to Memphis — which is just across the border.

They are working on a lot of cool projects that I sadly cannot tell you all about. But it was exciting just to see all the innovation that is going on within the company right now. Even our team project required some innovation. We were supposed to be there looking at barcoding technologies as a possible way to streamline processes and improve efficiency, but our focus shifted to a whole new type of project.

We had the GM of the plant recommend areas that he felt barcoding could improve the bottom line and increase efficiency, but then realized there were more serious issues at hand. We compiled a list of these inefficiencies and locked ourselves in a conference room and came up with some great ideas.

The whole 2006 IT Intern team took a trip to Sulphur Springs at the beginning of the summer, but this was a whole different kind of trip. We were no longer restriced to following the "safe path" that was outlined in yellow for visitors. We got our steel toed shoes and safety goggles on and we were given hands on time with the whole facility.

The first day included a completely guided tour with an agenda for meeting with various people throughout the day. We started with a general tour of the whole facility with one person giving us a very high-level explanation of what the issues at hand were. Throughout the rest of the day we met with subject matter experts within each area that needed improvement. All-in-All it was a good trip and I we should really be able to make a big impact within the company.

Josh Lyon

Coors – Great Ideas

It seems like Coors has come up with yet another great idea — a mini, mini keg. That's right: Five Liters of Fun. What's nice about this invention is it is just as delicious as beer on tap, but in a portable self contained device. The side of the keg says to chill it for 5 hours before drinking. "It's well worth the wait!" Damn right it's worth the wait… well especially because Tom Thumb did the chilling for us. It's small enough to fit in a fridge or cooler, but big enough to get a couple people toasted.

Travis and I took it to a friends house for game two of the NBA finals — then took it to the lake the next day. Five Liters of beer is roughly 170 ounces which works out to over 14 twelve ounce beers. The keg cost about $12 with tax. It's more of a novelty than anything. It has a spout that pulls out on the side to serve the beer and a cap at the top to open to get the beer flowing. As I hinted at earlier, the beer can be resealed and finished the next day.

[Click the image to the right to see a larger picture]


Jet Ski: Fixed

More info on the Jet Ski. As I mentioned before we got it up and running within the first week we had it in Dallas. It had been broken for about two years. My dad and brother attempted to work on it, but I really dont know how much effort they invested into it. We pulled the CDI box — which is a small sealed box that houses all the electronic components — only to find that it was developing it's own mini-environment inside it. If we were to buy all the individual parts inside it, we would have spent over 1500 dollars. We went on ebay and bought a $300 replacement box and had it shipped to us within the first week.

(…read more click below.)
Here's a list of the things we replaced/fixed:

  • CDI Box — all components inside
  • Throttle cable
  • Choke Assembly
  • Fuel Filter
  • Spark Plugs
  • Oil Change

The speedometer doesn't work — so we need to figure out what's wrong with that. The ski smokes a bit when it starts up, so we are thinking about doing a modification that removes the Oil Tank/Pump and allows you to manually put the oil into the gas. The guy at the Kawasaki dealership said he recommends it. It's supposed to be better on the motor and improve performance.

This saturday was the second time I got to go out on it since I've been in Dallas for the internship. I think Travis has gone out on it five or six times. It ended up costing me just over $500 dollars to get it fixed. My parents said they would pay me back for it, so I need to get all the bills together and work out a total.

It was taken to the lake (2) two weekends in a row without having the trailer registered because of the stupid system at the County Office. They were going to charge us for two years because the of the date at which we wanted to register the trailer. The last two weeks in May would have forced us to pay for the whole 2005-2006 year. We decided to wait until June and just pay for the 2006-2007 year.

It's all registered now and is begging me to ride it. I look at a little lake out my window all day and it makes me want to leave work and go to the lake. Oh well, it's just something to look forward to for the weekends.

Josh Lyon

Flavia Coffee Maker

I think I have found the coolest coffee maker ever. I noticed them the first week I got here for my internship, but I didn't decide to try it out until today. The machine allows you to choose a flavor (from many — see pic) and make a fast, single cup of coffee (or Tea, Cocoa, etc).

Here's a picture to illustrate:

I'm really tired this morning, which is probably the only reason I decided to make myself a nice cup of French Vanilla (a little sugar/creamer). I'm not usually a big coffee drinker. I've got a meeting in about 20 minutes, so hopefully it will wake me up enough to look over the details and contribute to the meeting.

Anyways… it's a cool coffee maker.

Josh Lyon

Week 2 Done – Begin Week 3

Another week goes by and I've learned even more about the the company. It's easy to understand why the University of Texas (McCombs School of Business) recommends taking as many internship opportunities as a student can get. Don't get me wrong: school is tough… especially when working 30 hours each week while i'm finishing up with courses within my major. But working in the corporate headquarters for a fortune 500 company gives you a much better perspective on what the real world is really like. It's a lot of work, but it has its payoff.

Working 40-50 hour weeks is definitely not as long of a week as some of my dads (and friends) 70-80 hour weeks. But it is representative of what the employees at Flowserve HQ work. We recently started doing "summer hours" in which we work an hour longer on Monday-Thursday then only come in for a half day on Friday. This is perfect for me. I come in early and leave late already — just to avoid the rush of traffic — and I get to extend the enjoyment of my weekends….

I went back to Austin for memorial day this (3-day, long) weekend to see Laura and my family. Laura got back from Paris on Friday and flew into Houston. She came out Saturday morning, which was perfect because I needed to fix a friends laptop on Friday. I bought a new phone (Treo 650 smartphone) on Saturday, then on the way to my parents house my car decided it was time for a new alternator.

We pulled the cable from the alternator, jumped the car, then drove it up to Georgetown with all the power-drawing equipment turned off. This works alright for old carbed motors that dont have much computer equipment. But with my car, the computer controls all the fuel ratios and everything else that creates a smooth environment for the engine. It ran rich/rough on the way up there, but it was a hell of a lot better than fixing the thing in the parking lot with little/no tools.

I ended up spending the whole weekend modding my dad's xbox (which might I add is pretty SWEET) and Laura wasn't too happy that I didn't spend more time with her. Well, lucky me, she's moving into my apartment this weekend so I'll be back in Austin again. I was really hoping to get out to the lake this weekend to run the Jet Ski.

I can't believe I forgot! The JetSki which was down for TWO (2) years has been revived by Travis and me. We pulled the CDI (electronic) box from under the oil tank only to discover that it had a seal broken and had a nasty funk growing inside it. We bought a whole new CDI box, choke cable (also was broken), and a new battery and got her up and running for the first weekend. We went out to the lake, got burned, and had a good time.

Josh Lyon

flamingcube – back online

Our sister site,, has finally been restored. The data was lost during a transition from one host to another and the most recent backup was corrupt.

An old home-directory backup was found, allowing us to save most of the files. However, a recent database backup could not be recovered. The site had not seen many updates (to the DB) recently, so it wasn't that big of an issue. An older copy of the database was found and flamingcube was restored to it's normal self.

The forums have been locked down due to a recent outbreak in phpBB script attacks to the version currently being used on the site. will now serve as a reference version of the old site.

Check out the site:

I really need to update the site to the new phpBB forums, as a new hack has been released for the version I have on the site. I think I may just take the site offline temporarily and forward the URL to this site.


Media Center – Software vs OS

After trying a couple different applications designed to effectively act as a replacement for Windows XP Media Center edtion (MCE), I'm going back to Microsoft's operating system. Basically, none of the applications could do everything MCE could. And even when they got remotely close, the interface was hideous in comparison to MCE.

I needed an OS that was based on XP Professional so I could use the development tools required for my classes, like Visual Studio .NET. Being based on Windows XP Pro also allows me to enable Remote Desktop Connection so I can access and control my desktop from anywhere with Internet Explorer 5 or newer… or the Remote Desktop application….

I personally prefer to use the Remote Desktop application because it allows me to connect my local drives/printers on the laptop while im "logged in" to the Remote Desktop. This ability was the solution to my loud computer in my bedroom being the computer I use to download files over night. The thing is so loud, I can't go to sleep with it on at night.

I needed a remote server in a different room so I could continue my downloads over night and cut-down the total overall time to download. My xbox is modded with XBMC, but there are no homebrew applications to download torrents. So I installed Linux on the xbox (X-DSL) and installed a BitTorrent client. That worked… kind of. If I wanted to use the Xbox Media Center functionality of my xbox, I would have to stop downloading.

So what next? How about one of those spare computer I have sitting in my closet? Perfect. Install Windows XP, set up the computer, set up remote desktop, set up file-shares… "wallah!" I now have a file/torrent-server to house all my media.

I'll get back with some photos and screen shots… for now, use your imagination. I'll try to write up some info on the processes later.