> > It looks like qfilter is inbetween qmail-smtpd and qmail-queue. By that > time, its too late, qmail-smtpd has already accepted the message, > and there > is no way to return an error to the mailer that sent the spam (unless by > some amazing chance, the reply-to, and From addresses are valid). Or am I > missing something here...? > > At the moment, we're actually using qmail-scanner, which we have setup to > scan the messages with two virus scanners, and run it through > spamassassin. > >
If you read the README that comes with it: Notes on writing a filter program: - If you want to block an email, exit from the filter with code 31. This will cause qmail-qfilter to exit with the same error code, and qmail-smtpd (for example) to send an error code to the client. - If you want to silently drop an email, exit with code 99. - The filter script that executes qmail-queue MUST NOT be setuid, and MUST BE readable. Only the real qmail-queue binary needs to be setuid. This seems to say that it will block email. ___ Ed. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk