Showing posts from May, 2010

Exim: Removing frozen mails

So i want to do some frozen mail cleanups in exim. referred to my previous post here but then, found out its not working. Improvised, and came out with this:

for i in `/usr/sbin/exim -bp | grep frozen | awk '{print $3}'`; do rm /var/spool/exim/input/`ayam=$i && echo ${ayam:5:1}`/$i*; done;

Nope. That's not the solution just yet. Why? Because sifu Kenji gave us these:

Useful exim commandCheck mail queue/usr/sbin/exim -bpcheck number of mail queue/usr/sbin/exim -bpcflush mail queue/usr/sbin/exim -qff -d -C /etc/exim.confCheck frozen mail/usr/sbin/exim -bpr | grep frozen | wc -lRemove frozen mail/usr/sbin/exim -bpr | grep frozen | awk {‘print $3′} | xargs /usr/sbin/exim -MrmGo check out his blog : kclee//alak

JFolder::create: Could not create directory Warning! Failed

You can go to the menu : "Help --> System Info" in your administrator site and then go to tab "Directory Permissions" to view what directory need to have permission to write. You must CHMOD those directory to 777 and then all the problems will be solved



Eit.. o/

Cube tengok langit tu..

Cube tengok langit tu..
Hijau jingge, kadang2.. x tentu..

Cube tengok langit tu..
Biasalah.. adap die dh gitu..
Sunnatullah.. Dah tertulis dlm buku..

Kalau puteh okmo, kang panah dering pulok..
Kalau cokelat pulop, ho, ok a.. mendung senja nk berkaseh madu XD
Biru? Ouh! Mmg kuor lake a, beriang rie, bersuke bergalok..
Hm.. kalau dah x kelabu, bile nye air nk jatuh x berlagu?

Gitu lah eh.. :)~

//tadop kije.. saje nk menaip..

installing Perl Modules - Mac OS X


What i did to install couple of modules to my Perl. What i wanted was File::Listing IO:Handle File::Find and Net::FTP.

First, i ran:

alak$ sudo perl -MCPAN -e shell

and it prompts for some auto configuration stuff, i choose [Yes].

Would you like me to configure as much as possible automatically? [yes]

Ok, a hell lot of text on screen, and at the bottom end:

New version (v1.9402) available.
[Currently running version is v1.9301]
You might want to try
install CPAN
reload cpan
to both upgrade and run the new version without leaving
the current session.

Ouh! Update, ok.. i'll update first:

cpan[2]> install CPAN
Running install for module 'CPAN'
CPAN: Data::Dumper loaded ok (v2.121_17)
.... [truncated]
CPAN: File::Temp loaded ok (v0.20) Going to build A/AN/ANDK/CPAN-1.9402.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite File::HomeDir 0.69 not found.
Writing Makefile for CPAN
Could not read '/Users/…