Quote Originally Posted by Ford View Post
I want to start Dovecot automatic at boot up.
How can I do that in rc.local.
I tryed this several times, different ways but it won't start.
When I start Dovecot manual it works fine.
Someone there who can help me?
Two things generally are to blame for startup failures in rc.local:

1) Either your PATH, or some other environment variable, is not properly configured. Make sure all the environment matches the one your have when you login.

2) The busybox shell which executes rc.local is not able to execute the startup script for the program. Add this line to rc.local prior to executing the startup script for your application: "export KCSHELL=/opt/bin/bash". This will use bash instead of the busybox shell for every instance of /bin/sh.

- K.C.