Score:-1

What could be causing PowerMTA not to forward emails over port 465 SSL...?

bi flag

We have a PowerMTA server that receives incoming e-mail. and forward it to external SMTP server that's not running PowerMTA i tried to do it using port 587 and port 25 both working fine and emails forwarded successfully but with port 465 its not working

anx avatar
fr flag
anx
Relaying to many different SMTP servers does not inspire confidence in reasonable practices.. Do you have a User Manual for the software you are using? What does it say on the topic?
joeqwerty avatar
cv flag
Just because your server is listening on port 465 doesn't mean that the remote server is listening on port 465, which it probably isn't.
Jaromanda X avatar
ru flag
`i tried to connecte with port 465` was this to `external-smtp-server.com`? `using OpenSSL` in what way did you "use" OpenSSL for this
Jaromanda X avatar
ru flag
is [this](https://stackoverflow.com/questions/76388589/what-could-be-causing-powermta-not-to-forward-emails-over-port-465-ssl) you as well, or did both you and that user sign up on the same day and ask the same question with the same config in two different stack exchange sites?
Steffen Ullrich avatar
se flag
*"i tried to connecte with port 465 using OpenSSL and its working fine"* - could you add more detail on what you were doing, specifically: did you try **from** the same host where PowerMTA is running **to** the same target host port 465 as PowerMTA should use? Because ETIMEDOUT suggests that there is some firewall blocking the connection to the target host, in which case openssl should not work either from the same source to the same destination.
Sabrina sage avatar
bi flag
@anx All SMTPs are our SMTPs we preferred to connect with it using Powermta just because they offer too many features that will help as improve your quality of deliverability
Sabrina sage avatar
bi flag
@jaromanda-x conneting with OpenSSL was in same server of Powermta i tried this just to make sure that my server allow outbound connection using port 465 and we connected with same SMTP i used in Powermta (External SMTP)
Sabrina sage avatar
bi flag
@jaromanda-x yes both are me but as i see here serverfault is much better as I got many engagements from many great members in stackoverflow i got no answer
Sabrina sage avatar
bi flag
@steffen-ullrich yes that the exact problem tha openSSL allow me to connecte to same SMTP using same port and from same host where powermta running but with OpenSLL email sent successfully and in Powermta i got error i think there is problem with Powermta Config thats why i hade no success
Score:1
in flag

SMTPS on port 465 for use by MTA's quickly became a legacy protocol and evolutionary dead-end, abandoned already in the 1990's in favour of the STARTTLS mechanism on default SMTP port 25 and appears to simply not be supported by PowerMTA.

For securely sending e-mail PowerMTA appears to only support STARTTLS.

The SMTPS protocol is supported by PowerMTA, but only as the secure submission port for clients and not for the MTA:

<smtp-listener 127.0.0.1:465>
  immediate-tls true
</smtp-listener>
Sabrina sage avatar
bi flag
Oh got you So there is no way to use Port 465 on "smtp-hosts " inside VMTA to route emails to an external SMTP ? or maybe any other method inside Powermta we can use to forward emails to port 465 of an external SMTP
Steffen Ullrich avatar
se flag
This explains the *"ETIMEDOUT while connecting - Connection closed by the remote host port"*: the client is waiting for the SMTP servers plain text welcome message before sending anything, while the server is waiting for the client to start with the TLS handshake before sending anything.
HBruijn avatar
in flag
Indeed. Powermta doesn't recognise port 465 as intended for smtps, won't spontaneously initiate a TLS handshake and AFAIK can't be configured to do so either.
Sabrina sage avatar
bi flag
@HBruijn so in this situation there is nothing to do to fix ??
HBruijn avatar
in flag
Not server side as the sender. Your recipients need to properly support current standards i.e. STARTTLS on port 25 and/or the submission port 587. Unless there is undocumented feature in PowerMTA
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.