Archive for November, 2007

Running traceroute on the Windows OS

Auto Date Friday, November 23rd, 2007

First, in order to run traceroute on the Windows box you need to launch a command prompt or DOS console.

Type ‘cmd’ and hit enter in Start->Run

To run Traceroute under the Windows you must use traceroute’s command line utility

tracert

traceroute help:

C:\Documents and Settings\Administrator>tracert

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

Options:
-d Do not resolve addresses to hostnames.
-h maximum_hops Maximum number of hops to search for target.
-j host-list Loose source route along host-list.
-w timeout Wait timeout milliseconds for each reply.

for example to trace the network path to host host.net you should enter

tracert host.net

and hit enter. Voila ;)

Mailscanner and default Spamassassin fills up /var space

Auto Date Thursday, November 22nd, 2007

If you are installing Mailscanner and Spamassassin from source or some RPMs it’s been know to use Bayesian statistics engine with it’s database kept forever. This fills up /var/spool/MailScanner/spamassassin folder pretty quickly if you have a moderate load SMTP incoming server. To fix this problem and rebuild Bayesian filters you need to change the following value in /etc/MailScanner/MailScanner.conf file

find the following setting:

Rebuild Bayes Every = 0

and replace it with

Rebuild Bayes Every = 12000

This will rebuild Bayesian spamassassin database/files every 200 minutes. You can of course aim for a higher value if you have enough disk space.