Archive for the ‘Linux’ Category

DNS Cache and Spamassassin performance

November 9th, 2011 No comments


DNS cache is very valuable thing when you are running RBL checks via Spamassassin. As many RBL lists, many IPs in header means a lot of queries. Of course, if you receiving 20 mails per day, its not big deal, but when you hit 200k per day, just simple thing can help a lot. With easy scrip tyou can debug how fast is Spamassassin on your system with RBL queries.

Read more…

Categories: Linux Tags: , , ,

Upack .pkg from MacOSX in Linux

January 19th, 2011 2 comments

Small info how to unpack from .pkg file on linux. As it seems little hard to find out πŸ˜‰

Read more…

RedHat 6 Final – kickstart for minimal install

November 15th, 2010 1 comment

As new RHEL 6 arrived, trying to do installation as minimal. Once done via anaconda standard click-next , I realized that no option for minimal installation left in cf file.

After small searching , regarding this bug RHEL6 docs: Add information on minimal platform installation via kickstart – all fixed, and kickstart is installing 222 packages and not 378 Winking smile

Memory used: 47 MB !!

Read more…

Categories: Linux Tags: , , ,

Courier-IMAP authlib and Vpopmail 5.5

June 17th, 2010 No comments

Current courier-authlib 0.63 dropped authvchkpw module ;( , however building lower version against vpopmail 5.5 seems not working Read more…

Categories: Linux Tags:

How create and use pipes in Linux

April 22nd, 2010 No comments

Create a named pipe using mkfifo: mkfifo -p /var/adm/syslog.pipe

Make syslog.conf to points to this file (for example /var/adm/syslog.pipe)

*.info                        |/var/adm/syslog.pipe

Relaunch syslogd:
  kill -HUP `cat /var/run/`

Create processing script that read the pipe. It should run constantly and be launched from RC scripts

cat /var/adm/syslog.pipe | grep -v “denied update from” | while read LINE
  echo $LINE >>/var/adm/denied_update.log

Categories: Linux Tags: ,

mySQL backup / copy DB over SSH to remote host

April 22nd, 2010 No comments

Working with mysql on server, I need often to make quick backup od given db. Here is quick and dirty how to do it. Read more…

Categories: Linux Tags:

Deleting and undeleatable file or directory in linux even as root

March 29th, 2010 1 comment

Sometimes it happen that on file system I have file or directory which I cannot delete, even if Im root. Cannot do chown or chmod , ls –al showing all OK, but still cannot delete it. Whatever I try , simple “permission denied” and similar message. Im the root !!! so, what to do ?

Read more…

Categories: Linux Tags: