[Dovecot] dovecot + qmail - deliver not working...

Peter Van den Wildenbergh peterlinuxgeek at gmail.com
Fri Apr 11 15:56:18 EEST 2008


Hi List,

I have a working qmail server and installed dovecot trying to setup vmail...
it's not going as expected...

What is working:
qmail

I can log-in using Thunderbird (IMAP)
from dovecot-info.log
dovecot: Apr 10 21:19:54 Info: imap-login: Login: user=<peter at ---.com>,
method=PLAIN, rip=192.168.10.50, lip=192.168.10.188


Config bits:
Ubuntu (command-line system) 7.10

ls -l /home
drwxr-xr-- 2 vmail vmail ... vmail

UID GID for vmail = 500

Content of /etc/dovecot/dovecot.conf
protocols = imap imaps
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot-info.log
ssl_disable = yes
disable_plaintext_auth = no
mail_location = maildir:~/Maildir
dotlock_use_excl=yes
maildir_copy_with_hardlinks=yes
auth_verbose = yes
auth default {
  mechanisms = plain
  passdb passwd-file {
    args = /etc/dovecot/passwd
  }
  userdb static {
    args = uid=500 gid=500 home=/home/vmail/%d/%n
  }
}


cat /etc/dovecot/passwd
peter at meta-logica.com:{SSHA}iDMg---
peter at wilboo.org:{SSHA}iDMg---


cat /var/qmail/control/defaultdelivery
|/var/qmail/bin/preline -f /usr/lib/dovecot/deliver -d $EXT@$USER
(LWQ setup - verified location of 'deliver')


Looks like local delivery for qmail is NOT working :-(
from the logs:
starting delivery 8: msg 3752525 to local peter at ma---
status: local 1/10 remote 0/20
delivery 8: deferral:
Can't_open_log_file_/var/log/dovecot.log:_Permission_denied/
status: local 0/10 remote 0/20
status: exiting

permission on /var/log/dovecot.log =
-rw-r--r-- 1 vmail vmail 728 2008-04-10 21:36 /var/log/dovecot.log

qmailctl stat
messages in queue: 7
messages in queue but not yet preprocessed: 3

So I assume that the inability to 'log' is stopping the delivery process...

Couldn't find anything obvious on google.

Any suggestions?

Regards

Peter


More information about the dovecot mailing list