Jerry
2009-Oct-03 22:31 UTC
[Dovecot] Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission denied
I am making my first attempt to get dovecot working with Postfix
virtual users/domains. The following is the error log and the output of
"dovecot -n".
I am probably doing something really stupid; however, I do not know
what.
Oct 03 17:50:41 pop3-login: Info: Login: user=<user at mydomain.com>,
method=PLAIN, rip=192.168.1.103, lip=192.168.1.103, TLS
Oct 03 17:50:41 POP3(user at mydomain.com): Info: Effective uid=1001, gid=1001,
home=/var/mail/virtual/mydomain.com/user
Oct 03 17:50:41 POP3(user at mydomain.com): Info: maildir:
data=/var/mail/vhost/seibercom.net/budman
Oct 03 17:50:41 POP3(user at mydomain.com): Info: maildir++:
root=/var/mail/vhost/seibercom.net/budman, index=, control=,
inbox=/var/mail/vhost/mydomain.com/user
Oct 03 17:50:41 POP3(user at mydomain.com): Info: Namespace : Using permissions
from /var/mail/vhost/mydomain.com/user: mode=0755 gid=-1
Oct 03 17:50:41 POP3(user at mydomain.com): Info: Disconnected: Logged out
top=0/0, retr=0/0, del=0/0, size=0
Oct 03 18:13:13 deliver(user at mydomain.com): Error: userdb lookup:
connect(/var/run/dovecot/auth-master) failed: Permission denied
# dovecot -n
# 1.2.4: /usr/local/etc/dovecot.conf
# OS: FreeBSD 7.2-STABLE i386 ufs
log_path: /usr/home/gerard/tmp/dovecot.log
protocols: pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/pop3-login
login_greeting: Dovecot serving mydomain.net greets you!
verbose_proctitle: yes
first_valid_uid: 1000
first_valid_gid: 1000
mail_privileged_group: mail
mail_location: maildir:/var/mail/vhost/%d/%n
mail_debug: yes
mail_executable: /usr/local/libexec/dovecot/pop3
mail_plugin_dir: /usr/local/lib/dovecot/pop3
pop3_client_workarounds: outlook-no-nuls oe-ns-eoh
dict_db_config: /usr/local/etc/dovecot-db.conf
lda:
postmaster_address: postmaster at mydomain.net
sendmail_path: /usr/sbin/sendmail
auth default:
mechanisms: plain login
username_format: %Lu
verbose: yes
debug_passwords: yes
passdb:
driver: pam
passdb:
driver: passwd-file
args: /usr/local/etc/dovecot_passwd
userdb:
driver: passwd
args: blocking=yes
userdb:
driver: static
args: uid=gerard gid=gerard home=/var/mail/virtual/%d/%n
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
master:
path: /var/run/dovecot/auth-master
mode: 384
--
Jerry
gesbbb at yahoo.com
"What do you do when your real life exceeds your wildest
fantasies?"
"You keep it to yourself."
Broadcast News
Jerry
2009-Oct-04 12:48 UTC
[Dovecot] Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission denied
On Sat, 3 Oct 2009 18:31:03 -0400 Jerry <gesbbb at yahoo.com> wrote: [snip] I apologize for replying to my own message. However, this problem has gotten me totally confused. I can POP mail without any problem; however, I cannot use Dovecot as a virtual delivery agent. I am still receiving this error message: Oct 04 08:08:41 deliver(user at mydomain.net): Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission denied This is the file listing: srw------- 1 root wheel 0B Oct 4 07:23 auth-master -- Jerry gesbbb at yahoo.com The only people who make love all the time are liars. Louis Jordan
Timo Sirainen
2009-Oct-05 13:10 UTC
[Dovecot] Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission denied
On Oct 4, 2009, at 8:48 AM, Jerry wrote:> Oct 04 08:08:41 deliver(user at mydomain.net): Error: userdb lookup: > connect(/var/run/dovecot/auth-master) failed: Permission denied > > This is the file listing: > > srw------- 1 root wheel 0B Oct 4 07:23 auth-masterGive it more permissions.> socket: > type: listen > client: > path: /var/run/dovecot/auth-client > mode: 432 > master: > path: /var/run/dovecot/auth-master > mode: 384mode = 0666 if nothing else helps.