6 messages in net.sourceforge.lists.courier-maildrop[maildropl] quotawarnmsg not sent whi...
FromSent OnAttachments
Data LeungMar 30, 2007 1:29 am 
Devin RubiaMar 30, 2007 6:49 am 
Data LeungMar 30, 2007 7:04 am 
Data LeungMar 30, 2007 8:56 am 
moussApr 1, 2007 8:30 am 
Data LeungApr 1, 2007 9:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] quotawarnmsg not sent while maildir oversizeActions...
From:Data Leung (data@hotmail.com)
Date:Mar 30, 2007 1:29:21 am
List:net.sourceforge.lists.courier-maildrop

Dear List , Here is my package list for my testing mail server.

A. Postfix-2.2.10-1.RHEL4.2 B. Courier-Maildrop-2.0.3 C. Courier-imap-4.1.2 D. Courier-authlib E. Phamm + Openldap as front end administration interface Linux OS : CentOS 4.4

Test enviorment . A. Postfix-2.2.10-1.RHEL4.2

---- Running as virtual domain and all e-mail stock in /home/vmail/domains/test.com/User.abc/

B. Courier-Maildrop-2.0.3

---- complied by sources and all the orginal sources download from internet had been locate to /usr/src/maildrop

then I complie maildrop by following command :

./configure --prefix=/usr/local/maildrop --enable-sendmail=/usr/sbin/sendmail --enable-trusted-users=root,vmail,postfix,daemond --enable-syslog=1 --enable-maildirquota --enable-maildrop-uid=505 --enable-maildrop-gid=505 --with-dirsync ; make ; make install

remark uid / gid 505 = UID & GID of /home/vmail

then I cp maildrop/maildirmake from /usr/local/maildrop/bin/maildrop to /usr/bin , also rename maildirmake as maildirmake.courier chown root:vmail /usr/bin/maildrop chmod u+s /usr/bin/maildrop

C. Courier-imap-4.1.2

--- Just complie from source and operation normally after nessary config

D. Courier-authlib

-- Just complie from source and operation normally E. Phamm + Openldap as front end administration interface

--- Just complete from source and operation normally after nessary config

~~~~~~~~ Problems I need help ~~~~~~~~~~~~~ I found that once the users maildir over 1.9M OR near around 2M . quotawarnmsg didn't sent out . IF the mailbox over 2M . Sender can't send e-mail to that " 2M " quota mailbox anymore . At the same time " Sender " willing get a return mail notice that mailbox is overquota already .

I had been set every users maildir quota as 2M , inside /etc/postfix/main.cf I did the following config as well .

maildrop unix - n n - - pipe flags=Rhu user=vmail argv=/usr/bin/maildrop -w 90 -d ${recipient}

Then I create quotawarnmsg in /usr/local/etc/quotawarnmsg . I put quotawarnmsg since i aware that there have a " echo " while I " make install " maidrop

echo '#define QUOTAWARNMSG "/usr/local/maildrop/etc/quotawarnmsg"'

quotawarnmsg.h

I also make quotawarnmsg as world readable .

For maildroprc , I also put this config inside .

logfile "/var/log/maildrop.log" `test -e $DEFAULT` if ( $RETURNCODE != 0 ) { `/bin/mkdir -p $DEFAULT` `/bin/rmdir $DEFAULT` `/usr/bin/maildirmake.courier $DEFAULT` }

I would like to know is there any point missing ?

Since I search around google for few days already . But I still found that the problems still remain .

Thanks .