• Resolved jwalhous

    (@jwalhous)


    Hi,
    I can’t send any emails from word press.
    I’ve tried using your plugin and it doesn’t work for me either.
    Setup is as follows
    My wordpress is running on my own centos 7 server and I have another windows server on the same network which is running exchange 2013.
    I have setup a relay connector in exchange that should allow relay from my centos server using port 25 with no authentication.
    connectivity test gives the following result

    Summary:

    ❌ No outbound route between this site and the Internet on Port 465.
    ❌ No outbound route between this site and the Internet on Port 587.
    ❌ No outbound route between this site and the Internet on Port 25.
    ✅ 🔒 Port 443 can be used to send Gmail with the Gmail API.

    I have opened port 25 in Centos Firewall and also tried turning it off but get the same result.

    please see Diagnostic Test below.

    you assistance is very much appreciated.

    Regards
    Jamie

    OS: Linux walserver 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64
    HTTP User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
    Platform: PHP Linux 5.4.16 / WordPress 4.3.1 en_US
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No
    WordPress Theme: Heat
    WordPress Plugins: AddThis Sharing Buttons, Contact Form 7, Debug, Postman SMTP, Wordfence Security
    Postman Version: 1.6.23
    Postman Sender Domain (Envelope|Message): gmail.com|gmail.com
    Postman Prevent Message Sender Override (Email|Name): No|No
    Postman Transport URI: smtp:none:none://mail.walhouse.net.au:25
    Postman Transport Status (Configured|Ready|Connected): Yes|Yes|No
    Postman Deliveries (Success|Fail): 0|1
    Postman Bind (Success|Fail|Path): Yes|No|/var/www/ballarat.photography/wp-content/plugins/postman-smtp/Postman/PostmanWpMailBinder.php
    Postman TCP Timeout (Connection|Read): 10|60
    Postman Email Log (Enabled|Limit|Transcript Size): Yes|10|128
    Postman Run Mode: production
    Postman PHP LogLevel: 40000
    Postman Stealth Mode: No
    Postman File Locking (Enabled|Temp Dir): Yes|/tmp

    https://ww.wp.xz.cn/plugins/postman-smtp/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    Hi Jamie!

    Postman Transport URI: smtp:none:none://mail.walhouse.net.au:25

    You’ve set Postman to use mail.walhouse.net.au:25

    ❌ No outbound route between this site and the Internet on Port 25.
    Postman Transport Status (Configured|Ready|Connected): Yes|Yes|No

    But Postman says it can not make a connection to that socket.

    I have setup a relay connector in exchange that should allow relay from my centos server using port 25 with no authentication.

    Is this relay connector on the same host as your website? That should work. But if this relay connector is at mail.walhouse.net.au on port 25… doesn’t like like it’s running or your firewall is still up.

    ✅ 🔒 Port 443 can be used to send Gmail with the Gmail API.

    What you do have access to is Gmail.

    Thread Starter jwalhous

    (@jwalhous)

    Hi Jason,
    It’s a different host wordpress is on ballarat.photography exchange is on mail.walhouse.net.au
    I can relay an email from another server on the same network through the exchange connector so I’m pretty confident that the issue is not with the connector.
    I would prefer not to use gmail as I would like to use my domain not gmail.

    Regards
    Jamie

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    It’s a different host wordpress is on ballarat.photography exchange is on mail.walhouse.net.au

    Then you have a firewall problem.

    The Port Test works in two parts. First it tries to open a connection to portquiz.net. If it can not it declares “outbound to internet is closed”. Then it tries to open a connection to the hostname you entered. If it still can not then it declares “service available = no”. Since in your case both tests are failing I would say it’s a firewall.You may need your host or your ISP’s help.

    The Gmail connection test succeeded, so we know you have at least one port open!

    Thread Starter jwalhous

    (@jwalhous)

    Hi Jason,
    Thanks for your reply, I’m hosting the word press site myself and the centos server and the exchange server are on the same network and same subnet and are at the same location.
    if I turn firewall off in Centos it makes no difference.
    if I use the the IP for the exchange server it also makes no difference so I don’t think its a DNS issue.
    I can telnet ok from the centos server to the exchange so relaying is working.
    just seems to be an issue from wordpress.

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Since this is not a WordPress issue, I really can’t help you any further. I’ll give you one last piece of advice, try accessing the mail server form your host’s command line:

    Jasons-Mac-Pro:plugins jasonhendriks$ telnet localhost 25
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused

    Keep trying different settings until you get a Connection.

    Thread Starter jwalhous

    (@jwalhous)

    Hi Jason,
    Thank you kindly for your help, I managed to get it working.
    It appeared to be an issue with Postfix

    setsebool -P httpd_can_sendmail=1

    fixed the issue

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Can't Send Email from wordpress’ is closed to new replies.