I've installed but I do not have a simscan-toaster.spec file in the /usr/src/redhat/SPECS directory.

Thanks

----- Original Message ----- From: "Quinn Comendant" <[EMAIL PROTECTED]>
To: <qmailtoaster-list@qmailtoaster.com>
Sent: Monday, December 18, 2006 8:46 PM
Subject: RE: [qmailtoaster] Spamassassin SASQL


So you're still in? I'm in a rush out of the office, but here are some quick steps:

=============================================================
REBUILDING SIMSCAN RPMs TO SUPPORT PER-USER SPAMC INVOCATION:
=============================================================

1. Install the RPMS files from simscan-toaster-3.1.7-1.3.6.src.rpm:

# rpm -Uvh simscan-toaster-3.1.7-1.3.6.src.rpm

2. Edit the simscan-toaster.spec file:

# vi /usr/src/redhat/SPECS/simscan-toaster.spec

You can change the configure options at around line 434. You will only need to set --enable-spamc-user option. Here is this part of my simscan-toaster.spec file:

   --enable-user=clamav \
   --enable-attach \
   --enable-ripmime=/usr/bin/ripmime \
   --enable-per-domain \
   --enable-spam \
   --enable-spam-hits=20 \
   --enable-spamc-user \
   --enable-received \
   --enable-clamavdb-path=/usr/share/clamav \
   --enable-custom-smtp-reject

3. Build an RPM from this spec file:

# rpmbuild -bb --with cnt40 --target $(uname -m) /usr/src/redhat/SPECS/simscan-toaster.spec

(Replace cnt40 with the flag for your distro.)

4. Install the RPM (the usual disclaimers apply):

# rpm -Uvh --force /usr/src/redhat/RPMS/<ARCH>/simscan-toaster-<VERSION>.<ARCH>.rpm

(Replace <ARCH> with yours: i386, i686, etc)

5. Then following the instructions for setting up Spamassassin:

http://wiki.apache.org/spamassassin/UsingSQL

I haven't offered a control panel to our users (yet), but rather just let them post a support ticket if they have specific SA needs. Then I use a rudimentary shell script to make it easy to add/remove userprefs from the database.

Quinn


---------------------------------------------------------------------
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410



On Mon, 18 Dec 2006 19:39:38 -0500, Ronnie Tartar wrote:
Looks like I need to use the --enable-spam and the --enable-spam-passthru
options. Will I need to download the source to recompile? Or can I install
via the simscan-toaster-3.1.7-1.3.6.src.rpm file?

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to