I've tried using "exit" by itself, but it doesn't work. At least it
doesn't work all the time.
Maybe it's my configuration:
Redhat Linux 7.3
qmail
maildrop
spamassassin
vpopmail
courier-imap
Here's the filter code. All I'm trying to do is dump all e-mail messages
addressed to dar...@usabusiness.net
The maildrop filter test is like this, which seems to work because when I
change exit to something else I get different results.
if ( /darenz/ )
{
exit
}
After a series of tests like that, maildrop sends all messages to
spamassassin (via spamd).
With that filter in place here's a bit of the /var/log/qmail/current file
as a message came in. The message was also processed by spamd - and the
only way that can happen is if maildrop sends it there.
2002-12-22 12:49:01.790121500 starting delivery 1760: msg 16231 to local
usabusi
ness...@usabusiness.net
2002-12-22 12:49:01.790136500 status: local 1/10 remote 0/20
2002-12-22 12:49:03.041713500 delivery 1760: deferral:
Sorry,_no_mailbox_here_by
_that_name._vpopmail_(#5.1.1)/maildrop:_error_writing_to_mailbox./
2002-12-22 12:49:03.041752500 status: local 0/10 remote 0/20
I'm not sure what mailbox it's looking for at that point, but it shouldn't
be getting there if exit really drops the message.