Fix for mailcatcher not working with php settings