How To Configure Sendmail In Linux
Following procedure also applies if you are getting stat=Deferred: connection timed out
1)- First of all try to ping email server you are going to used to send email.
$ ping email.mycompany.com
2)- If its working then fine go ahead to step 3, else ask your network administrator to
provide you DNS addresses (primary and secondary).
2.1- Go to linux GUI System > Administration > Networking > Provide Primary and Secondary DNS > Save
...