Making and Installing EnderUNIX spamGuard v.1.6 ==================================================================== This file provides brief instructions on how to build and install spamGuard on UNIX (and UNIX-like) system. More detailed information and instructions can be found in EnderUNIX website: (http://www.enderunix.org/spamguard/spamguard-1.6/INSTALL). It is recommended that you read, or at least skim through, ALL of the instructions in this file before attempting to build the software. Making and Installing ----------------------------------------------- 1. Unpack the software and change directory: % tar xfz spamguard-VERSION.tar.gz % cd spamguard-VERSION (replacing VERSION with the appropriate version string). If you are reading this file, you probably have already done this!:)) 2. ./configure 3. Type: % make If all goes well, all binaries will be compiled. 4. Install the binary. You may need to become the super-user (e.g. root) to do this (depending on where you are installing things): % su root -c 'make install' Binary will be installed in /usr/local/bin. A sample spamguard.conf will be installed in /usr/local/etc. 5. Copy spamguard.conf.sample to some path to your liking. Note that if you specify some other location than /usr/local/etc, you'll need to supply path to spamguard.conf via the -f swicth at run time. logtype = "qmail" Your log type. Possible values are: qmail, sendmail, postfix logfile = "/var/log/qmail/current" Location of your log file. An important thing to note here is that; keep the size of your log file large. If you're using qmail with multilog, you can set this in the qmail-send/log/run file with the s (size) parameter like this: (all in one line) #!/bin/sh exec /usr/local/bin/setuidgid \ qmaill /usr/local/bin/multilog t s5000000 \ /var/log/qmail if you're using syslog, change the rotate size. ignorefile = "/usr/local/etc/spam-ignore.txt" # Location of your ignore file. Ignore file will hold the addresses to ignored by spamguard. badmailfile = "/var/qmail/control/badmailfrom" Your MTA's blacklist'ed senders file. If you're using qmail most probably this will be: /var/qmail/control/badmailfrom; if sendmail : /etc/mail/access; if postfix it'll be /usr/local/etc/postfix/access sysadmin = "spam-notify@somedomain.com" The person who will receive spammer activity reports. hostname = "enderunix.org" If no hostname is found in the sender line, this will be appended to the username. e.g from= will be from = . mail_command = "/usr/bin/mail" Where's your mail/mailx binary. Solaris users should use mailx instead of mail. makemap_command = "makemap hash /etc/mail/access