instructions and code change for setting up mail system