We handle this for slurm as well as a number of other "internal" services by 
having a mail server with re-write rules setup.  We have run into a number of 
devices/software over the years that isn't able to address this on their own.  
Our mail server doesn't allow incoming mail from the outside, simply allows our 
machines on the back end to send out through it where the re-write rules are 
applied.  Not the only way to handle this, but wanted to share it as an option.

--
Brian D. Haymore
University of Utah
Center for High Performance Computing
155 South 1452 East RM 405
Salt Lake City, Ut 84112
Phone: 801-558-1150, Fax: 801-585-5366
http://bit.ly/1HO1N2C
________________________________
From: slurm-users [slurm-users-boun...@lists.schedmd.com] on behalf of Lachlan 
Musicman [data...@gmail.com]
Sent: Thursday, January 04, 2018 4:53 PM
To: Slurm User Community List
Subject: [UCE] [slurm-users] Slurm From email address configuration

Hola,

Apparently (I was on holiday - of course) we experienced a mini email server 
melt because of a confluence of two events.

Triggered by a user making a spelling mistake in their own email address, this 
was compounded by the fact that slurm creates a from address for the outgoing 
email in the format of <SlurmUser>@<hostname -f> on the slurmctld server.

Since that user doesn't exist in our email service - Exchange Server, and our 
slurmctld server isn't a valid proxy, there were errors upon errors.

Is there any way to set that from address to something more generic 
(ad...@unix.domain.tld) in slurm.conf?

I can't see anything obvious in slurm.conf nor in the documentation, but I may 
have missed it.

cheers
L.

------
"The antidote to apocalypticism is apocalyptic civics. Apocalyptic civics is 
the insistence that we cannot ignore the truth, nor should we panic about it. 
It is a shared consciousness that our institutions have failed and our 
ecosystem is collapsing, yet we are still here — and we are creative agents who 
can shape our destinies. Apocalyptic civics is the conviction that the only way 
out is through, and the only way through is together. "

Greg Bloom @greggish https://twitter.com/greggish/status/873177525903609857

Reply via email to