Koozali.org: home of the SME Server

External Mailserver - (secondary mailserver) - How-to configure SSL access

Offline SchulzStefan

  • *
  • 620
  • +0/-0
We use an external email-server from our domain hoster.

ETRN or multi-drop settings
For ETRN or multi-drop, specify the hostname or IP address of your secondary mail server. (If using the standard e-mail setup, this field can be left blank.)

Secondary mail server: pop3.xxx.de

SMTP server
The server can deliver outgoing messages directly to their destination (recommended in most cases) or can deliver them via your Internet provider's SMTP server (recommended if you have an unreliable Internet connection or are using a residential Internet service). If using your Internet provider's SMTP server, specify its hostname or IP address below. Otherwise leave this field blank.

Address of Internet provider's mail server: smtp.xxx.de

In standard config port 25 and 110 are used. The SSL/TLS ports are 995 and 465.

I stumbled over this:

Internet provider's outgoing port 25 is blocked: How to set an alternative outgoing port for the SMTP server

If your Internet provider is blocking outgoing smtp port 25 on your internet connection but your provider is offering an alternative outgoing port (or when using some relay service) you can simply set this alternative port by adding it to the 'Address of Internet provider's mail server' value in the 'E-mail delivery settings' screen of the server-manager like this:

<internet providers mail server name or ip-address>:<alternative port>

For example: mail.mydomain.com:587

This setting does not alter the incoming smtp mail server port on SME server, which will still use port 25. Refer to a workaround in http://wiki.contribs.org/PortRedirect

Does this mean, a port-redirect from 25-->465 and 110 --> 965 will do it?

Thank's for any reply/hint.
stefan

Edit:
In the meanwhile I found this in an old thread: https://forums.contribs.org/index.php?topic=44971.0

Leaves still the question for the 110 --> 965 port.
« Last Edit: January 27, 2017, 01:20:00 PM by SchulzStefan »
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Quote
In the meanwhile I found this in an old thread: https://forums.contribs.org/index.php?topic=44971.0

Not working for me.
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Thank's for any reply/hint.

You've written a very long post, but it is not clear to me what problem you are trying to solve, or what is not working. From the subject, it has something to do with SSL access.

Let's start with something simple - are you trying to fix the receipt of mail, or the sending of mail?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Not working for me.

Perhaps you could provide more detail on what "not working" actually means. What exactly did you do, and what do you see which is not correct.

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Quote
In the meanwhile I found this in an old thread: https://forums.contribs.org/index.php?topic=44971.0

Not working for me.

This led me to:

config setprop smtp-auth-proxy PeerPort 465
signal-event email-update

After this, no emails are beeing sent anymore. I reverted to

config delprop smtp-auth-proxy PeerPort
signal-event email-update

Emails sending is fine again.

To answer your question:

As I understand default ports for external mailserver are 110 and 25. I'd like to change the default to 995 and 465.
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: External Mailserver - (secondary mailserver) - How-to configure SSL access
« Reply #5 on: February 02, 2017, 05:23:58 PM »
Quote
As I understand default ports for external mailserver are 110 and 25. I'd like to change the default to 995 and 465.

Enable POP3S and SSMTP in server manager :)
« Last Edit: February 02, 2017, 05:25:48 PM by gbentley »
"If you don't know what you want, you end up with a lot you don't."

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: External Mailserver - (secondary mailserver) - How-to configure SSL access
« Reply #6 on: February 03, 2017, 04:29:12 AM »
Emails sending is fine again.

Good. So you don't have a problem, do you? So you don't need to change anything.

If you do have a problem, then please describe what it is.

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: External Mailserver - (secondary mailserver) - How-to configure SSL access
« Reply #7 on: February 03, 2017, 09:20:54 AM »
Maybe I didn't make myself clear.

It's about the ETRN or multi-drop settings. How can the secondary mailserver be forced to use port 995? And how can the SMTP server be configured to use the port 465? In standard configuration the ports 110 and 25 are used. Most ISP offers meanwhile POP3S and SMTPS. I'd like to use the secured ports, that's all.

Please have a look here (in German): https://www.strato.de/faq/article/259/Die-STRATO-E-Mail-Server.html

Enable POP3S and SSMTP in server manager :)

That's not working. IMO this are the settings for the internal mail server.
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)