Re: [Dovecot] Error: userdb lookup
On Fri, 2009-10-23 at 16:58 +0200, kfx wrote: But then the userdb lookup fail and it tells me this in the log: deliver(u...@mydomain): Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-master) failed: No such file or directory I suppose you added -d parameter to deliver also. This is strange because: a. the socket is at /var/run/dovecot/auth-master Change either that from auth { socket { .. } } path or change auth_socket_path setting. b. it is working flawlessly with the original user_attrs value Changing user_attrs can't cause this error. Adding -d parameter to deliver does. My postfix's master.cf with the deliver relevant line: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient} My postfix's main.cf with the deliver relevant line: mailbox_command = /usr/local/libexec/dovecot/deliver If you're using dovecot transport, you should probably remove the mailbox_command since it only causes confusion. Also one more possibility to fix this instead of using deliver -d parameter is to set: plugin { home = /var/vmail/%u/home } signature.asc Description: This is a digitally signed message part
Re: [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(u...@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= Give it more permissions. socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 master: path: /var/run/dovecot/auth-master mode: 384 mode = 0666 if nothing else helps.
Re: [Dovecot] Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission denied
On Sat, 3 Oct 2009 18:31:03 -0400 Jerry ges...@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(u...@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 ges...@yahoo.com The only people who make love all the time are liars. Louis Jordan
[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=u...@mydomain.com, method=PLAIN, rip=192.168.1.103, lip=192.168.1.103, TLS Oct 03 17:50:41 POP3(u...@mydomain.com): Info: Effective uid=1001, gid=1001, home=/var/mail/virtual/mydomain.com/user Oct 03 17:50:41 POP3(u...@mydomain.com): Info: maildir: data=/var/mail/vhost/seibercom.net/budman Oct 03 17:50:41 POP3(u...@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(u...@mydomain.com): Info: Namespace : Using permissions from /var/mail/vhost/mydomain.com/user: mode=0755 gid=-1 Oct 03 17:50:41 POP3(u...@mydomain.com): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Oct 03 18:13:13 deliver(u...@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: postmas...@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 ges...@yahoo.com What do you do when your real life exceeds your wildest fantasies? You keep it to yourself. Broadcast News