Forum Discussion
Brad_Parker_139
Nov 06, 2015Nacreous
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_GillNov 08, 2015CirrusThe 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.
- Jason_AdamsMay 03, 2018Employee
FYI: This option can now persist reboots thanks to a new tmsh option:
K27540405: The tmsh command now supports the RewriteDomain and FromLineOverride SSMTP configuration