[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spamassassin



Steve Brown wrote:
> I use qscanq with clamd and spamassassin, this works very fine.

Would you mind sharing the contents of your QMAILQUEUE file with the list please? I tried for a few weeks to get clamd and SpamAssassin running at the same time with qscanq and could never get it working correctly. ClamAV and SA work fine individuall, but the script to use oth at the same time never worked right.

Thanks,
Steve


Um.. that's not the best set of scripts but it works for me, still I haven't been using it in production environment.

QMAILQUEUE="/var/qmail/bin/run-scanner.sh"

"run-scanner.sh"
#!/bin/sh
/package/mail/qscanq/command/qscanq /var/qmail/bin/qfilter.sh

"qfilter.sh"
#!/bin/sh
/usr/local/bin/qmail-qfilter /var/qmail/bin/spamc.sh

"spamc.sh"
#!/bin/sh
/usr/bin/spamc -u $QMAILRCPTS


It's obvious in this setup qmail-qfilter is mandatory. Btw, whe $QMAILRCPTS env variable is set by it.


--


+---------------------------------------------------+
| Kiril Todorov  <+>  System::Network Administrator |
+---------------------------------------------------+
|     /* waiting... dreaming... wishing... */       |
+---------------------------------------------------+