Spamassassin and clamav

We recently switched our mail servers to the fantastic QMail Toaster package. It works on most common Linux distributions that make use of the RedHat package manager. Now I have some addons ready for it. If you use QMail Toaster and would like to reduce Spam and Viruses, try my addon-packages from the toaster addon dir. Do not ask for binary packages, I think there is something in Dan Bernsteins license disallowing that.

Installation is pretty easy. Install all current QMail Toaster packages (howto available here) and then do the following:

rpmbuild –rebuild /usr/src/redhat/SRPMS/clamav-0.60-4.src.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/clamav-db-0.60-4.i386.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/clamav-0.60-4.i386.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/clamd-0.60-4.i386.rpm
rpmbuild –rebuild /usr/src/redhat/SRPMS/spamassassin-2.55-1.src.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/perl-Mail-SpamAssassin-2.55-1.i386.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/spamassassin-2.55-1.i386.rpm
rpmbuild –rebuild –with rht90 /usr/src/redhat/SRPMS/qmail-scanner-toaster-1.03-1.0.2.src.rpm
(where rht90 should be replaced with your system
rpm -ivh /usr/src/redhat/RPMS/i386/qmail-scanner-toaster-1.03-1.0.2.i386.rpm

Now what is left to do?
Go to /var/qmail/bin and edit qmail-scanner-queue.pl ! You will find some settings at the top like you domain name and a list of you mail domains. We have defined some sample values there, so you should easily find out, which things have to be changed.

Additionaly you might want to check /etc/mail/spamassassin/local.cf ! There you can define you default setting for SpamAssassin and configure stuff like database backend for user settings or the required hit points, etc.

If any questions come up, feel free to contact me or send mail to the Qmail-Toaster user list where I am also reading and writing.

redhat 9 basic virtual hosting experiment

I. Install Red Hat 9
Step 1: Download the ISO Images and burn them onto CD if you don’t already have them available to you. You will only need the first 3 CDs. (The Binary CDs, with i386 in their names) You can download the CDs from: http://www.redhat.com/download/products.html

Step 2: Install Redhat 9

a. Boot from the RedHat 9 Disk 1 CD
b. Click next through the first 3 screens, and choose that you want to perform a Custom Install
c. Choose Automatically Partition on your HD. Then make sure that it will partition to your liking. The defaults should be great!
d. Continue on and when you get to Network Configuration, make sure you set your Static IP in here as well as your Hostname.
e. On Firewall Configuration, choose ‘No firewall’ We will configure one later.

You don’t HAVE to follow the next step. What I like is to go through and ONLY install the things I know I will need. After I do this, I then usually use icewm for my GUI, as it is REALLY small and fast and clean. Again, this is your install and you can do what you would like, but below is what I install. The install below will take 1.1 GB of HD space. Regardless of what you install below the checkdeps.sh script should find and install all needed dependencies for qmailtoaster.

Just make sure you install the Development tools. This will have the GCC Compiler and other needed things to compile the toaster.

f. When you get to the Package Group Selection, Do the following:

1. Uncheck Gnome
2. Click Details next to X Window System
Uncheck the Following: authconfig-gtk, desktop-backgrounds-extra, firstboot, openssh-askpass, openssh-askpass-gnome, all redhat-configs, rhn-applet, up2date-gnome, usermode-gtk, and xisdnload.
3. Click Details on ‘Graphical Internet’
Uncheck the Following: evolution, gaim, pan, and xchat
4. Click Details on ‘Text-based Internet’
Uncheck the Following: fetchmail, mutt, and sim
Check the following: lynx, and pine
5. Uncheck Office / Productivity
6. Uncheck Sound and Video
7. Uncheck Graphics
8. Check Development Tools
Click Details on ‘Development Tools’
Uncheck the following: cvs, diffstat, doxygen, gcc-g77, gcc-gnat, indent, ltrace, memprof, patchutils, rcs, and splint
9. Uncheck Printing Support

Check Select individual packages at the bottom and click next
Click Flatview, and select the following Packages:

expect
fontconfig-devel
freetype-devel
gd
gd-devel
glib-devel
gnome-desktop
gtk+-devel
httpd
httpd-devel
httpd-manual
imlib
libjpeg-devel
libpng-devel
libungif
mod_perl
mod_python
mod_ssl
mrtg
mysql
mysql-devel
mysql-server
perl-DBD-MySQL
perl-DBI
perl-Digest-SHA1
perl-suidperl
perl-Time-HiRes
php
php-imap
php-ldap
php-mysql
startup-notification
tcl
XFree86-devel

Say yes if there are other dependencies it says you need to install. Then you should be all set!

Step 3: Reboot and log in!

Step 4: If you want icewm for your GUI, then visit: http://www.icewm.org and download the latest RPMs. If you followed above, all your dependencies should be installed for it.

II. Install Shorewall
III. Install Qmailtoaster through Yum Script
IV. Install Webmin with Virtualmin
V. Eat a lot co z you will be dead if you dont.

Wizard Ultimate Build

ORDER

INT 80
AGI 30
DEX 40

INT 99
AGI 61
DEX 69
LUK 18

MAGE
5 cold bolt
10 SP recovery
4 Napalm
10 SoulStrike
1 Lightning Bolt
1 Stone Curse
10 Frost Driver
1 Sight
10 Firebolt (buffer 8) * 2 coming from WIZARD *

WIZARD

10 Jupitel Thunder
10 IceWall (stone curse 1 + frost 1)
10 Storm Gust (jupitel 3 + Frost 1)
5 Water Ball
1 Heaven Drive
5 Quagmire
1 sight Trasher
5 EarthSpike
1 LOV
1 Heavens Drive

Scratch
cold bolt 5 -> frost driver 10
napalm 4 -> SoulStrike 10
Lightning Bolt 1 + Napalm 1-> Jupitel 10
Cold bolt 1 + Heaven’s Drive 1 -> Quagmire
Sight 1
Frost1 + Stone Curse 1 -> Ice wall
Storm gust 10

Can you beat this PC?

Processor INTEL PENTIUM 4 3.0GHZ / 800MHZ / 512KB / HT 23,698.00
Extra CPU Fan NONE
Mainboard DFI PRO875 LAN PARTY 800MHZ / DUAL DDR400 / 8X / RAID 1.5 / SATA / UV SENSITIVE 12,888.00
Sound Card CREATIVE SB AUDIGY 2 6.1 7,348.00
Video Card SAPPHIRE ATI RADEON 9800 ATLANTIS PRO 256MB DDR-2 8X TV DVI 29,998.00
Memory SAMSUNG PC2100 256MB DDR NEW ARRIVAL! 4,598.00
Casing THERMALTAKE / XASER III 7,988.00
PSU HEC 475W POWER SUPPLY 4,588.00
Keyboard LOGITECH CORDLESS MX DUO KEYBOARD – BEST BUY !! 4,648.00
Mouse LOGITECH MOUSE CORDLESS PRESENTER 9,498.00
Harddrive MAXTOR 250GB 7200 RPM ATA133 25,888.00
CD ROM SONY 52X CD-ROM DRIVE BLACK 1,098.00
DVD ROM PIONEER DVD 16X / 40X 2,448.00
CDRW HP DVD200i DVD WRITER 25,498.00
Floppy Drive SONY 1.44MB FLOPPY DRIVE BLACK 478.00
Monitor AOC 19 INCHES LM900 LCD MONITOR 39,998.00
Modem U.S. ROBOTICS 56KB USB FAX MODEM 4,688.00
Speakers ALTEC LANSING 5100 5.1 7,898.00
LAN Card 3COM PCI LAN CARD 10/100 1,648.00
AVR APC-USA BACK UPS 650VA 5,748.00
Printer HP COLOR LASERJET 1500 62,888.00
Scanner CANON 5000F COLOR IMAGE SCANNER 12,698.00

PC Quote #2337 Total Price 296,228.00

Well my YM. Priceless.

Untitled

please enveloped me

with a leaf of your significance

floating it my head

shining in my isolation

share with me the shadow of you understanding

so i can follow

so i can sleep

i want to hold you

and atlas will envy

No longer will I feel the cold whisper

No longer will I dream of the blue tears

please enveloped me

and i will follow

plese let me in

and i will elevate from this shallow