Sugar CRM on ISPConfig 3 email issue

Discussion in 'Installation/Configuration' started by flatorb, Apr 8, 2012.

  1. flatorb

    flatorb New Member

    I have setup ISP Config 3 on a debian server. I have a few websites running on this and i just installed Sugar CRM in a sub-directory of one of the sites. Everything seems to be working except the email feature of it.
    I did read around quite a bit and i know the SMTP settings are correct. When took a look into the sugarcrm log file it says:
    ---
    Sat Apr 7 18:36:36 2012 [11083][1][FATAL] SMTP -> ERROR: Failed to connect to server. Code: 0 Reply: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
    Sat Apr 7 18:36:36 2012 [11083][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: Could not connect to SMTP host.
    Sat Apr 7 18:36:36 2012 [11083][1][FATAL] SugarPHPMailer encountered an error: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in Settings >> Mail Account.
    ---
    i looked up the error and foundout it is having connecting to the smtp server and may be the ports are blocked. was wondering whether anyone would know how to fix this error.

    Thanks all in advance
     
  2. falko

    falko Super Moderator ISPConfig Developer

    It's a problem with name resolution. Does your mail server hostname exist in DNS?
     
  3. flatorb

    flatorb New Member

    Thanks fort he reply falko.

    I want to say no. (but im not 100% sure either). How can i check it? Also, if it isn't there how can i add it?

    I'm not sure whether this makes a difference: but the DNS for the domain is controlled by godaddy and the mail is hosted on google apps.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Like this:

    Code:
    dig [I]hostname[/I]

    You can add it in GoDaddy's web interface.
     
  5. flatorb

    flatorb New Member

    When i ran the "dig hostname" command it gave me the following:
    ; <<>> DiG 9.7.3 <<>> hostname
    ;; global options: +cmd
    ;; connection timed out; no servers could be reached

    I have added the MX records in the godaddy control panel. And usually i am able to specify the smtp server from thirdparty applications and send mail out. Just on this ISPConfig server i am having trouble, eventhough the smtp values are set correctly.

    Again, thanks for taking a look in to this.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Did you replace hostname with your real hostname?

    You can also check your zone at www.intodns.com
     

Share This Page