zamri wrote: > I am not completely understand the deletion process. If a mail get > deleted, it is not deleted but just marked PURGE?.
It is marked DELETE. > The administrator > should run cron job to clean on an interval. If this is not run, the > mail will not be deleted ? Correct. The message will remain in status DELETE. > what is the status 2 and 3? status DELETE = 2: message is marked for deletion status PURGE = 3: message is marked for final removal So: IMAP command DELETE sets a message status=2 dbmail-util -dy sets the message status=3 dbmail-util -py removes the message all together. > > On 3/21/06, *Paul J Stevens* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > update dbmail_messages set status=1 where status in (2,3); > > will set all messages that are queued for deletion to status 'read'. > > from dbmail.h: > > typedef enum { > MESSAGE_STATUS_NEW = 0, > MESSAGE_STATUS_SEEN = 1, > MESSAGE_STATUS_DELETE = 2, > MESSAGE_STATUS_PURGE = 3, > MESSAGE_STATUS_UNUSED = 4, > MESSAGE_STATUS_INSERT = 5, > MESSAGE_STATUS_ERROR = 6 > } MessageStatus_t; > > > > Gordon Hay wrote: > > Please be gentle with a newbie... > > > > I know that a message is not physically removed from the DB when a > user > > requests deletion, but simply has its status changed, and is purged > > later by the administration function. > > > > Is there a reasonably straightforward way to recover messages that > have > > been logically deleted by mistake, but are still present in the DB? > > > > I hope.... > > > > > > > > > > > > _______________________________________________ > > Dbmail mailing list > > [email protected] <mailto:[email protected]> > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > -- > ________________________________________________________________ > Paul Stevens paul at nfg.nl > <http://nfg.nl> > NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 > The Netherlands________________________________http://www.nfg.nl > _______________________________________________ > Dbmail mailing list > [email protected] <mailto:[email protected]> > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl
