Feed on
Posts
Comments

So our company switched to Gmail as our email provider and all in all it has worked out very well.
However, as the only Linux user I have been banging my head against a wall trying to figure out how to get Thunderbird to recognize Gmail labels as folders and synchronize.

Note: For this guide I will use _MY_FOLDER_ as a placeholder for the folder name you are working on! Change it to whatever you have!

The default setup leads to the following message when trying to update folders:

The current operation on “_MY_FOLDER_” did not succeed. The mail server for account me@mycompany.com responded: [NONEXISTENT] Unknown Mailbox: INBOX/_MY_FOLDER_ [Failure].

Now, I am not going to go through all the things I did try, as they were many and stupid.
However, after a cup of coffee and looking at it logically I found it to be a case issue.

The .msf files of Thunderbird pointed to INBOX/_MY_FOLDER_, but looking in Gmail the labels are Inbox.

So…

cd ~/.thunderbird/_your_profile_id.default/ImapMail/imap.googlemail.com/INBOX.sbd
nano _MY_FOLDER_.msf
CTRL-W and search for _MY_FOLDER_
Change INBOX to Inbox
Rinse repeat for all folders missing

Voila! Your Thunderbird has working Gmail folders again!

EDIT
After closing Thunderbird I found that it goes back and renames all the Inbox tags to INBOX. So first off I will just make a script that changes it every time Thunderbird closes. Then look for a more permanent sollution. Also reported this one to Mozilla.

https://bugzilla.mozilla.org/show_bug.cgi?id=756853

UPDATE
Script that will fix the files. Only issue with a sed loop like this is that it does not take kindly to files with spaces and those will have to be added at the end by hand.
TMPFILE=tmp/tmp.$$

for f in *
do
sed s/Inbox/Inbox/ $f > $TMPFILE
cp $TMPFILE $f
done

Update again…

And 1 year later I update again. Guess I’ve learned how much spare time I have when I focus on work and a relationship.

I’ve decided to try to write on this blog again, so fingers crossed!

Now, my personal laptop died on me recently and it’s a bit limited what I can run and test on my work laptop, so first off I’ll just make the readers aware of two pentesting platforms they can try out:
http://www.deftlinux.net/
http://www.remote-exploit.org/backtrack.html

Late update

Ok, very late update!
Got hired by IBM in Dublin and moved down to Ireland in August. New job, apartment hunting and socializing filled up my entire day and I kept skipping updates on this page.
Now things have calmed down and hopefully I will get more time to write on this page again!

Update

Due to me moving to a new apartment, the updates on this site will be a bit slow in the coming days.

Just installed Dean’s Code Highlighter v1.2 on the site, so I can post code in a more readable way. It’s currently not coloring the code as it’s supposed to, something I’ll try to sort out as soon as possible. Let me know if you have any problems getting the code boxes to show correctly.

Example

  1. <?php
  2. function example() {
  3.         echo "This is an example!";
  4. ?>

Last night I got the urge to make a strong password generator for this site. Don’t really know why, just inspiration I guess. However, it was getting quite late and I fell asleep after 3 lines of code. Luckily, the inspiration stayed with me, and today I got the grunt work done on the code.

Continue Reading »

World wide DNS flaw

Tuesday a major patch was released to fix a flaw in DNS that potentially could give hackers total control of the internet. The vulnerability was found 6 months ago by Dan Kaminsky of IOActive.

Continue Reading »

Finally finished some of the guides and project pages I’ve been writing on! Be sure to check them out.

Also, I would like to mention something Bre Pettis is working on these days; The history of the Chaos Computer Club. Check out part 1 and part 2 on his blog. I wont repeat the general presentation of the CCC here, but could not resist quoting this gem:

It became a crime to connect anything besides a telephone to the telephone network. If caught, you could go to prison for 5 years for hooking up a modem without an official seal. It was felt that having a computer answer a phone was illegal. The CCC confronted this by asking, “Would it be ok to have a cat answer the phone?” When they got a confused, but positive answer, they built a contraption made of Lego and a Fischer-Technique model sets that would lift the phone and place it on an acoustic coupler. They called it “The Cat.”

Update

Part 3

A quite common finding in firewall/gateway logs is brute-force SSH attacks. As a result, many choose to implement security systems that blacklists the source of the attack for a certain amount of time. This method however, has two considerable weakneses.
Continue Reading »

I came across this beauty while surfing the internet;

The Texas legislature has decided that computer repair folks need a government-issued PI (Private Investigator) license when performing what the state calls “an investigation.” If a computer repair person is analyzing data on a customer’s computer, this would fall under “an investigation”, and without a PI license he or she could face up to one year in jail and a $4,000 fine. Additionally, any customer knowingly enlisting an unlicensed repair person’s help is subject to the same fines. To get the license, one needs either a criminal justice degree or complete a three-year apprenticeship under a licensed PI.

So, when Joe Average gets a spyware infection and acquires help from his local repair shop, the person performing the repair will need a criminal justice degree? I must admit I see what they are getting at, but there must be a better way to solve this privacy issue.

Link here

Older Posts »