[Dovecot] Big quota problem
Hi, I'm using dovecot 1.0a3. I setup my system with quota filesystem. If a user is over quota and he try to read the email in pop3 dovecot return the following error: Oct 14 18:51:59 blackhole dovecot: pop3(user): write_full(/home/user/Maildir/dovecot-uidlist.lock) failed: Disk quota exceeded
I think it's a big problem.
Rick
On Tue, 2005-10-18 at 16:10 +0200, Riccardo Bini wrote:
Hi, I'm using dovecot 1.0a3. I setup my system with quota filesystem. If a user is over quota and he try to read the email in pop3 dovecot return the following error: Oct 14 18:51:59 blackhole dovecot: pop3(user): write_full(/home/user/Maildir/dovecot-uidlist.lock) failed: Disk quota exceeded
I think it's a big problem.
I just wrote this: http://wiki.dovecot.org/Quota
I just wrote this: http://wiki.dovecot.org/Quota Well... but you have to correct %n with vpopmail backend. %u in the default_mail_env (like in the log) is always the user name without the domain....
Thank you.
Rick
On Fri, 2005-10-28 at 17:52 +0200, Riccardo Bini wrote:
I just wrote this: http://wiki.dovecot.org/Quota Well... but you have to correct %n with vpopmail backend. %u in the default_mail_env (like in the log) is always the user name without the domain....
That's a bug in Dovecot's vpopmail code. I don't know why it doesn't work. Would be nice if someone using vpopmail fixed that..
On 6 Dec 2005, at 16:51, Timo Sirainen wrote:
On Fri, 2005-10-28 at 17:52 +0200, Riccardo Bini wrote:
I just wrote this: http://wiki.dovecot.org/Quota Well... but you have to correct %n with vpopmail backend. %u in the default_mail_env (like in the log) is always the user name without
the domain....That's a bug in Dovecot's vpopmail code. I don't know why it doesn't work. Would be nice if someone using vpopmail fixed that..
point me in the right direction and I'll have a go.
will
On Tue, 2005-12-06 at 17:11 +0000, William Ross wrote:
On 6 Dec 2005, at 16:51, Timo Sirainen wrote:
On Fri, 2005-10-28 at 17:52 +0200, Riccardo Bini wrote:
I just wrote this: http://wiki.dovecot.org/Quota Well... but you have to correct %n with vpopmail backend. %u in the default_mail_env (like in the log) is always the user name without
the domain....That's a bug in Dovecot's vpopmail code. I don't know why it doesn't work. Would be nice if someone using vpopmail fixed that..
point me in the right direction and I'll have a go.
src/auth/passdb-vpopmail.c
If user logs in as user@domain, then they both should be in request->user string. %d is taken from there. I don't see request->user being modified in that file either, so I think it should have worked..
Or is the problem here that user logs in as "user" and it internally gets converted to user@domain? In that case request->user should be modified from vpw->pw_name or vpop_user/vpop_domain or something.. I think I used to do that, but that seemed to break it even worse:
* src/auth/passdb-vpopmail.c: Don't replace request->user with
vpw->pw_name. It drops domain part and causes userdb lookup to
fail.
Maybe the right thing to do is:
request->user = p_strdup(request->pool, "%s@%s", vpop_user, vpop_domain);
?
participants (3)
-
Riccardo Bini
-
Timo Sirainen
-
William Ross