fix mailcatcher on Debian

This PR should resolve all problems on Debian.

Thanks @NITEMAN for the initial work!

@actionjack It would be great if this could be merged and a new release published on the forge.