can everyone help me to collect all the possible reasons for the following
errors to occur, all of them are related to vdelivermail.c .

1) ENOENT: path doesn't exist

2) Yikes! Could create but can't delete temporary file!!

3) Yikes! Could create but can't delete temporary file!! (filter)

4) Failed to write RP & DT (#4.3.2)\n

5) Failed to write to tmp/ (#4.3.3)\n

I am planning to modify the vdelivermail.c to bounce back the emails when an
error occurs with a better "Reason for Failure:" . In most of the cases it
doesn't make sense to keep trying for a week before bouncing the email e.g.
when the users mailbox may not exist like in "Can't change to Maildir" or
where permission is denied etc. No one I know actually parses through the
logs regularly to check these errors and rectify them. It is just not
possible when you are administering hundreds or thousands of domains. Its
better that the mail bounces back with the message so that at least the
email address owner can know immediately and contact the system
administrator instead of knowing the same after a week and that too with an
error which may not make to much sense.

I have also documented a method of implementing strict quota per domain.
Which will work effectively even if you are using sqwebmail and qmailadmin.
This will count the total amount of bytes used by a domain and will bounce
the mail stating "Domain's disk quota exceeded" Error. I would be putting it
up on the mailing list once I finish completing documentation of all errors.

Thanks,
Divyank

Reply via email to