Ok, thanks for your guidance. :)
Outlook puts it's 'expunge' command under edit->purge deleted items,
which
I wouldn't have expected.
I'm a bit concerned that users aren't going to ever do this. If I alter
dbmail-maintanance to do a db_expunge() or something similar, is that likely
to screw anything up? It seems to me that it would be pretty benign.
Thanks,
Peter Darley
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Ilja Booij
Sent: Thursday, April 29, 2004 8:31 AM
To: DBMail mailinglist
Subject: RE: [Dbmail] Delete problems
I can't see that from here ;)
But it sure sounds like the delete commands aren't being sent.
You should check the logs (/var/log/maillog) to see what commands the
client is sending to the server.
Ilja
On Thu, 2004-04-29 at 17:27, Peter Darley wrote:
> Ilja,
> So, does this mean that my client (outlook) isn't sending the correct
> commands when I delete something, or is it operator error (should I be
doing
> something to trigger the delete)?
> Thanks,
> Peter Darley
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Ilja Booij
> Sent: Thursday, April 29, 2004 8:15 AM
> To: DBMail mailinglist
> Subject: Re: [Dbmail] Delete problems
>
>
> On Thu, 2004-04-29 at 17:07, Peter Darley wrote:
> > Folks,
> > I've just installed DBMail, and I'm doing some testing on it. I am
using
> > PostgreSQL as the database. So far I am able to receive email correctly
> > from the MTA, and get it from the server using IMAP. However when I
> delete
> > a message, the deleted_flag gets set, but when I run
> > dbmail-maintanance -cfpd it doesn't delete any messages, and doesn't
> change
> > the status of any messages to STATUS_DELETE.
> >
> > It looks like there are three related functions in dbpgsql.c,
db_expunge
> > which marks the status of all messages with deleted_flag=1 to
> STATUS_DELETE,
> > db_set_deleted which sets status=STATUS_PURGE where status=STATUS_DELETE
> and
> > db_deleted_purge which deletes from messages where status=STATUS_PURGE.
> > Looking in maintenance.c I see that it calls db_deleted_purge and
> > db_set_deleted, but not db_expunge. Should the status get set somewhere
> > else, or is this broken, or is there some third option I'm not seeing?
:)
>
> db_expunge is called by the functions _ic_close() and _ic_expunge() in
> imapcommands.c (so, this is only called when using IMAP).
>
> Also, messages can be set to STATUS_DELETE using POP (when the client
> uses the DELE command.
>
> Ilja
>
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail