Forum Discussion
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
- anyone
- JRahm
Admin
Did you follow all the instructions in Solution 3667?
A few quick thoughts:
- Did you place the semicolon at the end of the snmptrapOID for the alert you wanted to customize?
- Did you restart alertd?
- Have you tested the specific trap you customized? (See Solution 11127)
- Paul_Buckle
Nimbostratus
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 - Paul_Buckle_704
Nimbostratus
I have managed to resolve this issue by removing the comment from the following line in the /etc/ssmtp/ssmtp.conf file:
FromLineOverride=YESIt 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
Admin
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? - Paul_Buckle_704
Nimbostratus
Thanks Jason. BugID 465700 raised.
- Paul_Buckle
Nimbostratus
I have managed to resolve this issue by removing the comment from the following line in the /etc/ssmtp/ssmtp.conf file:
FromLineOverride=YESIt 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
Admin
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? - Paul_Buckle
Nimbostratus
Thanks Jason. BugID 465700 raised.
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?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com