Forum Discussion
Brad_Parker_139
Nacreous
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
Jason_Adams
May 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