Auto Boot

Note: MailArchiva should be configured to automatically boot by default. The instructions below are retained for record keeping purposes only.


Save the below as /opt/mailarchiva/server/mailarchiva

# MailArchiva auto-start
# description: Auto-starts mailarchiva
# processname: mailarchiva
# pidfile: /var/run/
case $1 in
        sh /opt/mailarchiva/server/startserver
        sh /opt/mailarchiva/server/stopserver
        sh /opt/mailarchiva/server/startserver
        sh /opt/mailarchiva/server/stopserver
exit 0

Then, type the following:

cp /opt/mailarchiva/server/mailarchiva /etc/init.d
chmod +x /etc/init.d/mailarchiva
sudo ln -s /etc/init.d/mailarchiva /etc/rc1.d/K99mailarchiva
sudo ln -s /etc/init.d/mailarchiva /etc/rc2.d/S99mailarchiva
Was this information helpful?

Found this information useful? Visit to learn more about MailArchiva.

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please make sure you spelled the page name correctly or use the search box.