TWSD-1320: APV Using APV Hostname as Sender Address while sending mail alert's to mail server – Mail Delivery Issue ||AS-25548|| IDBI patch#2
Review Request #1282 — Created Jan. 2, 2026 and submitted
| Information | |
|---|---|
| williamkuan | |
| APV10 | |
| rel_apv_10_7 | |
| TWSD-1320 | |
| Reviewers | |
| kevin.poh, mingji, weikai | |
Root Cause:
Although the script gets the proper parameter, the backend "eventlogd" of CLI command "sys mail" "log alert" didn't apply "from"
when user config the mail server, then use the smtp protocol to alert the server
which lead to MAIL FROM <@idbi.co.in>, missing from before @.Solution:
debug from eventlogd, checking the "from" and "hostname" are properly used as send smtp packet
AN(config)#system mail from "arrayalert.0102"
AN(config)#system mail hostname "idbi.co.in.0102" 0
AN(config)#system mail external server "192.168.97.242" 25 0
AN(config)#system mail external onAN(config)#debug enable
AN(config)#debug trace tcp all
AN(config)#interface shutdown port2
// wait at least 1 minute
AN(config)#no interface shutdown port2
AN(config)#debug disablecheck the tarball file of debug packet capture under root
/var/crash/sys_debug...
