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, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Ist das Leben nicht hundert Mal zu kurz, sich in ihm - zu langweilen? [Nietzsche]
Jim Knuth jk@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 say.
Grüße, Sven.
-- Sig lost. Core dumped.
am 03.04.11 17:13 schrieb Sven Hartge sven@svenhartge.de:
Jim Knuthjk@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 say.
Grüße, Sven.
ok, understand. dovecot -n
# 2.0.11 (0ce50c22f84c): /etc/dovecot/dovecot.conf # OS: Linux 2.6.29.4 i686 Debian wheezy/sid auth_master_user_separator = * auth_mechanisms = plain login auth_verbose = yes disable_plaintext_auth = no listen = * lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes login_greeting = Mailserver ready. mail_location = maildir:~/Maildir
verbose_proctitle = yes
managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
passdb { driver = pam }
userdb { driver = passwd-file args = /etc/dovecot/passwd.quota }
plugin/autocreate = Entwurf plugin/autocreate2 = Spam plugin/autosubscribe = Entwurf plugin/autosubscribe2 = Spam plugin/sieve_dir = %h/sieve plugin/sieve_global_path = /etc/dovecot/sieve/global/global.sieve plugin/sieve_global_dir = /etc/dovecot/sieve/global/ protocols = imap pop3 sieve
service managesieve-login { inet_listener sieve { port = 4190 }
service_count = 1 vsz_limit = 64M }
service managesieve { }
protocol sieve { managesieve_max_line_length = 65536 mail_max_userip_connections = 10 managesieve_logout_format = bytes=%i/%o managesieve_implementation_string = Dovecot Pigeonhole managesieve_max_compile_errors = 5
}
service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { mode = 0600 } }
plugin { quota = maildir:User quota }
plugin { quota_rule = *:storage=700M }
plugin { quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=75%% quota-warning 75 %u }
service quota-warning { executable = script /usr/sbin/quota-warning.sh user = root unix_listener quota-warning { user = root } }
plugin {
sieve_before = /etc/dovecot/sieve/global/global.sieve
}
service imap-login { client_limit = 128 process_limit = 256 service_count = 0 vsz_limit = 64 M }
service pop3-login { client_limit = 128 process_limit = 256 service_count = 0 vsz_limit = 64 M }
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 = quota trash pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_lock_session = yes pop3_uidl_format = %v-%u }
protocol lda { mail_fsync = optimized mail_plugins = $mail_plugins sieve postmaster_address = postmaster@art-domains.de }
protocol lmtp { mail_plugins = $mail_plugins sieve }
ssl_cert =
and in passwd.quota:
webxp1:x:1174:5000::/home/mail/web6p1::userdb_mail=maildir:~/Maildir userdb_quota_rule=*:bytes=150M
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: auch das geringste Schaffen steht höher als das Reden über Geschaffenes. [Nietzsche]
Jim Knuth jk@jkart.de wrote:
am 03.04.11 17:13 schrieb Sven Hartge sven@svenhartge.de:
Jim Knuthjk@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 say.
ok, understand. dovecot -n
[snip]
And how does your MTA deliver new mails to the users Maildir? Do you use dovecot-lda or something else?
Grüße, S!
-- Sig lost. Core dumped.
am 03.04.11 18:30 schrieb Sven Hartge sven@svenhartge.de:
Jim Knuthjk@jkart.de wrote:
am 03.04.11 17:13 schrieb Sven Hartgesven@svenhartge.de:
Jim Knuthjk@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 say.
ok, understand. dovecot -n
[snip]
And how does your MTA deliver new mails to the users Maildir? Do you use dovecot-lda or something else?
yes. mailbox_command = /usr/lib/dovecot/deliver -a "$RECIPIENT"
Note: deliver is a symlink of dovecot-lda. But you will know this ;)
Grüße, S!
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Aller grosse Lärm macht, dass wir das Glück in die Stille und Ferne setzen. [Nietzsche]
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 = quota trash pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_lock_session = yes pop3_uidl_format = %v-%u }
protocol lda { mail_fsync = optimized mail_plugins = $mail_plugins sieve postmaster_address = postmaster@art-domains.de }
If I read this correctly, you're only using the quota plugin for imap and pop3, and not for anything else, lda included. Try adding a line like
mail_plugins = quota
in 10-mail.conf
Joseba Torre. Vicegerencia de TICs, área de Explotación
am 04.04.11 10:47 schrieb Joseba Torre joseba.torre@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 }
protocol pop3 { mail_fsync = never mail_plugins = quota trash pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_lock_session = yes pop3_uidl_format = %v-%u }
protocol lda { mail_fsync = optimized mail_plugins = $mail_plugins sieve postmaster_address = postmaster@art-domains.de }
If I read this correctly, you're only using the quota plugin for imap and pop3, and not for anything else, lda included. Try adding a line like
mail_plugins = quota
in 10-mail.conf
sorry, but that`s IMHO not right. Take a look at $mail_plugins. There is also defined quota
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: I merely function as a channel that filters music through the chaos of noise. (Vangelis)
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 sieve
$mail_plugins is empty.
Again, try setting it in 10-mail.conf and check if it solves your issue.
Joseba Torre. Vicegerencia de TICs, área de Explotación
am 04.04.11 11:22 schrieb Joseba Torre joseba.torre@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, when inside protocol lda you write
mail_plugins = $mail_plugins sieve
$mail_plugins is empty.
Again, try setting it in 10-mail.conf and check if it solves your issue.
ok, thank you. I`ll try this out.
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Ein verliebter Mann ist so lange unfertig, bis er heiratet. Dann allerdings ist er fertig! [Zsa Zsa Gabor]
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 inside protocol lda you write
mail_plugins = $mail_plugins sieve
$mail_plugins is empty.
Again, try setting it in 10-mail.conf and check if it solves your issue.
This would have been obvious if he had shown dovecot -n output (and looked at it) instead of copy&pasting the config file..
am 04.04.11 12:55 schrieb Timo Sirainen tss@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 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 sieve
$mail_plugins is empty.
Again, try setting it in 10-mail.conf and check if it solves your issue.
This would have been obvious if he had shown dovecot -n output (and looked at it) instead of copy&pasting the config file..
OK, sorry. This is the same like postconf-n ..
# 2.0.11 (0ce50c22f84c): /etc/dovecot/dovecot.conf # OS: Linux 2.6.29.4 i686 Debian wheezy/sid auth_master_user_separator = * auth_mechanisms = plain login auth_verbose = yes disable_plaintext_auth = no lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * login_greeting = Mailserver ready. mail_location = maildir:~/Maildir managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { driver = pam } plugin { autocreate = Entwurf autocreate2 = Spam autosubscribe = Entwurf autosubscribe2 = Spam quota = maildir:User quota quota_rule = *:storage=700M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=75%% quota-warning 75 %u sieve_before = /etc/dovecot/sieve/global/global.sieve sieve_dir = %h/sieve sieve_global_dir = /etc/dovecot/sieve/global/ sieve_global_path = /etc/dovecot/sieve/global/global.sieve trash = /etc/dovecot/dovecot-trash.conf.ext } protocols = imap pop3 sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { mode = 0600 } } service imap-login { client_limit = 128 process_limit = 256 service_count = 0 vsz_limit = 64 M } service managesieve-login { inet_listener sieve { port = 4190 } service_count = 1 vsz_limit = 64 M } service pop3-login { client_limit = 128 process_limit = 256 service_count = 0 vsz_limit = 64 M } service quota-warning { executable = script /usr/sbin/quota-warning.sh unix_listener quota-warning { user = vmail } user = dovecot } ssl_cert =
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Die größte Kunst, die man im Leben lernen muß, ist die Wiedergutmachung von Irrtümern. Eines der Mittel ist, sie einzugestehen. (Hermann Melville)
am 04.04.11 13:31 schrieb Jim Knuth jk@jkart.de:
am 04.04.11 12:55 schrieb Timo Sirainen tss@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 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 sieve
$mail_plugins is empty.
Again, try setting it in 10-mail.conf and check if it solves your issue.
This would have been obvious if he had shown dovecot -n output (and looked at it) instead of copy&pasting the config file..
OK, sorry. This is the same like postconf-n ..
# 2.0.11 (0ce50c22f84c): /etc/dovecot/dovecot.conf # OS: Linux 2.6.29.4 i686 Debian wheezy/sid auth_master_user_separator = * auth_mechanisms = plain login auth_verbose = yes disable_plaintext_auth = no lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * login_greeting = Mailserver ready. mail_location = maildir:~/Maildir managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { driver = pam } plugin { autocreate = Entwurf autocreate2 = Spam autosubscribe = Entwurf autosubscribe2 = Spam quota = maildir:User quota quota_rule = *:storage=700M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=75%% quota-warning 75 %u sieve_before = /etc/dovecot/sieve/global/global.sieve sieve_dir = %h/sieve sieve_global_dir = /etc/dovecot/sieve/global/ sieve_global_path = /etc/dovecot/sieve/global/global.sieve trash = /etc/dovecot/dovecot-trash.conf.ext } protocols = imap pop3 sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { mode = 0600 } } service imap-login { client_limit = 128 process_limit = 256 service_count = 0 vsz_limit = 64 M } service managesieve-login { inet_listener sieve { port = 4190 } service_count = 1 vsz_limit = 64 M } service pop3-login { client_limit = 128 process_limit = 256 service_count = 0 vsz_limit = 64 M } service quota-warning { executable = script /usr/sbin/quota-warning.sh unix_listener quota-warning { user = vmail } user = dovecot } ssl_cert =
no rejects with that config above. Just a mail has arrived for the user ..
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: And I don't know much, but I do know this: With a golden heart comes a rebel fist. [Streetlight Manifesto - Here's To Life]
am 04.04.11 15:13 schrieb Timo Sirainen tss@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 Login?
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Ich würde nur an einen Gott glauben, der zu tanzen verstünde. [Nietzsche]
On Mon, 2011-04-04 at 16:01 +0200, Jim Knuth wrote:
am 04.04.11 15:13 schrieb Timo Sirainen tss@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 Login?
Logs from dovecot-lda when a mail is delivered to a user who is over quota. You should at minimum have something like:
lda(user): Info: msgid=foo@bar: saved mail to INBOX
With mail_debug=yes there should be lots more.
am 04.04.11 17:02 schrieb Timo Sirainen tss@iki.fi:
On Mon, 2011-04-04 at 16:01 +0200, Jim Knuth wrote:
am 04.04.11 15:13 schrieb Timo Sirainentss@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 Login?
Logs from dovecot-lda when a mail is delivered to a user who is over quota. You should at minimum have something like:
lda(user): Info: msgid=foo@bar: saved mail to INBOX
With mail_debug=yes there should be lots more.
Apr 4 14:34:13 server2 postfix/smtpd[27685]: 8EF2EB7A894: client=moutng.kundenserver.de[212.227.17.19] Apr 4 14:34:13 server2 postfix/cleanup[27711]: 8EF2EB7A894: message-id=op.vteyat1azaba4d@agi-pc Apr 4 14:34:13 server2 postfix/qmgr[12092]: 8EF2EB7A894: from=info@gottschalk.com, size=1328, nrcpt=1 (queue active) Apr 4 14:34:13 server2 postfix/smtpd[27685]: disconnect from moutng.kundenserver.de[212.227.17.19]
Apr 4 14:34:17 server2 postfix/smtpd[27715]: connect from localhost[127.0.0.1] Apr 4 14:34:17 server2 postfix/smtpd[27715]: 94E15B7A89A: client=localhost[127.0.0.1], orig_queue_id=8EF2EB7A894, orig_client=moutng.kundenserver.de[212.227.17.19] Apr 4 14:34:17 server2 postfix/cleanup[27711]: 94E15B7A89A: message-id=op.vteyat1azaba4d@agi-pc Apr 4 14:34:17 server2 postfix/qmgr[12092]: 94E15B7A89A: from=info@gottschalk.com, size=2012, nrcpt=2 (queue active) Apr 4 14:34:17 server2 postfix/smtpd[27715]: disconnect from localhost[127.0.0.1] Apr 4 14:34:17 server2 amavis[3222]: (03222-12) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [212.227.17.9]:54192 [94.222.128.251] info@gottschalk.com -> info@ra.de, Queue-ID: 8EF2EB7A894, Message-ID: op.vteyat1azaba4d@agi-pc, mail_id: prJLj5ThXbS7, Hits: -1.901, size: 1328, queued_as: 94E15B7A89A, 4056 ms Apr 4 14:34:17 server2 amavis[3222]: (03222-12) Passed CLEAN, info@gottschalk.com -> info@ra.de, Hits: -1.901, tag=-9999.9, tag2=2.5, kill=3, queued_as: 94E15B7A89A, L/Y/0/0 Apr 4 14:34:17 server2 postfix/lmtp[27712]: 8EF2EB7A894: to=info@ra.de, relay=127.0.0.1[127.0.0.1]:10026, delay=4.6, delays=0.52/0.01/0/4.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 94E15B7A89A) Apr 4 14:34:17 server2 postfix/qmgr[12092]: 8EF2EB7A894: removed Apr 4 14:34:17 server2 dovecot: lda(web6p1): sieve: msgid=op.vteyat1azaba4d@agi-pc: stored mail into mailbox 'INBOX'
Apr 4 15:14:45 server2 postfix/smtpd[28882]: A3ED8B7A894: client=mail.net.de[82.100.230.158] Apr 4 15:14:45 server2 postfix/cleanup[28915]: A3ED8B7A894: message-id=DE-H-MX1zy2JrCoIMWw000351ab@de-h-mx1.net.de Apr 4 15:14:45 server2 postfix/qmgr[12092]: A3ED8B7A894: from=buchhaltung@net.de, size=2533, nrcpt=1 (queue active) Apr 4 15:14:45 server2 postfix/smtpd[28882]: disconnect from mail.net.de[82.100.230.158] Apr 4 15:14:50 server2 postfix/smtpd[28963]: connect from localhost[127.0.0.1] Apr 4 15:14:50 server2 postfix/smtpd[28963]: 03FD6B7A89A: client=localhost[127.0.0.1], orig_queue_id=A3ED8B7A894, orig_client=mail.net.de[82.100.230.158] Apr 4 15:14:50 server2 postfix/cleanup[28915]: 03FD6B7A89A: message-id=DE-H-MX1zy2JrCoIMWw000351ab@de-h-mx1.net.de Apr 4 15:14:50 server2 postfix/qmgr[12092]: 03FD6B7A89A: from=buchhaltung@net.de, size=3210, nrcpt=2 (queue active) Apr 4 15:14:50 server2 postfix/smtpd[28963]: disconnect from localhost[127.0.0.1] Apr 4 15:14:50 server2 dovecot: lda(web6p1): sieve: msgid=DE-H-MX1zy2JrCoIMWw000351ab@de-h-mx1.net.de: stored mail into mailbox 'INBOX'
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Der getretene Wurm krümmt sich. So ist es klug. Er verringert damit die Wahrscheinlichkeit, von neuem getreten zu werden. In der Sprache der Moral: Demut. [Nietzsche]
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 18:42:06 lda: Debug: Loading modules from directory: /usr/local/lib/dovecot Apr 04 18:42:06 lda: Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so Apr 04 18:42:06 lda(tss 26164): Debug: Effective uid=1000, gid=1000, home=/home/tss Apr 04 18:42:06 lda(tss 26164): Debug: Quota root: name=User quota backend=maildir args= Apr 04 18:42:06 lda(tss 26164): Debug: Quota rule: root=User quota mailbox=* bytes=1073741824 messages=0
am 04.04.11 17:43 schrieb Timo Sirainen tss@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 isn't "yes". You should have lines like:
Apr 04 18:42:06 lda: Debug: Loading modules from directory: /usr/local/lib/dovecot Apr 04 18:42:06 lda: Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so Apr 04 18:42:06 lda(tss 26164): Debug: Effective uid=1000, gid=1000, home=/home/tss Apr 04 18:42:06 lda(tss 26164): Debug: Quota root: name=User quota backend=maildir args= Apr 04 18:42:06 lda(tss 26164): Debug: Quota rule: root=User quota mailbox=* bytes=1073741824 messages=0
Yes, but I can send a mail to the user and then I send more debug log. Just a moment please.
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Das Schweigen von gestern rechtfertigt nie das Schweigen von heute. (Otto Schily)
am 04.04.11 17:43 schrieb Timo Sirainen tss@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 isn't "yes". You should have lines like:
Apr 04 18:42:06 lda: Debug: Loading modules from directory: /usr/local/lib/dovecot Apr 04 18:42:06 lda: Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so Apr 04 18:42:06 lda(tss 26164): Debug: Effective uid=1000, gid=1000, home=/home/tss Apr 04 18:42:06 lda(tss 26164): Debug: Quota root: name=User quota backend=maildir args= Apr 04 18:42:06 lda(tss 26164): Debug: Quota rule: root=User quota mailbox=* bytes=1073741824 messages=0
uuh, I see ..
Apr 4 18:00:55 server2 dovecot: lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Apr 4 18:00:55 server2 dovecot: lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Effective uid=1174, gid=5000, home=/home/mail/web6p1 Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota root: name=User quota backend=maildir args= Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule: root=User quota mailbox=* bytes=734003200 messages=0 Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota warning: bytes=697303040 (95%) messages=0 reverse=no command=quota-warning 95 web6p1 Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota warning: bytes=550502400 (75%) messages=0 reverse=no command=quota-warning 75 web6p1 Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: maildir++: root=/home/mail/web6p1/Maildir, index=, control=, inbox=/home/mail/web6p1/Maildir Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: userdb lookup skipped, username taken from USER environment
What`s that? In Roundcube getting Over Quota and the user cannot delete, send, and so one
Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota root: name=User quota backend=maildir args= Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule: root=User quota mailbox=* bytes=734003200 messages=0 Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota warning: bytes=697303040 (95%) messages=0 reverse=no command=quota-warning 95 web6p1 Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota warning: bytes=550502400 (75%) messages=0 reverse=no command=quota-warning 75 web6p1 Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: none: root=, index=, control=, inbox= Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: using sieve path for user's script: /home/mail/web6p1/.dovecot.sieve Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: executed before user's script(1): /etc/dovecot/sieve/global/global.sieve Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: opening script /etc/dovecot/sieve/global/global.sieve Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: script binary /etc/dovecot/sieve/global/global.svbin successfully loaded Apr 4 18:00:55 server2 dovecot: lda(web1p9): Debug: sieve: binary save: not saving binary /home/mail/web1p9/.dovecot.svbin, because it is already stored Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: binary save: not saving binary /etc/dovecot/sieve/global/global.svbin, because it is already stored Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: executing script from /etc/dovecot/sieve/global/global.svbin Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: opening script /home/mail/web6p1/.dovecot.sieve Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: script binary /home/mail/web6p1/.dovecot.svbin successfully loaded Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: binary save: not saving binary /home/mail/web6p1/.dovecot.svbin, because it is already stored Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: sieve: executing script from /home/mail/web6p1/.dovecot.svbin Apr 4 18:00:55 server2 dovecot: lda(web6p1): sieve: msgid=4D99EB32.3000304@art-domains.de: stored mail into mailbox 'INBOX'
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Aus der Kriegsschule des Lebens: Was mich nicht umbringt, macht mich härter. [Nietzsche]
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 lookup skipped, username taken from USER environment
What`s that? In Roundcube getting Over Quota and the user cannot delete, send, and so one
I guess you want this user's quota to be taken from userdb lookup and it's less than 700 MB? Then you need to give -d $USER parameter to dovecot-lda so that it does the userdb lookup.
am 04.04.11 18:23 schrieb Timo Sirainen tss@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 18:00:55 server2 dovecot: lda(web6p1): Debug: userdb lookup skipped, username taken from USER environment
What`s that? In Roundcube getting Over Quota and the user cannot delete, send, and so one
I guess you want this user's quota to be taken from userdb lookup and it's less than 700 MB? Then you need to give -d $USER parameter to dovecot-lda so that it does the userdb lookup.
aha .. interesting
mailbox_command = /usr/lib/dovecot/deliver -d "$USER" -a "$RECIPIENT"
right? Is that in the WiKi?
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Nur Kinder, Narren und sehr alte Leute können es sich leisten, immer die Wahrheit zu sagen. [Churchill]
am 04.04.11 18:23 schrieb Timo Sirainen tss@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 18:00:55 server2 dovecot: lda(web6p1): Debug: userdb lookup skipped, username taken from USER environment
What`s that? In Roundcube getting Over Quota and the user cannot delete, send, and so one
I guess you want this user's quota to be taken from userdb lookup and it's less than 700 MB? Then you need to give -d $USER parameter to dovecot-lda so that it does the userdb lookup.
mailbox_command = /usr/lib/dovecot/deliver -d "$USER"
I get
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)
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Ihr führt Krieg? Ihr fürchtet euch vor einem Nachbarn? So nehmt doch die Grenzsteine weg - so habt ihr keinen Nachbarn mehr. Aber ihr wollt den Krieg und deshalb erst setztet ihr die Grenzsteine. [Nietzsche]
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 using system users I guess the easiest is simply:
service auth { unix_listener auth-userdb { mode = 0666 } }
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.
am 04.04.11 06:33 schrieb Timo Sirainen tss@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 about a mail delivery that should have been rejected.
I`ve had that already done. No rejects about this user. He get incoming mail and can send. :-/ Any ideas greatly appreciated. Thanks
-- Mit freundlichen Grüßen, Jim Knuth
P.S.: Bitte HTML-Mails! Zufallszitat: Die meisten Menschen sind bereit zu lernen, aber nur die wenigsten, sich belehren zu lassen. [Churchill]
participants (4)
-
Jim Knuth
-
Joseba Torre
-
Sven Hartge
-
Timo Sirainen