Try to handle errors when connecting to amavis.

fixes #257
force html links to open in a new tab.
LDAP improvements:

* Support for domain adminstrator groups mapping (fixes #449)
* Support for better hash algorithm (see #450)