myleetlist at gmx.de
2009-Sep-10  08:03 UTC
[Dovecot] v.1.2.4 deliver maildir quota does not work
Hi,
I'm using deliver for storing new mails (nfs).
Since v.1.2 deliver does not reject mails if over quota (maildir quota).
test with v. 1.1.18:
# HOME=/tmp/maildir/ /path/dovecot-1.1.18/libexec/dovecot/deliver -e -c
/path/dovecot-1.1.18/etc/dovecot.conf
# Quota exceeded (mailbox for user is full)
test with v. 1.2.4:
# HOME=/tmp/maildir/ /path/dovecot-1.2.4/libexec/dovecot/deliver -e -c
/path/dovecot-1.2.4/etc/dovecot.conf
-> mail is saved to INBOX
so where is the problem? what am I doing wrong?
greets, Walter.
# cat maildirsize 
250S
8399 21
46 1
log output with mail_debug = yes:
deliver(User): Loading modules from directory:
/path/dovecot-1.2.4/lib/dovecot/lda
deliver(User): Module loaded:
/path/dovecot-1.2.4/lib/dovecot/lda/lib10_quota_plugin.so
deliver(User): Module loaded:
/path/dovecot-1.2.4/lib/dovecot/lda/lib90_sieve_plugin.so
deliver(User): Quota root: name=User quota backend=maildir argsdeliver(User):
Namespace: type=private, prefix=INBOX., sep=., inbox=yes, hidden=no, list=1,
subscriptions=yes
deliver(User): maildir: data=/tmp/maildir/:INDEX=MEMORY
deliver(User): maildir++: root=/tmp/maildir, index=, control=,
inbox=/tmp/maildir
deliver(User): sieve: local script path /tmp/maildir/filter.sieve doesn't
exist (using global script path in stead)
deliver(User): sieve: user has no valid personal script
deliver(User): sieve: no scripts to execute: reverting to default delivery.
deliver(User): Namespace INBOX.: Using permissions from /tmp/maildir: mode=0700
gid=-1
deliver(User): msgid=: test () - saved mail to INBOX
# 1.2.4: /path/dovecot-1.2.4/etc/dovecot.conf
# OS: Linux 2.6.18-92.1.22.el5 i686 CentOS release 5.2 (Final) 
log_timestamp: %Y-%m-%d %H:%M:%S 
protocols: none
ssl: no
verbose_proctitle: yes
mail_gid: 6
mail_location: maildir:%h:INDEX=MEMORY
mmap_disable: yes
mail_nfs_storage: yes
mail_nfs_index: yes
maildir_copy_preserve_filename: yes
namespace:
  type: private
  separator: .
  prefix: INBOX.
  location: maildir:%h:INDEX=MEMORY
  inbox: yes
  list: yes
  subscriptions: yes
lda:
  postmaster_address: postmaster at ...
  mail_location: maildir:%h:INDEX=MEMORY
  mail_plugins: quota sieve
  deliver_log_format: msgid=%m: %f (%s) - %$
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd
  userdb:
    driver: static
    args: allow_all_users=yes gid=6 sieve=%hfilter.sieve
plugin:
  quota: maildir:User quota
  sieve: %hfilter.sieve
-- 
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
myleetlist at gmx.de
2009-Sep-12  12:12 UTC
[Dovecot] v.1.2.4 deliver maildir quota does not work
Hi,> I'm using deliver for storing new mails (nfs). > Since v.1.2 deliver does not reject mails if over quota (maildir quota). > > test with v. 1.1.18: > # HOME=/tmp/maildir/ /path/dovecot-1.1.18/libexec/dovecot/deliver -e -c > /path/dovecot-1.1.18/etc/dovecot.conf > # Quota exceeded (mailbox for user is full) > > test with v. 1.2.4: > # HOME=/tmp/maildir/ /path/dovecot-1.2.4/libexec/dovecot/deliver -e -c > /path/dovecot-1.2.4/etc/dovecot.conf > -> mail is saved to INBOX[..] is no one using maildir quota here? Who can say me if this is a bug or not? As a workaround, is it posible to use deliver 1.1.18 and imap/pop3 1.2.4 without problems? (i think i have to rewrite some sieve 1.2 rules) -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01