Pavel Kislinger wrote: > Hello, > if I try to delete some emails in my inbox (via thunderbird or outlook), > no-one email is really deleted. > Deleted email is in Thunderbird invisible, in Outlook is marked as > deleted (could be restored). But isn't way how to delete email directly > along with releasing space in INBOX. > Problem is somewhere around status column in dbmail_messages. Status > still reamain at 0 value (before and after delete) instead of value 2. > Because of false status value, "dbmail-util -pdy" doesn't work corretly.
Deleting a message in imap means set the deleted flag on this or that message. So: x login user1 pass1 x select INBOX x STORE 1 +Flags (\Deleted) will mark the message as to-be-deleted (dbmail_messages.deleted_flag = 1). In thunderbird those are hidden. In Outlook they are crossed out. If you add an imap command: x EXPUNGE messages are deleted as far as the imap server is concerned. If you run that command, the status flag is set at 2. Those messages are no longer counted in the quota summaries. But they still remain in the database until you run dbmail-util -dy to queue them for purging, and dbmail-util -py to actually purge them from the database. -- ________________________________________________________________ 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
