Steve Shockley wrote:

I'm using relaydb to scan through my mailbox (maildir format) to whitelist and blacklist. I do something like this in my Inbox:

for message in $MAILBASE/cur/*
do
cat $message | /usr/local/bin/relaydb -vwf /var/spamd/relaydb
done

The problem with this is that I keep messages in my Inbox; so, every time relaydb runs, it increments the white counter for all the messages, not just the ones it hasn't seen.

Is there any way to make relaydb only work on those files/messages that it hasn't previously seen?


The easier solution would be to use procmail to cc a copy to relaydb as the mail comes in.

--
Darrin Chandler            |  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |

Reply via email to