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.