To ensure that the MAIL variable is set despite the way you access your account — whether by means of ssh, su, su -, or sudo, by way of example — you’ll should set the variable from the /and so on/bash.bashrc file and add it to your file in /and so forth/profile.d to be sure it is set for all people by default.Postfix SPF will show you how to