Added custom path support for sendmail and qmail