[Dovecot] Permission denied on dovecot.lda-dupes
Hi, I have converted my Imap Server from Courier to Dovecot in order to use sieve support. Everything works fine with the exception that the sender always gets the vacation msg since there is a permission error on writing of dovecot.lda-dupes. I've tried several version of permissions including 777 to both home and maildir - always the same result. I also googled for hours .. Any help will be appreciated. Paul
This is the debug log:
Aug 13 14:51:26 Srv dovecot: deliver(pp): Loading modules from directory: /usr/lib/dovecot/modules/lda Aug 13 14:51:26 Srv dovecot: deliver(pp): Module loaded: /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so Aug 13 14:51:26 Srv dovecot: deliver(pp): Home dir not found: Aug 13 14:51:26 Srv dovecot: deliver(pp): maildir: data=/Daten/Vmail/pp/Maildir Aug 13 14:51:26 Srv dovecot: deliver(pp): maildir++: root=/Daten/Vmail/pp/Maildir, index=, control=, inbox=/Daten/Vmail/pp/Maildir Aug 13 14:51:26 Srv dovecot: deliver(pp): sieve: using sieve path for user's script: /Daten/Vmail/pp/.dovecot.sieve Aug 13 14:51:26 Srv dovecot: deliver(pp): sieve: opening script /Daten/Vmail/pp/.dovecot.sieve Aug 13 14:51:26 Srv dovecot: deliver(pp): sieve: executing compiled script /Daten/Vmail/pp/.dovecot.sieve Aug 13 14:51:26 Srv dovecot: deliver(pp): Namespace : Using permissions from /Daten/Vmail/pp/Maildir: mode=0700 gid=-1 Aug 13 14:51:26 Srv dovecot: deliver(pp): file_dotlock_create(/.dovecot.lda-dupes) failed: Permission denied
This ist my dovecot.conf:
protocols = imap imaps managesieve
mail_debug = yes
log_path = info_log_path =
disable_plaintext_auth = no
# Authentication configuration: mail_location = maildir:/Daten/Vmail/%u/Maildir
auth_verbose = yes mail_nfs_storage = no mail_nfs_index = no nfs_check = no lock_method = dotlock mail_uid = vmail mail_gid = vmail
auth default { mechanisms = plain login passdb pam { } userdb passwd { args = uid=vmail gid=vmail home=/home/%u mail=maildir:/Daten/Vmail/%u/Maildir } socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = vmail } } }
protocol lda { postmaster_address = admin@ppridt.dnsalias.org mail_plugins = sieve auth_socket_path = /var/run/dovecot/auth-master }
protocol managesieve { login_executable = /usr/lib/dovecot/managesieve-login mail_executable = /usr/lib/dovecot/managesieve managesieve_implementation_string = Cyrus timsieved v2.2.13 }
plugin {
sieve=/Daten/Vmail/%u/.dovecot.sieve
sieve_dir=/Daten/Vmail/%u/.sieve
}
This is the exim delivery transport:
dovecot_lda: driver = pipe command = /usr/lib/dovecot/deliver message_prefix = message_suffix = log_output delivery_date_add envelope_to_add return_path_add user = vmail group = vmail temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78
-- View this message in context: http://dovecot.2317879.n4.nabble.com/Permission-denied-on-dovecot-lda-dupes-... Sent from the Dovecot mailing list archive at Nabble.com.
On 13.8.2012, at 18.18, ppridt wrote:
Hi, I have converted my Imap Server from Courier to Dovecot in order to use sieve support. Everything works fine with the exception that the sender always gets the vacation msg since there is a permission error on writing of dovecot.lda-dupes. .. Aug 13 14:51:26 Srv dovecot: deliver(pp): Home dir not found:
The dupe file is written to home dir, but you have no home dir.
file_dotlock_create(/.dovecot.lda-dupes) failed: Permission denied
So it's trying to write to the root directory.
But I find these messages strange. They shouldn't happen at least newer Dovecots. What version are you using?
participants (2)
-
ppridt
-
Timo Sirainen