Debugging Sendmail


Issues with sendmail, tacking on another domain name, etc.

You want to manually test you mail host, from the command line.



Whilst debugging sendmail issues, came across this great test.

You can run this from the command line. See example.



telnet mailrelay.domain 25

.... answer from mail relay .....

helo unix hostname
mail from: root@unix hostname
rcpt to: email test@something out

mail test from unix



[tags]sendmail debugging, debugging sendmail, sendmail, debugging, UNIX Coding School[/tags]


If you have found my website useful, please consider buying me a coffee below 😉

Leave a Reply

Your email address will not be published. Required fields are marked *