We've used the slurm MailProg configuration option to pass mail through our own script. This allows us to rewrite domains if necessary or change the from address etc.
----- Gary Skouson -----Original Message----- From: Bjørn-Helge Mevik [mailto:[email protected]] Sent: Thursday, March 02, 2017 3:54 AM To: slurm-dev <[email protected]> Subject: [slurm-dev] Re: Slurm mail domain? Steffen Grunewald <[email protected]> writes: > Now a possible workaround would be to have everyone set > "--mail-user=`whoami`@localhost" > (and teach new users to add this option) but a more general solution would be > to have a config setting or a default "@localhost". A MailDomain config parameter was added in Slurm 17.02. A different option would be to configure your sendmail to accept domain-less mails (and perhaps add a default domain itself). -- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo
