Hi all,

Using Dovecot 1.0.3 on RedHat Enterprise 5 (kernel 2.6.18-8.1.6.el5PAE), and NFS storage, we symlinked a Maildir folder:

/mailstore/user/Maildir/.Junk -> /junkstore/user/Junkmaildir

Everything works fine, until we try to expunge, which produces:

  A04 NO BUG: Unknown internal error

This only happens if "lazy_expunge" is enabled:

  mail_plugins = quota imap_quota acl lazy_expunge
  lazy_expunge = .EXPUNGED/ .EXPUNGED/ .EXPUNGED/

Lazy_expunge works great on non-symlinked folders. We tried version 1.1 alpha2, which actually crashes in this scenario.

The only fix we've found is to disable "lazy_expunge". Attached is our "dovecot -n" config.

Anyone have an idea what might be causing this or a workaround?

Thanks!

Rich
[EMAIL PROTECTED]
# 1.0.3: /shared/dovecot.conf
base_dir: /var/dovecot-mail/
log_path: /var/dovecot-mail/dovecot.log
protocols: imap imaps pop3 pop3s
ssl_ca_file: /adminstore/exim/ssl/instantsslroot.crt
ssl_cert_file: /adminstore/exim/ssl/public-mail.crt
ssl_key_file: /adminstore/exim/ssl/private-mail.key
disable_plaintext_auth: no
shutdown_clients: no
login_dir: /var/dovecot-mail//login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_user: exim
login_greeting: System ready.
login_processes_count: 32
login_max_processes_count: 400
verbose_proctitle: yes
mail_location: maildir:/mailstore/%Lu/Maildir:INDEX=MEMORY
mail_cache_fields: 
mail_cache_min_mail_count: 65536
mailbox_idle_check_interval: 10
mmap_disable: yes
lock_method: dotlock
maildir_stat_dirs: yes
maildir_copy_with_hardlinks: yes
maildir_copy_preserve_filename: yes
mail_executable(default): /usr/local/libexec/dovecot/rawlog 
/usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/rawlog 
/usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota acl lazy_expunge
mail_plugins(imap): quota imap_quota acl lazy_expunge
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle
imap_client_workarounds(imap): delay-newmail outlook-idle
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default): 
pop3_uidl_format(imap): 
pop3_uidl_format(pop3): %Mf
pop3_client_workarounds(default): 
pop3_client_workarounds(imap): 
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
namespace:
  type: private
  separator: .
  inbox: yes
namespace:
  type: private
  separator: .
  prefix: .EXPUNGED/
  location: maildir:/mailstore/%u/Expunged:INDEX=MEMORY
  hidden: yes
auth default:
  mechanisms: plain login
  passdb:
    driver: pam
    args: exim
  userdb:
    driver: ldap
    args: /adminstore/configs/dovecot-ldap.conf
plugin:
  quota: maildir:storage=250000:ignore=Junk
  acl: vfile:/adminstore/configs/dovecot-acls

Reply via email to