[Dovecot] Using Dovecot deliver with Postfix

Tobias Lang tobias.lang at evoscout.de
Fri Dec 25 14:30:33 EET 2009


Hello,

while installing Dovecot sieve, I am not able to deliver email for root. The strange thing is,
that mails to ordinary users get delivered. And no, I do not use virtual mail, just ordinary
unix accounts with an entry to passwd / shadow.
Also before switching from Postfix deliver to Dovecot deliver, everything worked fine.
Current versions for dovecot and postfix are:

  dovecot-1.2.8
  postfix-2.6.5

Anybody an idea, where I misconfigured something?

Thanks in advance
Tobi


dovecot.log (Dovecot daemon)
-------------------------------------------------------------------------------------------------------------------------------------
Dec 25 13:15:01 deliver(root): Error: chdir(/root) failed: Permission denied
Dec 25 13:15:01 deliver(root): Error: stat(/root/Maildir) failed: Permission denied
Dec 25 13:15:01 deliver(root): Error: stat(/root/Maildir/tmp) failed: Permission denied (euid=65534(nobody) egid=65533(nobody) missing +x perm: /root)
-------------------------------------------------------------------------------------------------------------------------------------

mail.log (Postfix daemon)
-------------------------------------------------------------------------------------------------------------------------------------
Dec 25 13:15:01 h636004 postfix/pickup[9007]: ABD64208163: uid=0 from=<root>
Dec 25 13:15:01 h636004 postfix/cleanup[9073]: ABD64208163: message-id=<20091225121501.ABD64208163 at DOMAIN.net>
Dec 25 13:15:01 h636004 postfix/qmgr[9006]: ABD64208163: from=<root at DOMAIN.net>, size=629, nrcpt=1 (queue active)
Dec 25 13:15:01 h636004 postfix/local[9075]: ABD64208163: to=<tobi at DOMAIN.net>, orig_to=<root>, relay=local, delay=0.26, delays=0.14/0.01/0/0.12, dsn=2.0.0, status=sent (delivered to command: /usr/local/libexec/dovecot/deliver)
Dec 25 13:15:01 h636004 postfix/local[9075]: ABD64208163: to=<root at DOMAIN.net>, orig_to=<root>, relay=local, delay=0.36, delays=0.14/0.01/0/0.21, dsn=4.3.0, status=deferred (temporary failure)
-------------------------------------------------------------------------------------------------------------------------------------

Here is an excerpt from my dovecot.conf:

dovecot.conf:
-------------------------------------------------------------------------------------------------------------------------------------
protocol lda {
  postmaster_address = postmaster at DOMAIN
  #mail_plugins = sieve # Disabled to fix deliver issue
}
mail_location = maildir:%h/Maildir
auth default {
  mechanisms = plain login
  passdb pam {
    args = *
  }
  userdb passwd {
  }
  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0600
    }
    client {
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = postfix
    }
  }
}
-------------------------------------------------------------------------------------------------------------------------------------


More information about the dovecot mailing list