I'm using php mail on an EC2-hosted server, and am getting mail rejected from some recipients because the From: hostname used in the MAIL command is the internal EC2 name and not the public one:
>>> MAIL From: SIZE=1164
... Domain of sender address root@ip-10-203-20-30.ec2.internal does not exist
501 5.6.0 Data format error
I don't want to change the system's hostname since I'm not sure what else that might effect, so I'd rather have a fix that's local to osTicket.
I've looked around quite a bit but can't figure out where this is set, can someone point me to how I can change it?
Also, is there a way I can get verbose debug output from the SMTP exchange so I can see the effect of changes, similar to running sendmail with the -v flag?
Thanks for any help!