write configuration info to /etc/mailinabox.conf; other cleanup