"Mike Usmar" <[EMAIL PROTECTED]> writes: > OSError: [Errno 122] Disk quota exceeded > > Now this mail is not delivered and acted on by TMDA until some more > disk space is available, and then it is delivered. Has anyone seen > a problem like this before, and/or can anyone provide help on this?
Do you really consider this a problem? This seems like a good thing to me. When TMDA encounters a problem during delivery, it logs the error (the traceback), defers the delivery, and retries until it succeeds. This way, no mail is lost. > Ideally what I would like to happen, is that the disk quota system > grabs the mail before it gets to TMDA, and if quota exceeded, bounce > back a msg to the sender explaining so, and if disk quota ok, then > pass through tmda. I don't think there is anything TMDA can do about this. It sounds like you need to visit the docs and or mailing list for Postfix (I'm assuming this is the MTA you are running). Some MTAs can check disk quota information during the initial SMTP transaction, and refuse the transmission if the user is over quota. Of course, this happens well before TMDA ever sees the message. This is probably the avenue you want to pursue. _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
