1 message in net.sourceforge.lists.courier-maildrop[maildropl] TMDA+Maildrop, using quota
FromSent OnAttachments
Hamilton VeraAug 31, 2005 9:29 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] TMDA+Maildrop, using quotaActions...
From:Hamilton Vera (hami@seven.com.br)
Date:Aug 31, 2005 9:29:58 am
List:net.sourceforge.lists.courier-maildrop

Hi masters,

I am using TMDA (www.tmda.net) in the following way

|->Maildir Postfix->Maildrop->maildroprc |->TMDA->Maildir

The problem is, when the e-mail goes through the TMDA system the maildrop quota utility does not work, because TMDA delivers the e-mail directly to the Maildir.

To solve this I am forcing TMDA to pipe the mail to deliverquota program

DELIVERY = "|/usr/local/bin/deliverquota -w 90 ./Maildir/ 9000S"

so when the maildir is overquota, I got the message:

(command "/usr/local/bin/deliverquota -w 90 ./Maildir/ 9000S" exited 77 ()) )

Checking the man pages,

"If the maildir is over its specified quota, deliverquota terminates with exit
code 77 "

But final users will not understand this error message, any way to use the good
one easy to understand mesage: "<xx@xxx.xxx.xx>: permission denied. Command output:
maildrop: maildir over quota."?

Maybe you guys are thinking, "you should post this issue in the tmda discuss
list" and I already did it.

Thanks in advance, and sorry about the poor English.