TWSD-1320: APV Using APV Hostname as Sender Address while sending mail alert's to mail server – Mail Delivery Issue ||AS-25548|| IDBI

Review Request #1251 — Created Dec. 22, 2025 and updated

williamkuan
APV10
rel_apv_10_7_4
TWSD-1320
kevin.poh, mingji, weikai

Root Cause:
The ssmtp configuration sciprt is receving the "mail_from" and "mail_hostname" paramaters
but not using them to set the configuration file,
sys_mail.c: to modify the server
ssmtp_config.pl to write correct the actual configuration file
Both the code lack of parameters.

Solution:
Add "from" & "hostname" to the c code, add proper field into.pl file.
it will write the /etc/ssmtp/ssmtp.conf correctly.

After config under array user, switch to root, check /etc/ssmtp/ssmtp.conf: #RewriteDomain & #Hostname both should be uncommented

Loading...