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
$
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 .
>From Data Leung
____________________________________________________________
_____
No masks required! Use MSN Messenger to chat with friends
and family.
http://go.msnser
ver.com/HK/25382.asp
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courie
r-maildrop
|