Re: [vchkpw] Quota Excess Notification

2007-10-26 Thread Kenny Lee

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]
Reply-To: [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

Regards,
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==
if (QUOTA_WARN_PERCENT = 0 
   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

Regards,
Kenny


- 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?


dear

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





Re: [vchkpw] Quota Excess Notification

2007-10-26 Thread Dhaval Thakar






Kenny Lee wrote:
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]
  
Reply-To: [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
  
  
Regards,
  
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"==
  
if (QUOTA_WARN_PERCENT = 0 
  
 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?
  
  

this should work, this is all i have done in my server. the only diff
is From: Mail Delivery System lt;[EMAIL PROTECTED] in
my file, which should not make any impact

check readme, 
it says
 To change the percentage to something other than
90, edit
 QUOTA_WARN_PERCENT in vdelivermail.c and recompile.









[vchkpw] Quota Excess Notification

2007-10-25 Thread Kenny Lee

Hi all,

i am using qmail + courier imap + vpopmail + qmailadmin for my email server
for my email users, they are using Outlook Express to check the mails from 
my email server (with IMAP) and i have set a email quota for each user.
ok, the question is ... how user can be notified, once they are going to hit 
the max. of quota? can system automatic send an email to user?


Please advise ...

Thank you

Regards,
Kenny 



Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Dhaval Thakar



Kenny Lee wrote:

Hi all,

i am using qmail + courier imap + vpopmail + qmailadmin for my email 
server
for my email users, they are using Outlook Express to check the mails 
from my email server (with IMAP) and i have set a email quota for each 
user.
ok, the question is ... how user can be notified, once they are going 
to hit the max. of quota? can system automatic send an email to user?


Please advise ...

Thank you

Regards,
Kenny



following is what i use at my end.
save following as /home/vpopmail/domains/..quotawarn.msg  with 
permission vpopmail:vchkpw


From: Mail Delivery System lt;[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Diskhog 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 you can
continue to receive mail you need to remove some messages from your
mailbox (Delete messages from inbox, sent etc..).

To delete Mails Kindly logon to http://

Regards,






Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Kenny Lee

Hi Dhaval,

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


thank you

Regards,
Kenny

- Original Message - 
From: Dhaval Thakar [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Friday, October 26, 2007 12:24 PM
Subject: Re: [vchkpw] Quota Excess Notification





Kenny Lee wrote:

Hi all,

i am using qmail + courier imap + vpopmail + qmailadmin for my email 
server
for my email users, they are using Outlook Express to check the mails 
from my email server (with IMAP) and i have set a email quota for each 
user.
ok, the question is ... how user can be notified, once they are going to 
hit the max. of quota? can system automatic send an email to user?


Please advise ...

Thank you

Regards,
Kenny



following is what i use at my end.
save following as /home/vpopmail/domains/..quotawarn.msg  with permission 
vpopmail:vchkpw


From: Mail Delivery System lt;[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Diskhog 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 you can
continue to receive mail you need to remove some messages from your
mailbox (Delete messages from inbox, sent etc..).

To delete Mails Kindly logon to http://

Regards,









Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Rick Widmer



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?


README.quotas lines 46-56


Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Dhaval Thakar



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?


dear

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