There is no way to do it in slurm. You have to do it in the mail program you are using to send mail. In our case we use postfix and we set smtp_generic_maps to accomplish this.
-Paul Edmon-
On 6/7/2024 3:33 PM, Vanhorn, Mike via slurm-users wrote:
All,
When the slurm daemon is sending out emails, they are coming from “slurm@servername.subdomain.domain.edu”. This has worked okay in the past, but due to a recent mail server change (over which I have no control whatsoever) this will no longer work. Now, the From: address is going to have to be something like “slurm-servername@domain.edu” , or, at least something that ends in “@domain.edu” (the subdomain being present will cause it to get rejected by the mail server.
I am not seeing in the documentation how to change the “From:” address tha slurm uses. Is there a way to do this and I’m just missing it?
Mike VanHorn
Senior Computer Systems Administrator
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
937-775-5157
michael.vanhorn@wright.edu