What about having something that is configurable?
IE: the default is having a message defered when it can't be delivered. And having an option that you can plug in an error bounce about something like "disk quota exceeded", or any other error that might stop TMDA writing to disk.
Am I the only user in the whole TMDA user-base that has on our ISP mailservers a quota system and TMDA installed? If there was a way to check disk quota before a message even gets to TMDA (eg. putting something in my .procmailrc that fires the message through /usr/bin/check-disk-quota then passes to TMDA on success), then I would have done it that way, but there isn't.
I handle this problem in my .qmail like this:
[EMAIL PROTECTED] /home/virtual]$ cat .qmail-default
| /etc/kludge/mailquotacheck.sh $LOCAL
| preline spamc -f | preline /usr/local/src/tmda-1.0/bin/tmda-filter --vhome-script /usr/local/src/tmda-1.0/contrib/vmailmgr-vdir.sh
| bouncesaying "This address does not exist."
The quoata check gets done before tmda even sees the message.
-- Chris Berry [EMAIL PROTECTED] Systems Administrator JM Associates & Coast Business Service
"Some days you fix the multi-million dollar machine, other days the $12 stapler kicks your ass."
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
