[Dovecot] Postfix - deliver problem.

Henrique Fernandes
2010-12-27T04:39:55Z

It seens you are missing an "/" on auth path

or you did it intencionaly ?


[]'sf.rique


On Mon, Dec 27, 2010 at 2:20 AM, Mark Bronstein <mark at
bronsteinlaw.com>wrote:

> I  really could use some help.
>
> I have been using dovecot and qmail on Debian for years with no problems.
>
> I just replaced qmail with Postfix and have not been able to get  messages
> to dovecot via deliver.
>
> I have tried to set it up as a virtual mailbox only "no lookup
necessary"
> system following the vaious help pages. I am using just a single user
> vmail:mail to execute postfix and deliver.
>
> My Dovecot.conf is:
>
> -----------------------
> # 1.2.16: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.18-194.17.1.el5.028stab070.7 i686 Debian 5.0.7 simfs
> log_path: /var/log/dovecot/dovecot.log
> info_log_path: /var/log/dovecot/dovecot_info.log
> log_timestamp: %Y-%m-%d %H:%M:%S
> protocols: imap pop3 imaps pop3s
> disable_plaintext_auth: no
> verbose_ssl: yes
> login_dir: /var/run/dovecot/login
> login_executable(default): /usr/lib/dovecot/imap-login
> login_executable(imap): /usr/lib/dovecot/imap-login
> login_executable(pop3): /usr/lib/dovecot/pop3-login
> first_valid_uid: 112
> last_valid_uid: 112
> first_valid_gid: 8
> last_valid_gid: 8
> mail_location: maildir:/var/mail/domains/%d/%n/Maildir
> mail_debug: yes
> mail_full_filesystem_access: yes
> mbox_write_locks: fcntl dotlock
> mail_executable(default): /usr/lib/dovecot/imap
> mail_executable(imap): /usr/lib/dovecot/imap
> mail_executable(pop3): /usr/lib/dovecot/pop3
> mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
> mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
> mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
> lda:
>  postmaster_address: mark at bronsteinlaw.com
>  mail_plugins: sieve
>  log_path: /var/log/dovecot/dovecot-local-deliver.log
>  auth_socket_path: var/run/dovecot/auth-master
> auth default:
>  user: vmail
>  verbose: yes
>  debug: yes
>  debug_passwords: yes
>  passdb:
>    driver: passwd-file
>    args: /etc/dovecot/passwd
>  userdb:
>    driver: static
>    args: uid=vmail gid=mail  home=/var/mail/domains/%d/%n
> allow_all_users=yes
>  socket:
>    type: connect
>    master:
>      path: /var/run/dovecot/auth-master
>      mode: 384
>      user: vmail
>      group: mail
> plugin:
>  sieve_global_dir: /etc/dovecot/sieve/global/
> --------------------------------
> I have the dovecot deliver line in postfix's master.cf according to the
> docs:
> ---------------
> dovecot unix    -       n       n       -       -      pipe
>  flags=DRhu user=vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d
> ${recipient}
> ------------------
>
> Incoming emails are being saved to the Postfix queue but then delivery is
> unsuccessful with an error message of:
>
> 2010-12-26 23:11:09 deliver(mark at bronsteinlaw.com): Error: userdb
lookup:
> connect(var/run/dovecot/auth-master) failed: No such file or directory
>
> Any help would be appreciated.
>
> Thanks,
>
> Mark B
>