[Dovecot] dovecot + qmail - deliver not working...
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=
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@meta-logica.com:{SSHA}iDMg--- peter@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@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
On Fri, 2008-04-11 at 06:56 -0600, Peter Van den Wildenbergh wrote:
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
I guess deliver isn't then running as vmail user? chmod a+w dovecot.log would verify this.
participants (2)
-
Peter Van den Wildenbergh
-
Timo Sirainen