The following issue has been CLOSED 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=640 
====================================================================== 
Reported By:                shpac
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   640
Category:                   Command-Line programs (dbmail-users, dbmail-util)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
target:                      
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             24-Aug-07 01:20 CEST
Last Modified:              24-Aug-07 07:47 CEST
====================================================================== 
Summary:                    dbmail-util doesn't delete/purge messages marked as
"deleted" in imap-client
Description: 
dbmail-util doesn't delete/purge messages marked as "deleted" in
imap-client

dbmail-util shows: Ok. [0] messages have DELETE status.

but in database:

dbmail=> SELECT count(*) from dbmail_messages where deleted_flag>0;
 count
-------
     1
(1 row)

database: Postgres, dbmail version: 2.2.6-rc1 and same situation with
dbmail from svn

temporary unclean solve for me:
DELETE FROM dbmail_messages where deleted_flag>0;
then dbmaul-util -ay 

Repairing DBMAIL physmessage integrity...
Ok. Found [2] unconnected physmessagesOk. Orphaned physmessages deleted.

====================================================================== 

---------------------------------------------------------------------- 
 paul - 24-Aug-07 07:47  
---------------------------------------------------------------------- 
I'm closing this report because what you describe is correct and
well-documented behaviour. The deleted_flag is just that: flag the message
for deletion. The imap client needs to issue a PURGE command to update the
status of the message and mark it for actual deletion. After that
dbmail-util will take care of the real deletion. Please read the docs and
ask around on the list if you need further details. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
24-Aug-07 01:20 shpac          New Issue                                    
24-Aug-07 07:47 paul           Note Added: 0002327                          
24-Aug-07 07:47 paul           Status                   new => closed       
24-Aug-07 07:47 paul           Resolution               open => no change
required
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to