Hi Dhaval,

i have created a file called ".quotawarn.msg" inside the folder "/home/vpopmail/domains/" ...
and i also set the permission to vpopmail.vchkpw
-rw-r--r--  1 vpopmail vchkpw  467 Oct 26 13:08 .quotawarn.msg

==Content of the file==
From: Mail Delivery System <[EMAIL PROTECTED]>
To: User:;
Subject: Mail quota warning
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Dear  Mail User,

Your mailbox on the server  is now more than 90% full. So that if you still
want your mailbox able to receive mail, you need to remove some messages
from your mailbox (Delete & Purge messages ).

Thank you

System Administrator
== End of Content==

after i have setup all of the things, i tried to push in the mail to hit 90% quota, i still unable to get the msg ...

i have read the README.quotas and found that we need to modify the vdelivermail.c and re-compile. Do i need to modify the file? i have checked the file and below is one of the part related to QUOTA_WARN_PERCENT

===part of the file "vdeivermail.c"==
               vmaildir_readquota(address, format_maildirquota(quota))
                   >= QUOTA_WARN_PERCENT) {
               deliver_quota_warning(address, format_maildirquota(quota));

do i need to change the "if (QUOTA_WARN_PERCENT >= 0 &&" to "if (QUOTA_WARN_PERCENT >= 90 &&", then re-compile the vpopmail?

THank you


----- Original Message ----- From: "Dhaval Thakar" <[EMAIL PROTECTED]>
To: <vchkpw@inter7.com>
Sent: Friday, October 26, 2007 12:53 PM
Subject: Re: [vchkpw] Quota Excess Notification

Kenny Lee wrote:
Hi Dhaval,

i just need to create the msg file? how about the configuration for vpopmail, which to call this msg to send?

just you need to copy this file & set proper permissions,
now try filling up storage of test email account, it should work.

for reference, vpopmail source/README.quotas

Reply via email to