On Thursday, June 12, 2003, at 08:00 AM, Ahmad Masood Shah wrote:
If someone are sending an email to user that have 100% full quota. qmail
will reply message like shown below..


<[EMAIL PROTECTED]>:
address: /home/vpopmail/domains/fibre.net.pk/3/abdo/Maildir/
quota: 5242880S
Message rejected. Not enough storage space in user's mailbox to accept
message.

I want to hide address:/home and quota information from this autogenerated
message. Can someone let me know what file I will have to edit for this..

Here's a patch to vdelivermail that takes care of the problem -- be careful, the user_over_maildirquota line might wrap. I think someone else mentioned it on the list (stating that it was probably debug code someone accidentally left in), but I don't know if anyone posted a patch (it's a simple one). Ken, please add this to the next vpopmail release (when can we expect that new release?).


diff -u vpopmail-5.3.20/vdelivermail.c vpopmail-5.3.20-tc/vdelivermail.c
--- vpopmail-5.3.20/vdelivermail.c 2003-04-18 07:40:25.000000000 -0700
+++ vpopmail-5.3.20-tc/vdelivermail.c 2003-06-12 10:37:18.000000000 -0700
@@ -460,8 +460,6 @@
/* If the user is over thier quota, return it back
* to the sender.
*/
- printf("address: %s\n", address);
- printf("quota: %s\n", quota);
if (user_over_maildirquota(address,format_maildirquota(quota))==1) {


/* check for over quota message in domain */


-- Tom Collins [EMAIL PROTECTED]




Reply via email to