[Dovecot] 1.0.10 / Quota postlogin / Deliver - Not working according to the wiki?
Tobias Balle-Petersen
tbp at kontrapunkt.com
Fri Feb 15 16:40:03 EET 2008
Hello....
I load quotas from users homefolders using postlogin like this:
-------------------------
#!/bin/sh
# Read users quota
if [ -f ~/quota ]; then
export QUOTA=`cat ~/quota`
fi
# Start IMAP session
exec /usr/lib/dovecot/imap
-------------------------
User without a quota-file in their homedirs get a quota set in dovecot.conf.
Im using LDA. According to the wiki this should not work:
http://wiki.dovecot.org/Quota?highlight=quota :
This post-login trick unfortunately doesn't work with deliver
<http://wiki.dovecot.org/LDA>. If you need it, you're pretty much out of
luck for now. v1.1 *quota* <http://wiki.dovecot.org/Quota/New> makes
this possible.
According to my tests it does indeed work. What is not supposed to work?
Tobias
More information about the dovecot
mailing list