I have found that this works for /dev/null:
#Out of the Office
if (/^Subject: (.*(out of( the)? office)|(.*(un|un-)?sub(s)?cribe))/)
{
to "| cat - >/dev/null"
}
Michael
----- Original Message -----
From: "Robert Stoeber" <Rob...@usabusiness.net>
To: "maildrop" <cour...@lists.sourceforge.net>
Sent: Sunday, December 22, 2002 12:11 PM
Subject: [maildropl] How can I drop, delete, vaporize message immediately?
Hi all,
I'm trying to drop messages without any further processing. I've worked
on
my filters for a while and have them working perfectly, but the "to"
command seems to want a real mailbox, or a file which isn't any better
for me.
What I wanted was "to /dev/null" but that doesn't work. I assume that's
because it is trying to create a Maildir mailbox.
My workaround has been to let the messages accumulate all day and then use
a cron job to delete them at night. But there has to be a way to tell
maildrop to dump these messages into the old bit bucket immediately.
I've seen other postings about this question, but no answer. Is there a
way to do this?
If there is no solution can someone come up with a patch that adds a
special case to the "to" command? Something like "to dustbin" would be
nice.
Thanks.
-- Robert Stoeber USA Business Networks, LLC
Rob...@USABusiness.net P.O. Box 682402
435.901.9931 UT Park City, UT 84068-2402
973.735.2102 NJ www.usabusiness.net