Forum Discussion
Brad_Parker
Cirrus
These are two different functionalities. In order to have you sendmail command use a different from address you will have to edit the FromLineOverride=YES field in /etc/ssmtp/ssmtp.conf. This is SOL isn't exactly what you are doing, but it is leveraging the same functionality and explains how to edit the conf file.
https://support.f5.com/kb/en-us/solutions/public/13000/100/sol13180.html
David_Gill
Nov 08, 2015Cirrus
The FromLineOverride=YES entry does work however it does not survive a reboot.
Another user posted a very similar question and reference was made to https://support.f5.com/kb/en-us/solutions/public/11000/900/sol11948.html which talks about modifying /config/startup. Would this be the way to go and if so would I call a script just to replace /etc/ssmtp/ssmtp.conf with an updated version?
It seems odd that if we are supposed to use tmsh modify /sys outbound-smtp to set the mailhub that it would not work for other parameters in the file.