Hi! My SMTP provider (Smarthost) doesn’t support 587 port, only 465. So naturally any email I try to send times out. I can use mailcow with port 587 with other smarthosts just fine, but I’m contractually forced to use that one service with no 587 ports. What I do?

iRedmail has SMTPS on by default so I’m thinking just switching but I’m a huge mailcow fan

Cowsayswhat

PS. I’m a noob please don’t throw stones at me

Cowsayswhat

    I’m not sure what’s your situation,.. Anyway try to ask your provider to allow additional ports for you. It’s common practice to earn trust first,.. Also you can set up PHPMailer to use this port, assuming that your SMTP provider is server you are trying to connect, and by enforcing this port provider is using tls instead of ssl,..

    $smtp = new PHPMailer(TRUE);
    $smtp->IsSMTP();
    ...
    $smtp->SMTPSecure = 'tls';
    $smtp->Port = 587;
    ...
    $smtp->Send()

      Have something to say?

      Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

      14 days later

      ETNyx Hi! My server does not block any ports. I’m using Mailcow to rely mail, and my SMTP provider is Spacemail. They ONLY use port 465 for all of their emails, and when I use this port in Mailcow, it doesn’t work.

      But when I use another service’s port 587 it works fine. Thing is though, I can only use Spacemail.

      Use another simple SMTP MTA like opensmtpd, have mailcow to use this as smarthost, and configure the relay host in the MTA as smtps with Port 465.

      No one is typing