[Dovecot] Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission denied

Jerry gesbbb at yahoo.com
Sun Oct 4 01:31:03 EEST 2009


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


More information about the dovecot mailing list