I am not completely understand the deletion process. If a mail get deleted,
it is not deleted but just marked PURGE?. The administrator should run cron
job to clean on an interval. If this is not run, the mail will not be
deleted ? what is the status 2 and 3?

On 3/21/06, Paul J Stevens <[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]
> > 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
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to