DeskNow Knowledge Base
 
      
Home Mail Delivery errors I cannot send to myself, as it would cause an infinite loop!

I cannot send to myself, as it would cause an infinite loop!

The full error message would be something like this:

"The hostname mail.domain.com resolves to 11.22.33.44, which is the local address. The ougoing port is the one I use to listen for SMTP connections (25). I cannot send to myself, as it would cause an infinite loop!"

To understand this error, consider what steps DeskNow (or any mail server) must take to deliver a message to user@domain.com.

1. decide if user@domain.com is a local account. To do this, DeskNow checks the names of the virtual domains that it hosts (see Administration/Virtual domains).

If domain.com is not listed, it then checks for a global mail alias (Administration/Global mail aliases) that maps user@domain.com (or *@domain.com) to a local account.

If domain.com is a local domain, but user is not a valid account in that domain, and the setting "Administration/Mail/SMTP Outgoing/Routing/Use remote delivery or forwarding for accounts in local domains that do not exist on this server" is enabled, then DeskNow cosiders user@domain.com to be an external account.

2. If the account is external, DeskNow looks up in the DNS system what is the MX record for domain.com . This will return, ultimately, an IP address. This can be overruled by SMTP forwarding or SMTP Fixed routes (in Administration/Mail/SMTP Outgoing/Routing). Either way, DeskNow will arrive to an IP address to deliver the message to.

3. The error message of the title means that DeskNow finds out that the IP addres it must send to, points back to itself.

4. DeskNow refuses to proceed, because this would create a loop (DeskNow sends an email to itself, then tries to send it out again, and it arrives back to itself, etc.)

Solution

1. If you think the email should be delivered locally, check your mail settings (virtual domains, accounts, aliases, mailing lists, etc) to understand why DeskNow thinks that the account user@domain.com is not local, and act to solve the problem (ex. create the virtual domain, the account, etc).

2. If you have enabled the "Use remote delivery or forwarding for accounts in local domains that do not exist on this server" option, make sure that the DNS record of domain.com does not point to DeskNow, or that you have set a SMTP Fixed route for domain.com, pointing at a different server.

 

Email Article Email
Print Article Print


How helpful was this article to you?
Related Articles
article Can I prevent some users to send mails outside? And let them only send mails internally? How?
This is possible, by using the User classes....

  May 17, 2006    Views: 18576   
article I cannot send mail using Outlook/Eudora/etc: 551 Relay denied
If you're getting the '551 Relay denied'...

  May 31, 2004    Views: 83133   
article How do I send an email to all users?
As administrator, simply login and go to...

(No rating)  August 1, 2006    Views: 16301   



Powered by Lore :: (c)2003 Pineapple Technologies.