Re: Find "overquota" mailboxes

2012-08-19 Thread Wietse Venema
tobi: > Am 18.08.2012 21:07, schrieb Wietse Venema: > > This misses all the users that are over quota but did not get mail. > > > > What about parsing "du" output? This way you can find out all users > > that are over quota. > > > As usual you propose the best solution ;-) I will keep the idea wi

Re: Find "overquota" mailboxes

2012-08-19 Thread tobi
Am 18.08.2012 21:07, schrieb Wietse Venema: > This misses all the users that are over quota but did not get mail. > > What about parsing "du" output? This way you can find out all users > that are over quota. > As usual you propose the best solution ;-) I will keep the idea with "du" in mind, b

Re: Find "overquota" mailboxes

2012-08-18 Thread Wietse Venema
tobi: > So I thought that must be solved somehow easier and more automatically. > My basic idea is to regularly scan the mailq for mails defered by > "overquota". From these mails in queue I fetch the recipients and add > them to a recipient-restriction file for postfix. So postfix can reject > suc

Find "overquota" mailboxes

2012-08-18 Thread tobi
Hello list I need your experience here to see if "my" solution is good or bad :-) Background: We have a postfix setup which can only check users quota after postfix accepted the message. As you can imagine we produce a lot of backscatter. Until now the procedure was to manually check mailq and del