Folks, I am trying to set up sendmail on my intranet (home) webserver, so that it will send mail via my ISP. I have searched for similar threads including
this thread, but the responses do not seem to have solved the problem. All I want is to call sendmail from Perl, to post myself the responses to a test form I am building, using my normal internet mail address. I do not want to receive or relay mail from any host except the web server itself (127.0.0.1).
I have edited sendmail.mc to define SMART_HOST as my isp's mail server and MASQUERADE_AS to be my local network name (which is not a registered domain - it is just the name I have given my home intranet). I have run make and built a fresh sendmail.cf, then restarted sendmail.
Using my form, I am able to submit the message to sendmail, but after 40 seconds the mail log shows a message
Code:
"(details deteted) Name server: bigpond.com.: host name lookup failure"
.
All suggestions (of the relatively polite variety) are welcomed.