[problem]
Issues with sendmail, tacking on another domain name, etc.
You want to manually test you mail host, from the command line.
[/problem]
[solution]
Whilst debugging sendmail issues, came across this great test.
You can run this from the command line. See example.
[/solution]
[example]
telnet mailrelay.domain 25
.... answer from mail relay .....
helo unix hostname
mail from: [email protected] hostname
rcpt to: email [email protected] out
data
mail test from unix
.
[/example]
[reference]
[tags]sendmail debugging, debugging sendmail, sendmail, debugging, UNIX Coding School[/tags]
[/reference]
If you have found my website useful, please consider buying me a coffee below 😉