However marked to dbmail_messages.deleted_flag 1; dbmail_messages.status
2 -- and there are many possibilities for databases evolving thru from
DBMail version 1.2.11 thru 2.0.3 and 2.0.9 -- dbmail-util.8 All messages
that are set for deletion will be marked for final deletion (status 3). All
message that are marked for final deletion will be cleared from the
database. The integrity check will check for unconnected messageblocks,
unconnected messages and unconnected mailboxes.
The point is that the utility does not delete the messages in one swoop
which explains why the original poster has " 500 messages deleteed via
IMAP... after " i've runned dbmail-util -d -y [sic] "\
best...
Mike
----- Original Message -----
From: "Jesse Norell" <[EMAIL PROTECTED]>
To: "DBMail mailinglist" <[email protected]>
Sent: Friday, March 03, 2006 12:01 PM
Subject: Re: [Dbmail] dbmail-util
For mail where deleted_flag=1 It's one, two three gone. Like this.
/usr/local/sbin/dbmail-util -a -y (result: status 2)
/usr/local/sbin/dbmail-util -a -y (result: status 3)
/usr/local/sbin/dbmail-util -a -y (result: "deleted, gone, bye
bye")
dbmail-util doesn't change mail that's status 1 to status 2, that's what
happens when your pop3 client DELEtes a message or imap EXPUNGEs. Once
a message is already status 2, dbmail-util will roll it to status 3 in
one run and actually delete it out on the next.
Oh well. I never knew this. I should make a script to loop it three
times. :)
Usually just run it nightly, and it'll delete the previous day's mail,
while changing all the status 2 from today to status 3 (thereby giving
you a recovery window if it's really important to un-delete a message).
--
Jesse Norell - [EMAIL PROTECTED]
Kentec Communications, Inc.
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail