Hi, We set up a slurm system with email notification, this is the slurm.conf `MailProg=/usr/sbin/sendmail`
But the email that I get has not status, just an empty message: [image: image.png]
no subject, no info, what are we missing? Thanks~
On 4/6/25 22:56, Oren via slurm-users wrote:
Hi, We set up a slurm system with email notification, this is the slurm.conf `MailProg=/usr/sbin/sendmail`
But the email that I get has not status, just an empty message: image.png
no subject, no info, what are we missing?
The image says that Microsoft thinks the message may be a phishing message.
First you need to setup Sendmail on the Slurm controller host with the correct domain name. Then test that you can send test messages from this host using the mail or mailx commands and receive them correctly.
When your messages come through correctly, then it should also work from the slurmctld service. However, your mail program should NOT be /usr/sbin/sendmail! The slurm.conf manual page explains this nicely:
MailProg Fully qualified pathname to the program used to send email per user request. The default value is "/bin/mail" (or "/usr/bin/mail" if "/bin/mail" does not exist but "/usr/bin/mail" does exist). The program is called with argu‐ ments suitable for the default mail command, however additional information about the job is passed in the form of environment variables.
IHTH, Ole