How to force Postfix to send through port 587?
Posted: Mon 6. Sep 2021, 14:03
Hello!
Please help me to set up Postfix. I need it to send mail through port 587.
Port 25 is closed by the VPS provider.
Keyhelp is installed on a clean Ubuntu 20.04.
By default Postfix sends mail on port 25.
Of course, I always get a "connection timeout" error.
There are a lot of manuals on the internet about to set up and open port 465 and 587.
I have used all my knowledge as well as many variants from manuals on the internet.
As a result, no matter what I do, postfix still tries to send the email on port 25.
Perhaps there are some nuances specifically for Keyhelp?
Or maybe someone can post full configs (main.cf, macter.cf and others), who has mail sent through port 587.
Important. I need specifically to send mail through port 587. Using port 587 as relay through provider's smtp server or google for example is not needed.
I would be grateful for help.
Please help me to set up Postfix. I need it to send mail through port 587.
Port 25 is closed by the VPS provider.
Keyhelp is installed on a clean Ubuntu 20.04.
By default Postfix sends mail on port 25.
Of course, I always get a "connection timeout" error.
There are a lot of manuals on the internet about to set up and open port 465 and 587.
I have used all my knowledge as well as many variants from manuals on the internet.
As a result, no matter what I do, postfix still tries to send the email on port 25.
Perhaps there are some nuances specifically for Keyhelp?
Or maybe someone can post full configs (main.cf, macter.cf and others), who has mail sent through port 587.
Important. I need specifically to send mail through port 587. Using port 587 as relay through provider's smtp server or google for example is not needed.
I would be grateful for help.