Hi,
I'm thinking this is really a vpopmail/vdelivermail question, but since the
maildrop filter is also involved I thought I should ask here too. Maybe
someone recognizes what is going wrong.
What I am trying to do is identify incoming mail to a few specific users
and delete it. The filter seems to catch the messages, but then an error
is recorded in the maildrop log file.
Is maillog telling me that vdelivermail failed to delete the mail in some
cases? If so, any idea why that could happen?
Here's the filter:
VAPORIZE="| /home/vpopmail/bin/vdelivermail '' delete"
if ( /jsmith/:h )
{
log "Rule 1: $MATCH"
to "$VAPORIZE"
exit
}
And here's a section of the log file. Notice how the first one doesn't
have the !Err on the last line.
Rule 1: jsmith
Date: Tue Feb 25 05:22:00 2003
From: DealsaMillion <serv...@mail07.emailcourrier.com>
Subj: Welcome to DealsaMillion -- Subscription Confirmation
File: | /home/vpopmail/bin/vdelivermail '' delete (3759)
Rule 1: JSMITH
Date: Tue Feb 25 05:23:41 2003
From: "Rent Credit" <Rent...@excitingemail.com>
Subj: Renting? We'll give you $200/month
!Err: | /home/vpopmail/bin/vdelivermail '' delete (5367)
Rule 1: jsmith
Date: Tue Feb 25 06:11:42 2003
From: "Joey Hastings" <abra...@digsys.bg>
Subj: 40O MiLLioN potential buyers for your product/service
!Err: | /home/vpopmail/bin/vdelivermail '' delete (5209)