rendered paste body# /etc/dovecot.conf
base_dir: /var/run/dovecot/
protocols: imap
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
first_valid_uid: 10000
last_valid_uid: 10000
first_valid_gid: 10000
last_valid_gid: 10000
mail_location: maildir:/home/vmail/%d/%n/
mail_debug: yes
auth default:
mechanisms: plain login
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: ldap
args: /etc/dovecot-ldap.conf
userdb:
driver: static
args: uid=10000 gid=10000 home=/home/vmail/%d/%n
userdb:
driver: prefetch
args: /etc/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot-ldap.conf
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
user: dovecot
group: dovecot
master:
path: /var/run/dovecot/auth-master
mode: 432
user: dovecot
group: dovecot
When I start the init script, logs show:
Nov 27 18:03:47 miles2 dovecot: Dovecot v1.0.rc15 starting up
Nov 27 18:03:48 miles2 dovecot: Auth process died too early - shutting down
Nov 27 18:03:48 miles2 dovecot: auth(default): bind(/var/run/dovecot/auth-client) failed: Permission denied
Nov 27 18:03:48 miles2 dovecot: auth(default): net_listen_unix(/var/run/dovecot/auth-client) failed: Permission denied
Nov 27 18:03:48 miles2 dovecot: child 2084 (auth) returned error 89
Nov 27 18:03:48 miles2 dovecot: Temporary failure in creating login processes, slowing down for now
When I start it manually, I get processes:
root 2128 0.0 0.3 1836 460 ? Ss 18:06 0:00 dovecot
root 2129 0.1 1.5 7148 1916 ? S 18:06 0:00 dovecot-auth
dovecot 2130 0.0 1.0 4364 1372 ? S 18:06 0:00 imap-login
dovecot 2131 0.0 1.0 4368 1376 ? S 18:06 0:00 imap-login
dovecot 2132 0.0 1.0 4368 1376 ? S 18:06 0:00 imap-login