you still need the purge in the client
purge in outlook express is the same that, for example, the "bypass trash"
in squirrelmail
then you have to do the -dy and next -py
maybe Paul will explain this better than i
----- Original Message -----
From: "Casper Langemeijer" <[EMAIL PROTECTED]>
To: "DBMail mailinglist" <[email protected]>
Sent: Wednesday, August 30, 2006 2:45 PM
Subject: Re: [Dbmail] purge with dbmail-utils
That's what I thought...
So what _should_ happen is:
- delete a message in mail client.
- run dbmail-util -dy to set a message for deletion.
- run dbmail-util -py to purge the message marked deleted.
Pressing the purge button in outlook shouldn't be necessery then, the
first unix command -dy should be the equivalant to the purge button in
outlook. Am I right here?
That doesn't work in my setup.
I found out what happened:
Deleting a message sets deleted_flag to 1 AND _should_ set status to 2.
(Outlook Express doesn't do this!!)
dbmail-util -dy sets status to 3 if status = 2
dbmail-util -py executes a DELETE FROM query
In contrast to outlook express, my webmail client sets the status to 2
correctly!
Because Outlook Express doesn't, it messes up the mailcount that is used
my webmail client. Because the message has deleted_flag set to 1 it
doesn't display the message, but the mailcount includes deleted
messages that are not status=2.
What is the story about status and *_flag??
It seems pretty redundant to me...
Grtz, Casper
Op 29/8/2006 schreef "Jorge Bastos" <[EMAIL PROTECTED]>:
No Casper,
You just have to run:
dbmail-util -dy <= to set delete status for deleted messages in the imap
client
(-d set DELETE status for deleted messages)
and next
dbmail-util -py <= to purge them for good from the database
(-p purge messages have the DELETE status set)
so, at least me, in my example, i run a cron script once a day at night, 3
ou 4 AM i don't know with:
#!/bin/bash
/usr/local/sbin/dbmail-util -d -y
/usr/local/sbin/dbmail-util -p -y
and that's it
Give it a try and tell me something :P
----- Original Message -----
From: "Casper Langemeijer" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 29, 2006 12:52 PM
Subject: Re: [Dbmail] purge with dbmail-utils
Hehehe...
I'm sorry, my example was wrong, I've always included the -y switch.
The notice is a good thing anyway :-)
Even with the -y switch, it is still not working like I expected it to
work.
I just noticed that to fully delete an email you:
- delete a message in outlook
- press the purge button in outlook
- run dbmail-util -dpy to set a message for deletion.
- run dbmail-util -dpy to purge the message marked deleted.
Is it supposed to work like this?
Ltrz, Casper
_______________________________________________
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