List Info

Thread: purge with dbmail-utils




purge with dbmail-utils
user name
2006-08-29 14:41:22
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" <casperbcx.nl>
To: <dbmaildbmail.org>
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
> Dbmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )