README
1 spamGuard 1.8 README
2 ---------------------------------------
3
4Nearly all of today's mail system administrators face spam as their
5first threat. Because of this, EnderUNIX team has written this small
6application to automagically monitor malicious spammer activity in
7your mail server logs.
8
9spamGuard is written purely in C, to stop spammers hanging around.
10The program supports nearly all mostly used MTAs; qmail (qSheff,
11multilog, and splogger), sendmail and Postfix.
12
13Rationale:
14----------
15
161. spamGuard is fired via crontab within fixed intervals.
172. spamGuard scans the accumulated maillog and finds the amount of
18mails users sent.
193. spamGuard loads its ignore list from its
20 ignore file and badmailfiles files(badmailfrom in
21 qmail and access for sendmail).
224. users whose mail count exceeds the configured threshold value(there
23 are three different values: warning, block and paranoid) are treated
24 as spammers. They are added to mailers' badmail file (spammer
25 blacklist files).
265. Notification mails are sent to sysadmins about spammer activity,
27 if present.
286. (For sendmail version, a hash database of access
29 file is created).
30
31spamGuard can process a 85 MB log file in less then 10 seconds.
32
33Tested on: FreeBSD 4-STABLE Solaris 2.7-Sparc
34Solaris 9-Sparc Slackware Linux 8.0 RedHat 9, Digital UNIX, HP-UX
35
36If your OS is DigitalUnix, please read README.DigitalUnix.
37
38For questions, there is a mailing list available: To subscribe send
39mail to: spamguard-subscribe@yahoogroups.com
40
41
42EnderUNIX SDT @ Istanbul/Turkey bug-report at enderunix dot org -
43http://www.enderunix.org
44
45
46Tue May 08 21:08:08 EEST 2007
47
README.DigitalUnix
1README Digital Unix.
2--------------------
3
4When you launch or run spamGuard on Digital Unix, "if" spamGuard
5woes for an Unaligned Access error e.g.:
6
7[1200]#/usr/local/bin/spamguard -w 50 -b 100 -p 2000
8Unaligned access pid=31946 <spamguard> va=0x14000d23c pc=0x3ff8019ce0c ra=0x3ff800d7134 inst=0xa560fff8
9Unaligned access pid=31946 <spamguard> va=0x14001607c pc=0x3ff8019ce0c ra=0x3ff800d7134 inst=0xa560fff8
10Unaligned access pid=31946 <spamguard> va=0x14001631c pc=0x3ff8019ce0c ra=0x3ff800d7134 inst=0xa560fff8
11
12
13Solution:
14---------
15Before running spamGuard, run the command "/usr/bin/uac p 0" (without the quotes).
16So your crontab entry can be: (all in one line)
17
180,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/uac p 0 ;
19/usr/local/bin/spamguard -w 50 -b 100 -p 2000
20
21
22Credits:
23--------
24Thanks "Juan Enciso" <jenciso@isp.qnet.com.pe>, for notifying this.
25
README.sendmail