config: read database.path from $MAILDIR if set