imapmda: added external configuration file

Since other people might want to use this, it's probably good to have
the configuration be external. This adds a command line option to
specify a configuration file.