<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><style><!--

@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></div><div>Hello!</div><div><br data-mce-bogus="1"></div><div>a simple way is to set MailProg in slurm.conf like</div><div><br data-mce-bogus="1"></div><div>MailProg = /usr/local/bin/myscript.sh<br data-mce-bogus="1"></div><div><br></div><div>and write a simple script</div><div><br data-mce-bogus="1"></div><div><div>#! /bin/bash</div><div>/bin/mail -r "SLURM Daemon <foo@mysite.org>" "$@" </div><div><br data-mce-bogus="1"></div><div>best regards</div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Von: </b>"Andre Torres" <andre.torres@ibmc.up.pt><br><b>An: </b>slurm-users@lists.schedmd.com<br><b>Gesendet: </b>Donnerstag, 24. Januar 2019 17:10:04<br><b>Betreff: </b>[slurm-users] Email parameters<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt">Hi all,</span></p><p class="MsoNormal"><span style="font-size:11.0pt"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt">Does anyone know how can I change the “from address”  for the job emails ? </span></p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks in advance,</p><p class="MsoNormal">Andre</p></div><br></blockquote></div></div></body></html>