tweak to fix mailer settings on production system