15 Feb
2008
15 Feb
'08
4:40 p.m.
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