2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] No quotas with postfi...
FromSent OnAttachments
Rodolfo GonzalezSep 10, 2002 12:04 pm 
Rolan YangSep 10, 2002 12:19 pm 
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:Re: [maildropl] No quotas with postfix+maildrop+imap.Actions...
From:Rolan Yang (rol@omnistep.com)
Date:Sep 10, 2002 12:19:54 pm
List:net.sourceforge.lists.courier-maildrop

You need to include the --enable-maildirquota when compiling maildrop

This is what i did: ./configure --enable-maildropmysql --with-mysqlconfig=/etc/maildrop/maildropmysql.cf --with-etcdir=/etc/maildrop --disable-tempdir --enable-restrict-trusted=0 --enable-userdb --enable-syslog=1 --enable-maildirquota gmake gmake install-strip

also, in your courier-imap config file /usr/lib/courier-imap/etc/imapd? you have to add QUOTA to the IMAP_COMPATABILITY if it's not there already.

IMAP_CAPABILITY="IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA"

Otherwise the user could exceed the quota by sending out large emails (which are retained in the sent-mail box).

~Rolan

Rodolfo Gonzalez wrote:

Hi,

I'm new to the list. I have setup this: postfix (latest snapshot), courier-imap (latest version) and maildrop (latest version). Both postfix and imap are using MySQL to get the user data (login, passwd and so on). I have the MYSQL_QUOTA_FIELD set to the correct field of my table (at authmysqlrc). I've configure'd the apps the way posted below. I have created the Maildir's using maildirmake and then issued a maildirmake -q 10000000S to all the maildirs, so I have this in the maildirsize file of a test account:

10000000S 16086026 53

So it's supposed to be overquota, right?. I have mailbox_command = /path/to/maildrop in my postfix's main.cf, so maildrop is supossed to be the delivery agent. I send an e-mail to that account and it's delivered, as if it has no quota at all. What could be wrong with my setup?. Do I need something else?. Any hint is appreciated.

Thank you, Rodolfo.

P.S. configure's:

--- courier-imap ---

export CFLAGS=-I/usr/local/mysql/include/mysql -O2 export CPPFLAGS=-I/usr/local/mysql/include/mysql -O2 export LDFLAGS=-L/usr/local/mysql/lib/mysql -lmysqlclient ./configure --prefix=/usr/local/courier/virtual \ --enable-workarounds-for-imap-client-bugs --with-trashquota \ --without-authvchkpw --without-authpam --without-authuserdb --without-authcram \ --without-authldap --without-authpgsql \ --with-mysql-libs=/usr/local/mysql/lib/mysql \ --with-mysql-includes=/usr/local/mysql/include/mysql \ --with-authmysql

--- courier-imap ---

--- maildrop ---

export CFLAGS="-I/usr/local/mysql/include/mysql -O2 -march=i686" export LDFLAGS="-L/usr/local/mysql/lib/mysql -lmysqlclient" ./configure \ --prefix=/usr/local/courier/virtual --enable-maildirquota --with-trashquota \ --without-db --enable-keep-fromline --enable-maildropmysql \ --with-mysqlconfig=/usr/local/courier/virtual/etc/authmysqlrc \ --with-mysql-libs=/usr/local/mysql/lib/mysql \ --with-mysql-includes=/usr/local/mysql/include/mysql

--- maildrop ---