The command 'dpkg-reconfigure --priority=low ssmtp' does not set the 'rewriteDomain' option in /etc/ssmtp/ssmtp.conf.
When installed, this option is commented out in the /etc/ssmtp/ssmtp.conf file.
This file is created by the 'postinst' script, and the '#' is inserted, depending on whether '/etc/mailname' has been set ot not.
.. but.. the debconf 'config' script requires that the 'rewriteDomain' line be uncommented in order for the value to be set.
The command 'dpkg-reconfigure --priority=low ssmtp' does not set the 'rewriteDomain' option in /etc/ssmtp/ ssmtp.conf.
When installed, this option is commented out in the /etc/ssmtp/ ssmtp.conf file.
This file is created by the 'postinst' script, and the '#' is inserted, depending on whether '/etc/mailname' has been set ot not.
.. but.. the debconf 'config' script requires that the 'rewriteDomain' line be uncommented in order for the value to be set.