Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dovecot permission problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Tue Nov 20, 2018 6:09 pm    Post subject: dovecot permission problems Reply with quote

Hello, I recently switched from a fine working postfix MTA with Dovecot to serve IMAP setup to now using Dovecot as an LDA in order to use sieve by adding
Code:

mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" - a "$RECIPIENT"

to main.cf

It works fine for every user except for root's e-mail where I see the following errors in the logfile
Code:

dovecot[7779]: lda(root)<7779>... :Error:chdir(/root/) failed: Permission denied (euid=65534(nobody) egid=65534(nobody) missing +x perm: /root, dir owned by 0:0 mode=0700)
...

And similar. I I make o+x /root I get similar errors inside of /root/.maildir. All my users' maildir directories are mode 0700 and dovecot suid first to the respective user before delivery. How can I fix this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum