changing mail system

error reporting does not work correctly