I'm trying to setup a rootless configuration so I can better manage the
e-mail that comes to the mailbox of a unix account I have. I've
successfully compiled Dovecot and followed the instructions for a
rootless configuration, tweaking my config until Dovecot returns no
errors. However I've got to a stage where upon running
~/..../sbin/dovecot it just quits with no server running and no errors.
Any ideas? My rather small and basic configuration file is as follows...
# Base directory where to store runtime data.
base_dir = /home/jamesd/imap/dovecot/run/
# Protocols we want to be serving:
protocols = imap
listen = *
ssl_disable = yes
log_path = /home/jamesd/imap/dovecot/logs/
info_log_path = /home/jamesd/imap/dovecot/logs/
## Login processes
login_dir = /home/jamesd/imap/dovecot/run/login
login_chroot = no
login_user = jamesd
## IMAP specific settings
protocol imap {
listen = *:10143
}
## Authentication processes
auth default {
mechanisms = plain
passdb passwd-file {
args = /home/jamesd/imap/dovecot/etc/passwd
}
user = jamesd
}
Many thanks,
James
--
http://www.freecharity.org.uk/ - Free hosting for charities
http://jamesd.ukgeeks.co.uk/
James Davis wrote:> Any ideas? My rather small and basic configuration file is as follows...I'm slowly getting somewhere, I ran strace -f on dovecot and found that it was having problems accessing the log file I specified. I've corrected that and now the logs are showing errors, specifically... dovecot: Mar 13 22:02:10 Error: auth(default): No user databases set dovecot: Mar 13 22:02:10 Error: child 3698 (auth) returned error 89 dovecot: Mar 13 22:02:10 Error: Auth process died too early - shutting down Any ideas? I can't seem to grasp why. My authentication configuration is as follows... auth default { mechanisms = plain passdb passwd-file { args = /home/jamesd/imap/dovecot/etc/passwd } user = jamesd } Thanks, James -- http://www.freecharity.org.uk/ - Free hosting for charities http://jamesd.ukgeeks.co.uk/