Rick Macdougall wrote:
Shane Chrisp wrote:
Hi,
Is anyone running simscan + spamc with user prefs stored in sql or even
in file at all? I have been looking at it and it doesnt look like its
that difficult to set up but maybe im missing something. Any input would
be appreciated.
Shane
Yup, we do that here with user prefs stored in MySQL.
Nothing to it really, just make sure you have the correct configure
lines for simscan.
We use the following (with simscan 1.2)
./configure --enable-user=clamav --enable-clamav=y --enable-spam=y
--enable-custom-smtp-reject=y --enable-per-domain=y --enable-received
--enable-spamc-args="-d spa010.munged.ca,spa013.munged.ca -H"
--enable-spamc-user=y --enable-attach=y --enable-spam-hits=10
--enable-regex --with-pcre-include=/usr/include/pcre/
Regards,
Rick
Make sure to use this configure option if you don't want all spam to be
rejected at the smtp level (for delivery to spam folder, etc).
--enable-spam-passthru=y
also, the --enable-custom-smtp-reject=y option requires an additional
patch (qmail-queue-custom-error.patch):
for added flexibility you can define spamc args in
/etc/mail/spamassassin/spamc.conf. That way you don't have to change the
--enable-spamc-args options and recompile simscan to added servers, etc.