Koozali.org: home of the SME Server

E-mail (QMAIL/QPSMTPD) at port 587 - not a port 25

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
E-mail (QMAIL/QPSMTPD) at port 587 - not a port 25
« on: March 31, 2022, 01:39:25 PM »
Hi
BTW: I´m using SME 9.x (yes, I'm aware it's obsolete, but I'm 4.000 km away so server upgrade is not an easy task. I'll be onsite on may and do the update).

I know SME9 is not supported, but I think SME10 uses QMAIL same way, so I'm asking here:

    How to change SMTP port from 25 to 587
(and how to configure SME9x and SME10x to SEND AND RECEIVE using port 587 and not 25!)

Here in Brazil (maybe worldwide) the ISP (cable providers at al) are blocking all trafic on port 25.
Today I wake up without e-mail because our ISP decide to block port 25 at night without ANY warning!

Regards

Jáder
« Last Edit: March 31, 2022, 02:17:14 PM by Jáder »
...

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: E-mail (QMAIL/QPSMTPD) at port 587 - not a port 25
« Reply #1 on: March 31, 2022, 04:17:48 PM »
Hi,

sad news


port 25 and port submission 587 are not designed for same purpose. 

also chances are that they also close the 25 port on the way out so you are not able to send neither. 


you will not be able to recieve any mail from another smtp on 587.
This is only designed for submission of emails from an authenticated host that will preferably use starttls before auth to send email. 


on SME we do not have any daemon configured for that as we kept using the SSL legacy port 465 with implicit TLS.

This will not change on SME 9, could still occus on 10 or soon on 11 but nothing planned.

Your solution will rather be to change provider or use their smtp or another external service or rent a cloud box for the smtp service on port 25 and use a vpn with that box. 

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: E-mail (QMAIL/QPSMTPD) at port 587 - not a port 25
« Reply #2 on: March 31, 2022, 05:57:02 PM »
Hi,

sad news


port 25 and port submission 587 are not designed for same purpose. 

also chances are that they also close the 25 port on the way out so you are not able to send neither. 
Quote
Hi Jean-Philippe,

I´m aware of port differences, but here in Brazil there a institucion with power to DITATE what happens, see by yourself by this query on Google : https://www.google.com/search?q=nic.br+porta+25&oq=nic.br+porta+25&aqs=chrome..69i57.5088j0j7&sourceid=chrome&ie=UTF-8


Quote
you will not be able to recieve any mail from another smtp on 587.
This is only designed for submission of emails from an authenticated host that will preferably use starttls before auth to send email. 

on SME we do not have any daemon configured for that as we kept using the SSL legacy port 465 with implicit TLS.
This will not change on SME 9, could still occus on 10 or soon on 11 but nothing planned.
All comunications between MAIL SERVER must happens on port 25 ? There are any RFC with this info ?
I can ask my ISP to allow me to keep on port 25, or if they have a SMTP I can use.
I just opened a ticket about this.

Quote
Your solution will rather be to change provider or use their smtp or another external service or rent a cloud box for the smtp service on port 25 and use a vpn with that box.
That´s not an option. I have just ONE ISP here (delivery fiber but it´s just one!)

I'll keep you updated about this.
I've found several sites about change port of QMAIL from 25 to 587 but I'd like to be sure the big ISP do not accept e-mail on port other than 25 to use this as argument.

Regards,

Jáder
...

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: E-mail (QMAIL/QPSMTPD) at port 587 - not a port 25
« Reply #3 on: March 31, 2022, 07:21:29 PM »
have a good read

message submission

https://datatracker.ietf.org/doc/html/rfc6409

smtp message relay (port25)
https://datatracker.ietf.org/doc/html/rfc5321

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: E-mail (QMAIL/QPSMTPD) at port 587 - not a port 25
« Reply #4 on: April 01, 2022, 01:27:32 AM »
have a good read

message submission

https://datatracker.ietf.org/doc/html/rfc6409

smtp message relay (port25)
https://datatracker.ietf.org/doc/html/rfc5321

Thank you so much.
Ticket opened with ISP... in progress... I'll let all you to know!

Regards,

Jáder
...