Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > Quoting AltGrendel <[EMAIL PROTECTED]>: > > > [EMAIL PROTECTED] wrote: > > > > >I'm currently using qmail+vpopmail with spamc+spamd to check for spam. As > > of > > >right now, in each of the domains' .qmail-default files in > ~vpopmail/domain, > > I > > >have been manually appending: > > > > > >| /usr/qmail/sa/usr/bin/spamc -u [EMAIL PROTECTED] -e > > >/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox (all one line) > > > > > >for filtering to occur with the virtual domains. My first problem > occurred > > with > > >using qmailadmin. It changes the .qmail-default when you change the > 'catch > > >all' account information and gets rid of my spamc entry. I patched > > qmailadmin > > >to fix this, but I'd rather have a better way of doing this globally, > rather > > >than adding this to each domain initially. > > > > > >I use mysql with spamd. I'd also like to discard all mail that reaches a > > >certain X-Spam-Level. I have a working regexp I want to use. So in > theory, > > I > > >would like to do the chain of events to go mta -> spamd -> regexp (if it > > >reaches that spam level to exit 99 [qmail exit quitly code], if not > transfer > > to > > >the mda) -> vdelivermail (in otherwords, follow the instructions in the > > >~vpopmail/domain/.qmail-default). > > > > > >Are there any suggestions to go about doing so? Better setup, etc? > > > > > > > > I've seen alot of fuss about it on the vpopmail list, but I use > > qmail->qmail-scanner->vpopmail with great success. > > I have several domains and they get filtered just fine. > > > > Since you use qmail-scanner, what do you set your QMAILQUEUE environment > variable to? How does it know to use spamc? Do you set it to the path of > spamc? If so, how do you get spamc+qmail-scanner-queue.pl working together? > > Thanks. > > -Patrick > [EMAIL PROTECTED] >
Another thing I'd like to point out: Even if I do set QMAILQUEUE to the spamc path, how do i invoke the if/then statement which includes the regexp to egrep. In other words, lets say I'm regexp'ing for X-Spam-Level 7. If X-Spam-Level >= 7, exit 99 with qmail (email is discarded, never makes it to the mda, thus never making it to the user's mailbox), but if < 7 then pass to vdelivermail. -Patrick ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk