<div dir="auto"><p style="font-family:sans-serif;font-size:12.8px">Hi All, </p><p style="font-family:sans-serif;font-size:12.8px"><br></p><p style="font-family:sans-serif;font-size:12.8px">I had a Xymon server need send email with a special sender email address, because of mail server had limitation sender must be company email domain (<a href="mailto:xxxx@abc.com" style="text-decoration-line:none;color:rgb(66,133,244)">xxxx@abc.com</a>) if I need send email to external email such as gmail or SMS service. I had added Xymon <a href="mailto:XXXX@abc.com" style="text-decoration-line:none;color:rgb(66,133,244)">XXXX@abc.com</a> in Sendmail genericstable but not working. Also, I had tried to rename the hostname from <a href="http://xymonserver.localdomain.com/" style="text-decoration-line:none;color:rgb(66,133,244)">xymonserver.localdomain.com</a> to <a href="http://xymonserver.abc.com/" style="text-decoration-line:none;color:rgb(66,133,244)">xymonserver.abc.com</a> it works, but we cannot change the hostname it will make the other problem. <u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">I can't use -r in Alert.cfg, for example : MAIL -r <a href="mailto:alex.@abc.com" style="text-decoration-line:none;color:rgb(66,133,244)">alex.@abc.com</a> <a href="mailto:alexalex@extenalweb.com" style="text-decoration-line:none;color:rgb(66,133,244)">alexalex@extenalweb.com</a> SERVICE=uptime,conn<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">it will not send out and Xymon alert.log shows below error<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">mail: option requires an argument -- r<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">Usage: mail -eiIUdEFntBDNHRVv~ -T FILE -u USER -h hops -r address -s SUBJECT -a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS -S OPTION users<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">so, I tried to change x=xymonserver.cfg but not working, I added -r in Mail="$MAILC -s"<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px"># For the xymond_alert module<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">MAILC="mail"                            # Command used to send an e-mail with no subject<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">MAIL="$MAILC -r -s"                     # Command used to send an e-mail with a subject<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">may I know the setting of xymonserver.cfg to allow MAIL Command to use -r in Xymon alert.cfg?<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">P.S: I can use mail -r to send out email in centos 7.<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">Xymon 4.3.28</p><p style="font-family:sans-serif;font-size:12.8px"><br></p><p style="font-family:sans-serif;font-size:12.8px">thanks all</p><p style="font-family:sans-serif;font-size:12.8px"><br></p><p style="font-family:sans-serif;font-size:12.8px">Alex </p></div>