“file too large” error message in /var/log/maillog


I run Postfix as the mail transfer agent (MTA) on my server and saw a bunch of “error writing message: File too large” errors in /var/log/maillog as well as senders getting this bounce message:

I'm sorry to have to inform you that your message could 
not be delivered to one or more recipients. It's 
attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can 
delete your own text from the attached returned message.

                   The mail system

<example@example.com>: cannot update mailbox 
/var/mail/example for user example. error writing message:
File too large

Ends up that Postfix has a mailbox_size_limit setting & since I didn’t have that set, it was set to the default 50MB. The user’s mailbox was near that limit so I up’d the default to 150MB in /etc/postfix/main.cf:

mailbox_size_limit = 157286400

then reloaded postfix:

service postfix reload

and all was good again.

Debugging JavaScript in Adobe AIR apps


Several months back I switched from using Notepad++ to Eclipse-based Aptana Studio to develop an Adobe AIR desktop client for work & have been pretty happy with Aptana other than for the huge amount of memory it gobbles up. Late last week the Adobe AIR Development Plug-In for Aptana came out of beta & is great news for anyone developing HTML/JavaScript-based AIR apps (as opposed to Flash/Flex-based).

One of the drawbacks in developing HTML/JavaScript-based Adobe AIR applications is the lack of debugging tools. It doesn’t help that AIR’s error exception will often output an “undefined at undefined” error message in the system console when a JS error occurs, without any stack trace, leaving you to guess where it actually occurred. This is fine for a small application, but when you have tens of thousands of lines of JavaScript code you’ll often be left banging your head on the desk trying to trace down the error in the code.

This screencast from Aptana better illustrates the new features. Be sure to check it out if you’re using Aptana Studio and/or were looking to give it a try!

AVG8 “invalid update control CFT file” error


AVG on my XP machine at work kept complaining of an “invalid update control CTF file” the last few days, and thanks to a search that led me to this post on the AVG forums,  you just need to nuke the *.ctg files in C:\Documents and Settings\All Users\Application Data\avg8\update\download & AVG 8 will update once again!

A Good Day


I am gracious to have witnessed such an historic event take place & be a part of the process.

Ireland Day 4: Cork to Kenmare


The beds at the Kingsley Hotel were pretty damn good since we didn’t wake up until 11:45am. Checkout was at noon (doh) so I called reception to ask if we could have a late checkout but was denied, with the reason that the hotel was fully booked due to the bank weekend holiday and that they needed the rooms back to clean for the next guests.

We had big plans to hit the gym and pool at the hotel, but weren’t deterred with the setback. We packed our bags, loaded everything in the car, then proceeded to the gym. After hitting the cardio and weights for an hour we then hopped into the pool, followed by a little time in the hot tub to get the full hotel experience. :) We then showered down, changed into street clothes, and we were on the road again!

Originally we were planning to hit the gym and pool in the morning, but since we started late we decided to forego seeing Cork since we had a long drive ahead to our next stop, Kenmare, and wanted to stop in the nearby town of Cobh first.

To get to Cobh, we took a ferry from Cork. It’s a short ferry…only taking maybe 7 minutes to cross the river.

Cobh is a pretty small town, so it was quite a sight to see a humongous 200 foot high cruise ship docked at the harbor. I’ve never been on a cruise before so I don’t know a large cruise ship from another, but this one looked pretty gigantic. It was also very clean and looked quite new. In fact, it was brand new as we found out. It was a Royal Caribbean cruise ship “Independence of the Seas” which turns out to be the largest passenger ship in the world (accommodating > 4300 passengers & > 1300 crew); docked in a little town in Ireland as part of its maiden voyage. The town was quite lively & a lot of people were in the streets, partly due to the “bank holiday” weekend and partly due to the cruise ship leaving port that evening at 6pm.

We went into the Cobh Heritage Center, which contained a small exhibit on the history of the town’s role in emigration and transportation (“transporting” Irish criminals to Australia). Many Irish last stepped foot on Irish soil here before emigrating to America and beyond. Those ships came to be known as “coffin ships” since the voyage to America was perilous and conditions aboard the ships were horrible for the 7 month journey across the Atlantic.

After the Heritage Center, we were too late to visit the Cobh Museum, which closed at 5pm, so we ate a late lunch and then walked up the hill to St. Colman’s Church to watch the cruise ship off. This ship was absurdly immense, dwarfing large container ships in the harbor like they were little gnats.

We left Cobh after watching the cruise ship leave port, and instead of going back across the ferry, we went an alternate route towards Kenmare.

We got into Kemare and checked into the hotel, then drove a short distance back into the town center to eat dinner. None of the sit down restaurants really had anything on the menus that really appealed to us (for the price that they were asking), so we ended up in some burger joint. The next morning we were doing the Ring of Kerry which was yet another (!) long day of driving.

Go to Top