Hi John
Thanks for responding. I've progressed somewhat - details follow.
On 10/08/06, John Peacock <jpeacock@rowman.com
> wrote:You aren't using the correct log_path; it should be:
log_path = /dev/stderr
I did have this option set, sorry - I pasted the previous config. The log process appears to be working since I changed a few other settings.
Google is your friend:
http://www.thedjbway.org/imap/dovecot.html
This is the exact URL which I'd started from before I even started building Dovecot.
$ cat /service/dovecot-imapd/run
#!/bin/sh
exec 2>&1
echo "Starting dovecot IMAP service"
exec envuidgid dovecot \
/usr/sbin/dovecot \
-F \
-c /etc/dovecot.conf
$ cat /service/dovecot-imapd/log/run
#!/bin/sh
exec setuidgid log multilog t /var/log/dovecot-imapd
I'm now getting the following error in the logs - any idea? The error isn't terribly informative.
Fatal: sigaction(SIGRTMIN) failed: Invalid argument
---- My revised /etc/dovecot.conf is ----
base_dir = /var/run/dovecot/
protocols = imap
protocol imap {
listen =
127.0.0.1:143143
}
shutdown_clients = yes
log_path = /dev/stderr
log_timestamp =
ssl_disable = yes
login_dir = /var/run/dovecot/login
login_chroot = yes
login_user = dovecot
login_greeting = Dovecot ready.
maildir_copy_with_hardlinks = yes
auth default {
mechanisms = plain
passdb checkpassword {
args = /var/qmail/bin/qmail-vauth
}
userdb prefetch {
}
user = auth
}
---- Some more detail regarding permissions (if this is pertinent) ----
$ id dovecot
uid=1016(dovecot) gid=211(dovecot) groups=211(dovecot)
$ id auth
uid=1017(auth) gid=212(auth) groups=212(auth)
$ ls -la /var/qmail/users/ | grep vpasswd
-rw-r----- 1 root auth 2814 Aug 3 11:03 vpasswd
-rw-r----- 1 root auth 5621 Aug 3 11:04 vpasswd.cdb
$ ls -la /var/log | grep dove
drwxr-x--- 2 log log 4096 Aug 10 14:51 dovecot-imapd
$ ls -la /var/qmail/bin | grep vauth
-rws--s--x 1 root auth 10320 May 11 2005 qmail-vauth