On Sat, 2008-07-12 at 16:38 +0200, Robert Schetterer wrote: > Timo Sirainen schrieb: > > On Sat, 2008-07-12 at 16:12 +0200, Robert Schetterer wrote: > >>>> I think existing quotas in sql could be used > >>>> if dovecot would ignore that no > >>>> maildir storage is used and simply > >>>> interpretes existing maildirsize files, which maybe created out of > >>>> existing sql quota entries > >>>> ( but thats speculate ) > >>> You can of course create a script for yourself that does that, but I > >>> don't think Dovecot should bother trying to do it. > >> Hi Timo, it maybe possible with > >> Post-login scripting > >> > >> like > >> > >> QUOTA=`/usr/bin/mysql -N -B -D${DBDBSE} -h ${DBHOST} -u${DBUSER} > >> -p${DBPASS} -e "SELECT ${DBQOTA} FROM ${DBTABL} where username='$USER'" > >> 2>/dev/null` > >> > >> but i am lost how to answer this in imap to the client > > > > You're using userdb sql, right? Why don't you just have it return the > > quota using user_query? See the examples in > > http://wiki.dovecot.org/Quota/1.1 > > > > seems not to work with dbox > > quota maildir: No maildir storages, ignoring quota
You'll have to use dict quota. That's independent of how the limits as configured.
signature.asc
Description: This is a digitally signed message part