Author Archive

$%#@&!! DOS

Tuesday, June 27th, 2006

If someday you should find yourself launching your head with much force against a masonry wall, wailing to all that will listen of the futility of expecting kickstart to work as designed…

Check your kickstart file for DOS line endings. Trust me. They break stuff.

🙂

Linux Quiz #001

Saturday, June 24th, 2006

This is the first in a series of Linux Quizzes. Some quizzes will be very basic while some will be quite tough even for the graybeards. I will post my version of the correct answer after a few days.

I/O Redirection (submit answer)

An imaginary bash shell script, foobar.sh, outputs data on standard output and diagnostic messages on standard error. What command line would you use to run foobar.sh and have the data output in file data.out and the diagnostic
output in file diag.out?

For extra credit, submit a bash script that creates output as described.

ISPConfig Whitelist/Blacklist

Monday, May 15th, 2006

I have recently started using an open source Linux server management package called ISPConfig. It is a wonderful piece of software and has made managing my server a breeze. Out of the box it currently does not support spamassassin whitelists or blacklists for the email users. A few hours of hacking later I had a working solution. This is far from perfect, so please don’t laugh. Feel free to improve it!

spam_filter.gifScreenshot

These patches are against ISPConfig version 2.2.2.

Patch1 for files in /home/admispconfig on my system

Patch2 for files in /root/ispconfig on my system

Patch3 for English language file

If you are unfamiliar with using patch, see this link for some help.

Update: I forgot to include the database tables change.
ALTER TABLE `isp_isp_user` ADD `spam_wlist` TEXT AFTER `spam_hits`;
ALTER TABLE `isp_isp_user` ADD `spam_blist` TEXT AFTER `spam_wlist`;

Update: You can use the form editor to add two largetextarea fields named spam_wlist and spam_blist to the Spam and Antivirus layer of the ISP User form. This will add the proper columns in the isp_isp_user table in the database.

CNC Links

Tuesday, May 9th, 2006

CNC Links