[Dovecot] NFS Maildirs
Hi,
We have our user homedirs on nfs so I enabled nfs parameters in dovecot.conf. Everything works fine but when I want to delete a homedir of a user I can't delete it because I can't remove the .nfs files in the Maildir. I don't want to stop dovecot, remove the homedir and start dovecot. Is there another way to accomplish this.
Thanks, Martijn
# 1.2.12: /etc/opt/redknot/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 4096). Either grow the limit or change login_max_processes_count and max_mail_processes settings
# OS: SunOS 5.11 sun4v
log_path: /var/log/dovecot.log
protocols: imap imaps managesieve
ssl_cert_file: /etc/opt/redknot/ssl/secure.redknot.nl.cer
ssl_key_file: /etc/opt/redknot/ssl/secure.redknot.nl.key
disable_plaintext_auth: no
login_dir: /opt/redknot/var/run/dovecot/login
login_executable(default): /opt/redknot/libexec/dovecot/imap-login
login_executable(imap): /opt/redknot/libexec/dovecot/imap-login
login_executable(managesieve): /opt/redknot/libexec/dovecot/managesieve-login
login_processes_count: 5
login_max_processes_count: 1024
max_mail_processes: 2048
first_valid_uid: 200
first_valid_gid: 10
mail_location: maildir:~/Maildir
mmap_disable: yes
mail_nfs_storage: yes
mail_nfs_index: yes
mail_executable(default): /opt/redknot/libexec/dovecot/imap
mail_executable(imap): /opt/redknot/libexec/dovecot/imap
mail_executable(managesieve): /opt/redknot/libexec/dovecot/managesieve
mail_plugins(default): antispam
mail_plugins(imap): antispam
mail_plugins(managesieve):
mail_plugin_dir(default): /opt/redknot/lib/dovecot/imap
mail_plugin_dir(imap): /opt/redknot/lib/dovecot/imap
mail_plugin_dir(managesieve): /opt/redknot/lib/dovecot/managesieve
auth default:
mechanisms: plain login
passdb:
driver: pam
args: other
userdb:
driver: passwd
socket:
type: listen
client:
path: /opt/redknot/var/run/dovecot/auth-client
mode: 432
master:
path: /opt/redknot/var/run/dovecot/auth-master
mode: 384
plugin:
antispam_signature: X-DSPAM-Signature
antispam_signature_missing: error
antispam_trash: Trash
antispam_spam: Junk
antispam_allow_append_to_spam: yes
antispam_dspam_binary: /opt/redknot/bin/dspam
antispam_dspam_args: --deliver;--user;%u;--debug
antispam_dspam_result_header: X-DSPAM-Result
antispam_dspam_result_blacklist: Virus
YoungGuns Kasteleinenkampweg 7b 5222 AX 's-Hertogenbosch T. 073 623 56 40 F. 073 623 56 39 www.youngguns.nl KvK 18076568
Op 22 jul 2010, om 13:19 heeft Martijn de Munnik het volgende geschreven:
Hi,
We have our user homedirs on nfs so I enabled nfs parameters in dovecot.conf. Everything works fine but when I want to delete a homedir of a user I can't delete it because I can't remove the .nfs files in the Maildir. I don't want to stop dovecot, remove the homedir and start dovecot. Is there another way to accomplish this.
Maybe I can answer my own question... Is this because there is still an imap connection running for that user?
Thanks, Martijn
# 1.2.12: /etc/opt/redknot/dovecot.conf Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 4096). Either grow the limit or change login_max_processes_count and max_mail_processes settings # OS: SunOS 5.11 sun4v
log_path: /var/log/dovecot.log protocols: imap imaps managesieve ssl_cert_file: /etc/opt/redknot/ssl/secure.redknot.nl.cer ssl_key_file: /etc/opt/redknot/ssl/secure.redknot.nl.key disable_plaintext_auth: no login_dir: /opt/redknot/var/run/dovecot/login login_executable(default): /opt/redknot/libexec/dovecot/imap-login login_executable(imap): /opt/redknot/libexec/dovecot/imap-login login_executable(managesieve): /opt/redknot/libexec/dovecot/managesieve-login login_processes_count: 5 login_max_processes_count: 1024 max_mail_processes: 2048 first_valid_uid: 200 first_valid_gid: 10 mail_location: maildir:~/Maildir mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes mail_executable(default): /opt/redknot/libexec/dovecot/imap mail_executable(imap): /opt/redknot/libexec/dovecot/imap mail_executable(managesieve): /opt/redknot/libexec/dovecot/managesieve mail_plugins(default): antispam mail_plugins(imap): antispam mail_plugins(managesieve): mail_plugin_dir(default): /opt/redknot/lib/dovecot/imap mail_plugin_dir(imap): /opt/redknot/lib/dovecot/imap mail_plugin_dir(managesieve): /opt/redknot/lib/dovecot/managesieve auth default: mechanisms: plain login passdb: driver: pam args: other userdb: driver: passwd socket: type: listen client: path: /opt/redknot/var/run/dovecot/auth-client mode: 432 master: path: /opt/redknot/var/run/dovecot/auth-master mode: 384 plugin: antispam_signature: X-DSPAM-Signature antispam_signature_missing: error antispam_trash: Trash antispam_spam: Junk antispam_allow_append_to_spam: yes antispam_dspam_binary: /opt/redknot/bin/dspam antispam_dspam_args: --deliver;--user;%u;--debug antispam_dspam_result_header: X-DSPAM-Result antispam_dspam_result_blacklist: VirusYoungGuns Kasteleinenkampweg 7b 5222 AX 's-Hertogenbosch T. 073 623 56 40 F. 073 623 56 39 www.youngguns.nl KvK 18076568
YoungGuns Kasteleinenkampweg 7b 5222 AX 's-Hertogenbosch T. 073 623 56 40 F. 073 623 56 39 www.youngguns.nl KvK 18076568
On 22.7.2010, at 12.36, Martijn de Munnik wrote:
Op 22 jul 2010, om 13:19 heeft Martijn de Munnik het volgende geschreven:
Hi,
We have our user homedirs on nfs so I enabled nfs parameters in dovecot.conf. Everything works fine but when I want to delete a homedir of a user I can't delete it because I can't remove the .nfs files in the Maildir. I don't want to stop dovecot, remove the homedir and start dovecot. Is there another way to accomplish this.
Maybe I can answer my own question... Is this because there is still an imap connection running for that user?
Yeah, that's the reason.
participants (2)
-
Martijn de Munnik
-
Timo Sirainen