Forum Discussion

Muhammad_Irfan1's avatar
Dec 10, 2014

Getting alert Emails from root and not from name i configured.

I am getting all the emails from root and not what I configured in fromaddress which I configure in alert.conf. Why?

 

10 Replies

  • Did you follow all the instructions in Solution 3667?

     

    A few quick thoughts:

     

    1. Did you place the semicolon at the end of the snmptrapOID for the alert you wanted to customize?
    2. Did you restart alertd?
    3. Have you tested the specific trap you customized? (See Solution 11127)
  • Further to an upgrade from 10.2.3 to 11.6.0, I am seeing the same change in behavior. In 10.2.3, the configured "fromaddress" in /config/user_alert.conf was used for the sender's name and email address: From: my.big-ip@domain.co.uk [mailto:my.big-ip@domain.co.uk] However, in 11.6.0, it is only used for the sender's email address - the sender's name is now "root". From: root [mailto:my.big-ip@domain.co.uk] I'm happy everything is configured okay but am keen to retain the original behaviour. Any ideas? Paul
  • I have managed to resolve this issue by removing the comment from the following line in the /etc/ssmtp/ssmtp.conf file:

    FromLineOverride=YES

    It takes effect immediately but my concern is that "this is an auto-generated file - do not edit" and that it therefore may not survive a system restart.

    Is there a "proper" way to configure this property?

    Paul

    • JRahm's avatar
      JRahm
      Icon for Admin rankAdmin
      that would be an ideal option to add to the "tmsh /sys outbound-smtp" menu in tmsh. Unfortunately for now, it looks like you will need to modify it in that file. I don't believe it will be rewritten in a system restart, but it will likely in a hotfix/upgrade scenario. If you open a case and submit a request for enhancement, will you post the bugid back here?
  • I have managed to resolve this issue by removing the comment from the following line in the /etc/ssmtp/ssmtp.conf file:

    FromLineOverride=YES

    It takes effect immediately but my concern is that "this is an auto-generated file - do not edit" and that it therefore may not survive a system restart.

    Is there a "proper" way to configure this property?

    Paul

    • JRahm's avatar
      JRahm
      Icon for Admin rankAdmin
      that would be an ideal option to add to the "tmsh /sys outbound-smtp" menu in tmsh. Unfortunately for now, it looks like you will need to modify it in that file. I don't believe it will be rewritten in a system restart, but it will likely in a hotfix/upgrade scenario. If you open a case and submit a request for enhancement, will you post the bugid back here?
  • The problem is that i have already removed the comment sign from

     

    FromLineOverride=YES

     

    I Do get the customized alerts but all from root. Just for the info i have not mentioned OID in my customized alerts. Could this be the reason?