Results 1 to 7 of 7
  1. #1

    Default Exchange server hell

    I just installed a new sbs 2011 server and it's not accepting any emails from my zencart website. I'm running 1.3.9h, and tried using php for the send method, and smtpauth as well. My exchange server accepts mail on port 587 for smtp with tls encryption. I'm sitting here banging my head against a wall here because I cant seem to figure out what's going on.

    What php file do I look at to view the event logs on zen cart?

  2. #2

    Default Re: Exchange server question

    I enabled logging in the functions_email.php file to level 5, and I'm getting this error:

    SMTP -> ERROR: Failed to connect to server ssl://mail.canemasters.com 587: (0)

    the address isn't ssl://mail.canemasters.com, but mail.canemasters.com

    Is this the problem?

  3. #3

    Default Exchange server hell

    I recently installed a SBS2011 server with exchange 2010. It receives emails from almost everywhere fine. I have a ptr record setup with my isp, but since that really only has to do with sending from the exchange server, I doubt it has anything to do with my problem.

    The problem is, my server isn't getting any emails from my website. I'm using php for the email transport method. I'm not sure this is a problem when sending to an exchange server, but I've tried it using smtpauth, and it fails as well. Says it cant connect to my server every time.

    I can send a message from any email address that I want to the exchange server and it goes through, but for whatever reason, the website can't get through...???

    I've opened up port 25 & 587 for ssl. I've created a new receive connector for port 25. I've added the wan ip of my host where my site is located to the allowed list on the ip allow list under anti spam.

    I'm out of ideas!

    Please help!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Exchange server question

    Quote Originally Posted by canemasters View Post
    SMTP -> ERROR: Failed to connect to server ssl://mail.canemasters.com 587: (0)

    the address isn't ssl://mail.canemasters.com, but mail.canemasters.com

    Is this the problem?
    TLS implies SSL, as does using port 587, which is why ZC is attempting to connect using an ssl:// prefix

    Are you sure your ZC server is configured to allow outbound traffic on port 587? Are you sure your ZC server is able to do NS Lookups for your mailserver address?

    Help on configuring, maintaining, and running your own server can be found on websites like webhostingtalk.com etc
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Exchange server question

    note: threads merged
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Exchange server hell

    Quote Originally Posted by canemasters View Post
    The problem is, my server isn't getting any emails from my website.

    ...

    Says it cant connect to my server every time.
    If it's consistently saying it can't connect, then you need to figure out exactly why it can't connect.
    Is the zc server's address being rejected by the exchange server's firewall?
    Is the zc server's firewall blocking you from outbound access to the exchange server?
    Is the exchange server mail engine configured to only allow incoming email from certain IP addresses?

    You need to manually trigger a connection attempt from your ZC server's console to your email server, and find out what exactly is happening. Traceroutes are good, pings are good, manual smtp connections are good, etc.

    Again, forums dedicated to the topic of server management, administration, and configuration, would be more suitable places to get help with your communications problems.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7

    Default Re: Exchange server hell

    Thank you for the quick reply!

    Problem ended being on my host.
    Our registrar is godaddy. Good, cheap registrar, but not so good hosting. So we use another host.

    Our mx records with godaddy were set up right.

    However, our host was for whatever reason, storing the emails sent from the zencart site, on their own server, regardless of what godaddy's dns said.

    I had them correct the problem, and all is well now.

    Just to let everybody know, I am using php to send my mail out of zencart, and it's working fine with my exchange server. No smtpauth required.

    Thanks again!

 

 

Similar Threads

  1. v155 Warning: The primary exchange rate server (CURRENCY_SERVER_PRIMARY) failed for US
    By oavs in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 14
    Last Post: 18 Sep 2017, 08:24 PM
  2. The primary exchange rate server (oanda) failed
    By MeltDown in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 7 May 2017, 04:27 AM
  3. Switching Server Hell
    By Lost and Confused in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 15 Apr 2010, 01:00 AM
  4. Exchange server question
    By attanasio-edu in forum General Questions
    Replies: 1
    Last Post: 23 Feb 2010, 11:08 PM
  5. usage of Exchange 2003 external mail server??
    By tlyczko in forum General Questions
    Replies: 4
    Last Post: 24 Mar 2009, 03:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg