I've been fighting with this problem forever now. I have my win2k server setup as a domain controller. I'm running MS Exchange 5.5. I have no problems sending e-mails. I can send inside and outside. I can also receive e-mails from anyone.
The problem arises when I try to use a Perl script to automatically send e-mails from the web. After attempting to send e-mails using my Perl script, I get these errors in my System log:
when sending to a local e-mail user (users in my network), I get the error: "message delivery to the remote domain 'mydomainname.com' failed for the following reason: Unable to deliver the message because the destination address was misconfigured as a mail loop"
when sending to an e-mail address ouside my network, I get the error: "Message delivery to the remote domain 'aol.com' failed for the following reason: The remote server did not respond to a connection attempt"
Under 'Routing' in MS Exchange IMS, I have 'reroute incoming SMTP mail' selected. In the list, e-mail sent to mydomainname.com is routed to <inbound>. (My other domain names that I maintain are in there also). In Routing Restrictions, I have selected to allow routing for 'Hosts and clients connecting to these internal addresses'. In the list I entered all my IP numbers (real IP addresses given to me by my ISP). I had to deselect 'Hosts and clients that successfully authenticate' because my Perl script isn't capable of sending a username/password along with the SMTP request.
What do you think the source of these System Log errors are?? I get no errors at all if I'm using an e-mail program like MS Outlook, Outlook Express, AOL, etc. Only when I'm using my Perl script do I get errors.
Any ideas???
The problem arises when I try to use a Perl script to automatically send e-mails from the web. After attempting to send e-mails using my Perl script, I get these errors in my System log:
when sending to a local e-mail user (users in my network), I get the error: "message delivery to the remote domain 'mydomainname.com' failed for the following reason: Unable to deliver the message because the destination address was misconfigured as a mail loop"
when sending to an e-mail address ouside my network, I get the error: "Message delivery to the remote domain 'aol.com' failed for the following reason: The remote server did not respond to a connection attempt"
Under 'Routing' in MS Exchange IMS, I have 'reroute incoming SMTP mail' selected. In the list, e-mail sent to mydomainname.com is routed to <inbound>. (My other domain names that I maintain are in there also). In Routing Restrictions, I have selected to allow routing for 'Hosts and clients connecting to these internal addresses'. In the list I entered all my IP numbers (real IP addresses given to me by my ISP). I had to deselect 'Hosts and clients that successfully authenticate' because my Perl script isn't capable of sending a username/password along with the SMTP request.
What do you think the source of these System Log errors are?? I get no errors at all if I'm using an e-mail program like MS Outlook, Outlook Express, AOL, etc. Only when I'm using my Perl script do I get errors.
Any ideas???