hi all,
Is anyone found the quota handling warning and bounce
not work correctly?
Please look this:
after use patch 20011001a,
file qmail-local.c
line 268:
---
if ( quota_check(&q, mailsize, 1, &perc) ) /* 0 if OK */
if ( quota_recalc(fn, &msfd, &q, mailsize, 1, &perc) )
quota_bounce("mailfolder");
if ( perc > QUOTA_WARNING_LEVEL )
/* drop a warning when mailbox is around 80% full */
quota_warning(fn);
---
I change it to:
---
if ( quota_check(&q, mailsize, 1, &perc) == -1 )
quota_bounce("mailfolder");
if ( perc > QUOTA_WARNING_LEVEL )
/* drop a warning when mailbox is around 70% full */
quota_warning(fn);
---
Another:
file qmail-local.c,line 214
--
if (!stralloc_cats(&foo, "/usr/sbin/qmail-quotawarn")) temp_nomem();
--
The qmail's log tell me that file /var/qmail/usr/sbin/qmail-quotawarn
NOT found,so I change it to:
--
if (!stralloc_cats(&foo, "/bin/qmail-quotawarn")) temp_nomem();
--
Now everything works OK!
Who can explain this?
=====
---------------------------------------------------------
*
*Email:[EMAIL PROTECTED]
*Homepage:http://www.hleil.com *
*I think qmail is the best and great mail server!
* *
---------------------------------------------------------
_________________________________________________________
Do You Yahoo!?
30 ��������籭��Ʊ 7 �����꣡������Ϳ�������
http://cn.promo.yahoo.com/49/