Updated patch for if maillog isn't enabled.