You are here
I need to see the email output from my jobs. How do I automatically forward email from MSI systems to my email address?
We recommend forwarding your MSI email (from email@example.com), which will contain your job messages, to your central University email or some other email which you read. Automatic email forwarding is done in the manner outlined below.
First ssh into the MSI login machine using the command:
Create a file called .forward in your home directory. On the first line of the file place your preferred email address (for example firstname.lastname@example.org).
The file needs to be in your home directory (you can change to this directory with the command cd ~) on login.msi.umn.edu. Once you have put the file in place, change the file permissions to make it readable to the mail system using the command:
chmod 644 .forward
If you find that you are not receiving email related to your jobs on a particular HPC system, create a similar .forward file in your home directory on that system.
Though it is not recommended, you can check your MSI email over an ssh connection to login.msi.umn.edu using a command line email client such as pine or mutt.