zMastaa.com

A geek at home. A web and mobile Apps Developer at Bella Design in Cheshire. A man united fan all day long.

Rebuilding Linux qmail-queue

July 23rd, 2014

Has your mail server been hit with a spam bot? Or maybe you’ve just made the catastrophic mistake of deleting directories in the qmail queue directory

All current messages will be removed from the mail queue if you are following the steps below and cannot be restored

Stop the qmail service

service qmail stop (or) /etc/init.d/qmail stop

Then delete the folders under qmail queue and create the queue folder structure

cd /var/qmail/queue
rm -rf info intd local mess remote todo
mkdir mess

for i in seq 0 22; do mkdir -p mess/$i done

cp -r mess info
cp -r mess intd
cp -r mess local
cp -r mess remote
cp -r mess todo
chmod -R 750 mess todo
chmod -R qmailq:qmail mess todo intd
chmod -R 700 info intd local remote
chmod -R qmails:qmail info local remote

Start the qmail service

service qmail start (or) /etc/init.d/qmail start

What’s happening: May 2014 (ACL Reconstruction)

May 7th, 2014

So last year summer I tore my anterior cruiciate ligament and damaged the articular cartilage in my left knee. After two postponed surgery dates, due to an already booked holiday to Cancun, I finally had surgery on my knee last friday (2nd May 2014)

The procedure was an arthroscopic ACL reconstruction, I was in hospital at 7am had my procedure at around 8.30am, woke up from the general anesthetic at 1.30pm and left at around 3pm.

ACL Reconstruction

ACL Reconstruction