mailx sender address picks the OS user account instead of sender address
We’re trying to send email from redhat 7 terminal using with below command,
mailx -s “Test mail” mazar@xxxx.com -r ezylebdb@alerts.xxxx.net
But its sender by OS hostname
Solution :
Send by like below
mailx -r ezylebdb@alerts.xxxx.net -s “Test mail” mazar@xxxx.com
No comments yet