user mailbox full, no warning?

thephantom

Verified User
Joined
Dec 29, 2003
Messages
22
When a user mailbox is full there cannot been sent an warning mail to an mailaddres? The main account (login account) is never used for mail by my clients so it must been send to info or message system or account setup mail address.
 
Can't you just increase the mailbox size by a bit and send them the notice?

Jeff
 
The main account (login account) is never used for mail by my clients
Neither by mine, so I advise them always to make a forwarder to their (personal) email address.

There is a little problem anyway. Because a user should get a mail when his mailbox is 80% full. Problem is that this is only checked during nightly maintenance. So if a user get's a lot of emails during 1 day, his mailbox will get full without him getting a warning about it.
It should be nice if the tally could check the mailbox quota multiple times a day to precent these kind of issues.
 
It should be nice if the tally could check the mailbox quota multiple times a day to precent these kind of issues.

As John already suggested somewhere here you might want to run tally even hourly. So feel free to change /etc/cron.d/directadmin_cron file
 
Thank you zEitEr.

* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue

Is this the correct one to change, which checks the mailbox quota's?
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
 
Last edited:
That's the problem, I'm not sure. I only know it is done once a night. So that's why I presumed it was the tally.
 
Sounds like a very good solution. Obviously you can't send the message after the mailbox is full. And why would you want to use a solution external to exim, when exim already has the tools to do the job, with just a bit of code to enable it.

Though of course I anticipate your answer; this won't give each reseller his own modifiable notice file.

Nevertheless, it's a lot of work for DirectAdmin, very simple to do in Exim.

Jeff
 
Back
Top