Purging SPAM folders and calculating disc space on a restore?

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,366
Location
www.poralix.com
Hello,

Is that normal, that with a restore an user account (reseller level backup) dataskq begins to purge SPAM folders server wide and calculate disk spaces for other users? It really takes much more time to do an account recovery in such a situation.

And yes, my /usr/local/directadmin/data/task.queue is empty or does not exist prior to restore. And as soon as a task is added, I've got:

Code:
action=restore&ip=***hidden***&ip%5Fchoice=select&owner=admin&select%30=***hidden***&type=reseller&value=multiple&when=now&where=local
 
That's right, that is why it seems to me weird. Every time I ran a restore today on one of servers, I did it in verbose (debug) mode:

Code:
/usr/local/directadmin/dataskq d8000

and I saw output.
 
I see. I agree with you for 2 reason:

1- slow restore
2- should be useful for user can check spam folder before get purged, and that should be done by user not by control panel to skip the risk of non-spam email in there.

Regards
 
You've got an option

Automatically Purge Spambox/Trash data After__days. (0 = never)

in directadmin (Administrator Settings page).

But that is not the question. I suppose it should run once per day at night, but not on every restore, and not server wide.
 
The purge isn't the issue, it's the tally that's the "issue".
When a restore is done, DA does issue a tally of disk-related items for that Reseller. (the purge is part of the tally)

If you don't want a tally after a restore, shut it off:
http://www.directadmin.com/features.php?id=853

For any heavy systems, this is likely a good choice.

John
 
Back
Top