[Dovecot] rc22 segv when over quota

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Tue Feb 20 13:15:01 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I just pulled and built version 1.0.rc22
root at ux-2s11-9:/mnt/mailcache/dvtest/MailDir# dovecot -n
# /usr/local/etc/dovecot.conf
log_path: /var/tmp/dovecot.log
info_log_path: /var/tmp/dovecot.info
ssl_disable: yes
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
verbose_proctitle: yes
mail_location: 
maildir:/mnt/mailcache/%u/MailDir:CONTROL=/var/cache/dovecot/%i/control:INDEX=/var/cache/dovecot/%i/index
mail_debug: yes
mail_plugins: quota imap_quota
auth default:
   mechanisms: plain login
   cache_size: 10
   verbose: yes
   debug: yes
   debug_passwords: yes
   passdb:
     driver: pam
     args: cache_key=%u dovecot
   userdb:
     driver: passwd

On Linux Debian Etch on Debian kernel v2.6.18; tested with XFS and 
Extended3.

repquota /mnt/mailcache
*** Report for user quotas on device /dev/mapper/mailstaff-mailcache
Block grace time: 7days; Inode grace time: 7days
                         Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
- ----------------------------------------------------------------------
dvtest    --     560     600    1024             17     0     0

Then I copy messages in a directory via Thunderbird, the log shows:

dovecot: Feb 20 12:12:27 Error: IMAP(dvtest): 
o_stream_send_istream(/mnt/mailcache/dvtest/MailDir/.test/tmp/1171969947.P22138Q3.ux-2s11-9) 
failed: Resource temporarily unavailable
dovecot: Feb 20 12:12:27 Error: child 22138 (imap) killed with signal 11
- -or-
dovecot: Feb 20 12:09:42 Error: IMAP(dvtest): 
o_stream_send_istream(/mnt/mailcache/dvtest/MailDir/.test/tmp/1171969782.P22134Q6.ux-2
s11-9) failed: Disk quota exceeded
dovecot: Feb 20 12:09:42 Error: child 22134 (imap) killed with signal 11

and repquota /mnt/mailcache
dvtest    +-     616     600    1024  6days      20     0     0

The Thunderbird continues to copy other messages believing everthing is 
OK.

There is also this message on the screen (started via dovecot -F):
dm-1: write failed, user block limit reached.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRdr0Vy9SORjhbDpvAQIKfwgA0vONUFwD5nZ1iOb0z+bRf2Kxz9/9r6QE
yqZ/iL6FylJMDQwNi9hY3EbzIbu+pEs3SJrz3VVKuWO7bVyhVTFpxQaSS8vBokXo
6cnLuG5V+n3jtyqy26lM1VQWDCifEY/++YAs/KmJ5NQHm0mk5bUEc6fhDeL4D6MJ
UcKUBrQ8S2B6vJMBQfcabgnC8KR9kh+xvvUtvlnsfpoaInAKx8x4r1S+9mMjbAEv
lIjHt+yavW6Hlq+HmVCirTddesy1rQDFiDSrrV9F8Sp43GpxHyjun9iK6CGrQkJf
AO4o2DsBIbBrhvyUrzUks1dR8ZHasyBQDuMVG02/s1bM3UIkJVX3RA==
=/MmG
-----END PGP SIGNATURE-----


More information about the dovecot mailing list