Re: [Dovecot] Quota has none effect

2011-04-05 Thread Timo Sirainen
On Mon, 2011-04-04 at 23:22 +0200, Jim Knuth wrote: lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=1182(web1p5) egid=5000(vmail) missing +r perm: /var/run/dovecot/auth-userd b, euid is not dir owner) Give it some permissions. Since you're

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 06:33 schrieb Timo Sirainen t...@iki.fi: On 3.4.2011, at 17.48, Jim Knuth wrote: I have a user who has 153600 kBytes max. storage space. Now, however, he has used already 167396 kBytes and he can receive e-mails and can send. How can this be? Set mail_debug=yes and show logs

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Joseba Torre
On Sunday 03 April 2011 18:23:37 Jim Knuth wrote: protocol imap { imap_client_workarounds = mail_fsync = never mail_plugins = autocreate quota imap_quota trash } plugin { trash = /etc/dovecot/dovecot-trash.conf.ext } protocol pop3 { mail_fsync = never mail_plugins

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 10:47 schrieb Joseba Torre joseba.to...@ehu.es: On Sunday 03 April 2011 18:23:37 Jim Knuth wrote: protocol imap { imap_client_workarounds = mail_fsync = never mail_plugins = autocreate quota imap_quota trash } plugin { trash = /etc/dovecot/dovecot-trash.conf.ext }

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Joseba Torre
On Monday 04 April 2011 11:01:40 Jim Knuth wrote: sorry, but that`s IMHO not right. Take a look at $mail_plugins. There is also defined quota In your dovecot -n output mail_plugins are only defined inside the protocol parts. So, when inside protocol lda you write mail_plugins = $mail_plugins

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 11:22 schrieb Joseba Torre joseba.to...@ehu.es: On Monday 04 April 2011 11:01:40 Jim Knuth wrote: sorry, but that`s IMHO not right. Take a look at $mail_plugins. There is also defined quota In your dovecot -n output mail_plugins are only defined inside the protocol parts. So,

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Timo Sirainen
On Mon, 2011-04-04 at 11:22 +0200, Joseba Torre wrote: On Monday 04 April 2011 11:01:40 Jim Knuth wrote: sorry, but that`s IMHO not right. Take a look at $mail_plugins. There is also defined quota In your dovecot -n output mail_plugins are only defined inside the protocol parts. So, when

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 13:31 schrieb Jim Knuth j...@jkart.de: am 04.04.11 12:55 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 11:22 +0200, Joseba Torre wrote: On Monday 04 April 2011 11:01:40 Jim Knuth wrote: sorry, but that`s IMHO not right. Take a look at $mail_plugins. There is also

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Timo Sirainen
On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote: no rejects with that config above. Just a mail has arrived for the user .. So what do the logs say with mail_debug=yes?

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 15:13 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote: no rejects with that config above. Just a mail has arrived for the user .. So what do the logs say with mail_debug=yes? which piece do you mean? Arriving mail or sent mail? Or IMAP

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Timo Sirainen
On Mon, 2011-04-04 at 16:01 +0200, Jim Knuth wrote: am 04.04.11 15:13 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote: no rejects with that config above. Just a mail has arrived for the user .. So what do the logs say with mail_debug=yes?

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 17:02 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 16:01 +0200, Jim Knuth wrote: am 04.04.11 15:13 schrieb Timo Sirainent...@iki.fi: On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote: no rejects with that config above. Just a mail has arrived for the user .. So

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Timo Sirainen
On Mon, 2011-04-04 at 17:33 +0200, Jim Knuth wrote: Apr 4 14:34:17 server2 dovecot: lda(web6p1): sieve: msgid=op.vteyat1azaba4d@agi-pc: stored mail into mailbox 'INBOX' If this is the only message logged from Dovecot, it means mail_debug isn't yes. You should have lines like: Apr 04

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 17:43 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 17:33 +0200, Jim Knuth wrote: Apr 4 14:34:17 server2 dovecot: lda(web6p1): sieve: msgid=op.vteyat1azaba4d@agi-pc: stored mail into mailbox 'INBOX' If this is the only message logged from Dovecot, it means mail_debug

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 17:43 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 17:33 +0200, Jim Knuth wrote: Apr 4 14:34:17 server2 dovecot: lda(web6p1): sieve: msgid=op.vteyat1azaba4d@agi-pc: stored mail into mailbox 'INBOX' If this is the only message logged from Dovecot, it means mail_debug

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Timo Sirainen
On Mon, 2011-04-04 at 18:15 +0200, Jim Knuth wrote: Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule: root=User quota mailbox=* bytes=734003200 messages=0 This is the default 700 MB quota specified in config file. Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: userdb

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 18:23 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 18:15 +0200, Jim Knuth wrote: Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule: root=User quota mailbox=* bytes=734003200 messages=0 This is the default 700 MB quota specified in config file. Apr 4

Re: [Dovecot] Quota has none effect

2011-04-04 Thread Jim Knuth
am 04.04.11 18:23 schrieb Timo Sirainen t...@iki.fi: On Mon, 2011-04-04 at 18:15 +0200, Jim Knuth wrote: Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule: root=User quota mailbox=* bytes=734003200 messages=0 This is the default 700 MB quota specified in config file. Apr 4

[Dovecot] Quota has none effect

2011-04-03 Thread Jim Knuth
Hello, I have a user who has 153600 kBytes max. storage space. Now, however, he has used already 167396 kBytes and he can receive e-mails and can send. How can this be? # 2.0.11 (0ce50c22f84c): /etc/dovecot/dovecot.conf # OS: Linux 2.6.29.4 i686 Debian wheezy/sid -- Mit freundlichen Grüßen,

Re: [Dovecot] Quota has none effect

2011-04-03 Thread Sven Hartge
Jim Knuth j...@jkart.de wrote: I have a user who has 153600 kBytes max. storage space. Now, however, he has used already 167396 kBytes and he can receive e-mails and can send. How can this be? Your configuration is wrong? Sorry, without any further information there is not much else to

Re: [Dovecot] Quota has none effect

2011-04-03 Thread Jim Knuth
am 03.04.11 17:13 schrieb Sven Hartge s...@svenhartge.de: Jim Knuthj...@jkart.de wrote: I have a user who has 153600 kBytes max. storage space. Now, however, he has used already 167396 kBytes and he can receive e-mails and can send. How can this be? Your configuration is wrong? Sorry,

Re: [Dovecot] Quota has none effect

2011-04-03 Thread Sven Hartge
Jim Knuth j...@jkart.de wrote: am 03.04.11 17:13 schrieb Sven Hartge s...@svenhartge.de: Jim Knuthj...@jkart.de wrote: I have a user who has 153600 kBytes max. storage space. Now, however, he has used already 167396 kBytes and he can receive e-mails and can send. How can this be? Your

Re: [Dovecot] Quota has none effect

2011-04-03 Thread Jim Knuth
am 03.04.11 18:30 schrieb Sven Hartge s...@svenhartge.de: Jim Knuthj...@jkart.de wrote: am 03.04.11 17:13 schrieb Sven Hartges...@svenhartge.de: Jim Knuthj...@jkart.de wrote: I have a user who has 153600 kBytes max. storage space. Now, however, he has used already 167396 kBytes and he

Re: [Dovecot] Quota has none effect

2011-04-03 Thread Timo Sirainen
On 3.4.2011, at 17.48, Jim Knuth wrote: I have a user who has 153600 kBytes max. storage space. Now, however, he has used already 167396 kBytes and he can receive e-mails and can send. How can this be? Set mail_debug=yes and show logs about a mail delivery that should have been rejected.