All,
When the slurm daemon is sending out emails, they are coming from “slurm@servername.subdomain.domain.edumailto: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
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
Ah, that looks like what I need, I was just looking in the wrong place.
Thank you!
--- 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
From: Paul Edmon via slurm-users slurm-users@lists.schedmd.com Reply-To: Paul Edmon pedmon@cfa.harvard.edu Date: Friday, June 7, 2024 at 3:41 PM To: "slurm-users@lists.schedmd.com" slurm-users@lists.schedmd.com Subject: [slurm-users] Re: need to set From: address for slurm
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.edumailto: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.edumailto: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.edumailto:michael.vanhorn@wright.edu