tid25320 add condition to send mail for both omnios and ubuntu systems