# No SSL for SMTP? happening on new server

**URL:** <https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406>\
**Category:** General Discussion\
**Created:** [July 29, 2025, 8:15am UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406 "2025-07-29T08:15:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 8:15am UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/1 "2025-07-29T08:15:39Z")

</div>

> [@No SSL for SMTP?](https://forum.virtualmin.com/t/no-ssl-for-smtp/128116):
>
> I’ve noticed if I put in the Virtualmin suggested configuration for an e-mail client into an iPhone, it seems to get stuck in the “Verifying” stage. If I look at the e-mail configuration page for any given user in Virtualmin, it says “Use SSL for SMTP? No,” which made me wonder if that might be associated with the problem. Perhaps relatedly: I also enabled “e-mail client auto configuration” under E-mail Settings → Mail Client Configuration in Virtualmin, but that doesn’t seem to help with conf…

I have the same issue as this post.  
apparently (?) server is setup with correct SSL/Dovecot/Postfix/Firewall  
and compared all against a working server.

**Operating system** Ubuntu Linux 24.04.2  
**Virtualmin version** 7.30.8.pro-1  
**Kernel and CPU** Linux 6.8.0-64-generic on x86\_64  
**Cyrus SASL Authentication Server** is running  
Dovecot and Postfix running

the connection to Postfix is not being accepted, Dovecot appears fine.

using mxtoolbox/telnet gives this:

> Connecting to 195.154.254.138  
> SendSMTPCommand: Timeout waiting for response after 15 seconds.
> 
> - LookupServer [smtp:195.154.254.138] 15993ms

I’ve a feeling there may be a clue in here:  
master.cf

 ![1000121760](https://cdn.forum.virtualmin.com/uploads/default/original/3X/d/e/de031f7518cb23f13d05f9c4e1e2e9e1f2dc586f.jpeg)

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [July 29, 2025, 11:43am UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/2 "2025-07-29T11:43:04Z")

</div>

Most likely a firewall issue. Are you running the server behind a router?  
Check your mail server log to see if you see any connections server side.  
Virtualmin install scripts installed every to work out of the box, please don’t go around and play with postfix configuration.

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 12:13pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/3 "2025-07-29T12:13:35Z")

</div>

Thanks  
It might be an issue with firewall but think its SSL or SASL issue.

The email configuration shows no SSL enabled for 587 and the logs say SASLauth not enabled.

I’ve not had any issues setting up other servers so i may have selected a wrong parameter when installing. Dovecot works so checking the postfix configuration. Agree a little knowledge is dangerous 😁

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [July 29, 2025, 12:24pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/4 "2025-07-29T12:24:17Z")

</div>

> [@briand](#):
>
> I’ve not had any issues setting up other servers so i may have selected a wrong parameter when installing.

Not sure what you mean there, what parameter options would have during install, in the post install config after the port 10000 login?

You do have mail ticked

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/c/f/cfb17ffff81e073d67a6ec0b486343bd6b6697bb.png)

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 12:55pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/5 "2025-07-29T12:55:42Z")

</div>

I forget what options 🤦‍♂️ just a guess i may have mis typed.  
Yes Mail is ticked.

Its a dedicated server and have setup previously

Wondered if it was Ubuntu issue as its a new version

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 1:06pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/6 "2025-07-29T13:06:33Z")

</div>

I think it has something to do with this setting in SHow Email Client Settings.  
somehow it doesn’t think SSL is enabled for outgoing mail ?

SMTP server hostname [mail.fife.uk](http://mail.fife.uk)  
SMTP server port 587  
Use SSL for SMTP? No  
SMTP password encryption type Plaintext  
SMTP encryption type STARTTLS

my other question is that I don’t know the difference between SSL and SASLauthd, so I’ll read up more. is SASL setup anything to do with the error ?

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [July 29, 2025, 1:28pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/7 "2025-07-29T13:28:45Z")

</div>

> [@briand](#):
>
> using mxtoolbox/telnet gives this:
> 
> > Connecting to 195.154.254.138  
> > SendSMTPCommand: Timeout waiting for response after 15 seconds.
> > 
> > - LookupServer [smtp:195.154.254.138] 15993ms

Thats a port 25 connection (for mail transfer), a client connection is port 587 and need authentication. So it reallly does sound like firewall.  
Maybe check with you provider for port blocking.

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 1:56pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/8 "2025-07-29T13:56:51Z")

</div>

Thanks, I’ll double check again.  
There is a value in firewall table for port 587.

I could disable firewall for a moment to double check I guess

Brian

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [July 29, 2025, 2:22pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/9 "2025-07-29T14:22:54Z")

</div>

> [@stefan1959](#):
>
> Maybe check with you provider for port blocking.

Absolutely (it really sounds like a port 25 blocked by your provider - this is so common these days due to the number of spammers in the wild)

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 2:41pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/10 "2025-07-29T14:41:38Z")

</div>

I have a number of dedicated servers from the provider, so not sure its blocked, will check

I see this in the log

Jul 29 15:37:35 postfix/master[136680]: warning: process /usr/lib/postfix/sbin/smtpd pid 180665 exit status 1  
Jul 29 15:37:35 postfix/master[136680]: warning: process /usr/lib/postfix/sbin/smtpd pid 180664 exit status 1  
Jul 29 15:37:35 postfix/master[136680]: warning: process /usr/lib/postfix/sbin/smtpd pid 180663 exit status 1  
Jul 29 15:37:35 postfix/master[136680]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup – throttling  
Jul 29 15:37:35 postfix/master[136680]: warning: process /usr/lib/postfix/sbin/smtpd pid 180662 exit status 1

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 2:59pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/11 "2025-07-29T14:59:24Z")

</div>

Im still scratching my head with these settings

POP3 shows, SSL

while 587 shows no SSL, is that why it fails the connection? Rather than port blocked?

| POP3 server hostname | [mail.fife.uk](http://mail.fife.uk) |
| --- | --- |
| POP3 server port | 995 |
| Use SSL for POP3? | Yes |
| SMTP server hostname | [mail.fife.uk](http://mail.fife.uk) |
| SMTP server port | 587 |
| Use SSL for SMTP? | No |
| SMTP password encryption type | Plaintext |
| SMTP encryption type | STARTTLS |

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [July 29, 2025, 5:22pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/12 "2025-07-29T17:22:39Z")

</div>

The post you’ve linked is showing a system that is configured correctly and would work fine if the client is configured correctly. STARTTLS is the recommended encryption for the `submission` port.

SMTP is port 25, and is not used by your mail clients, in general.

Dovecot has nothing to do with SMTP. It is not an SMTP server.

> [@briand](#):
>
> Connecting to 195.154.254.138  
> SendSMTPCommand: Timeout waiting for response after 15 seconds.
> 
> - LookupServer [smtp:195.154.254.138] 15993ms

I think this indicates you don’t have have port 25. If you don’t have port 25, you don’t have a mail server. It has nothing to do with SSL, and you cannot force every mail server in the world to use SSL; you can allow STARTTLS and the sending mail server can negotiate an encrypted connection, but you cannot forced SSL if you want to be able to receive mail from everywhere.

If port 25 times out, means your hosting provider blocks port 25, as many do.

That said, I’d recommend you test yourself rather than relying on a website with confusing error messages.

I can see port 25 open on that IP.

```auto
$ nmap 195.154.254.138
Starting Nmap 7.92 ( https://nmap.org ) at 2025-07-29 12:17 CDT
Nmap scan report for ns3.fife.biz (195.154.254.138)
Host is up (0.13s latency).
Not shown: 908 filtered tcp ports (no-response), 10 filtered tcp ports (host-unreach), 67 closed tcp ports (conn-refused)
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp open smtps
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
2222/tcp open EtherNetIP-1
10000/tcp open snet-sensor-mgmt
20000/tcp open dnp

Nmap done: 1 IP address (1 host up) scanned in 5.96 seconds

```

But, when I telnet to port 25, the connection closes.

```auto
$ telnet 195.154.254.138 25
Trying 195.154.254.138...
Connected to 195.154.254.138.
Escape character is '^]'.
Connection closed by foreign host.

```

Which is not what I would expect, unless you’ve already broken it by trying to force the world to use SSL, though that doesn’t appear to be so:

```auto
$ openssl s_client -connect 195.154.254.138:25
Connecting to 195.154.254.138
CONNECTED(00000003)
80A2AE7FC17F0000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:689:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 309 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

```

To be clear, you should _not_ try to enable SSL on the SMTP port if you want to run a general-purpose mail server. I don’t know where anyone got the idea you should. You can allow STARTTLS, but lack of SSL is _not_ the problem you should be trying to solve here.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [July 29, 2025, 5:24pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/13 "2025-07-29T17:24:25Z")

</div>

To be clear: if you think you need to change anything in `master.cf` for basic mail functionality, you’re barking up the wrong tree. Basic mail functionality all works out of the box on a default installation of Virtualmin. There may be things you want to change for additional spam or auth or whatever features, but “my server can’t receive mail” is _not_ a thing you need changes for.

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 5:54pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/14 "2025-07-29T17:54:04Z")

</div>

Joe thank you.  
I thought Port 25 was only used for POP3 (non secure) so not bothered about that port.  
yes understand, Dovecot is for incoming mail not outgoing.  
this is a dedicated server so I have control of Firewall, and port 25 and others should be open.  
Thanks for the nmap command, i forgot about that.

I;ve not tried to hack or change anything apart from through the web interface. (honest ;o) )  
I only mention the master.cf file as someone may spot a setting that is wrong. :o)  
As I mention any server I setup before I’ve not had any issues and I didn’t think I’d tried to change the default settings for mail.

my working server sending and receiving email has this:

> | POP3 server hostname | [mail.fife.co.uk](http://mail.fife.co.uk) |
> | --- | --- |
> | POP3 server port | 995 |
> | SMTP server hostname | [mail.fife.co.uk](http://mail.fife.co.uk) |
> | SMTP server port | 587 |
> | Use SSL for SMTP? | Yes |
> | SMTP password encryption type | Plaintext |
> | SMTP encryption type | STARTTLS |

but the new server is like this:

> | POP3 server hostname | [mail.fife.uk](http://mail.fife.uk) |
> | --- | --- |
> | POP3 server port | 995 |
> | Use SSL for POP3? | Yes |
> | SMTP server hostname | [mail.fife.uk](http://mail.fife.uk) |
> | SMTP server port | 587 |
> | Use SSL for SMTP? | No |
> | SMTP password encryption type | Plaintext |
> | SMTP encryption type | STARTTLS |

and that’s why I was mentioning SSL.  
I’m obviously confused :o)

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [July 29, 2025, 6:09pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/15 "2025-07-29T18:09:51Z")

</div>

> [@briand](#):
>
> I thought Port 25 was only used for POP3 (non secure) so not bothered about that port.

Port 25 is not used for POP3.

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 6:23pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/16 "2025-07-29T18:23:22Z")

</div>

yea sorry, got wrong term, it’s basically an insecure/old smtp for sending

---

<div class="post-metadata">

**Author:** ![Mediasafe](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@Mediasafe](https://forum.virtualmin.com/u/Mediasafe)\
**Post date:** [July 29, 2025, 7:12pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/17 "2025-07-29T19:12:50Z")

</div>

Well that is not reaaly correct either. As I understand it, port 25 is used for the communication between email servers. Without 25 no emails can be sent or received between email servers.

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 29, 2025, 8:39pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/18 "2025-07-29T20:39:59Z")

</div>

have a confession  
an error by me, seems to have been the SMTP Greeting banner, somehow it was set to $hostname instead of $myhostname ESMTP $mail\_name

mxtoolbox shows as good now.  
however, the emails are being placed in the queue but not sending.

so it’s a different problem. apologies for the confusion.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [July 29, 2025, 9:05pm UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/19 "2025-07-29T21:05:56Z")

</div>

> [@briand](#):
>
> however, the emails are being placed in the queue but not sending

That’s probably outgoing port 25 is unavailable. If they’re timing out, it’s definitely that.

You should check to see if you can make an outgoing connection on port 25 from your server.

e.g.

```auto
$ telnet mail.virtualmin.com 25
Trying 45.76.233.251...
Connected to mail.virtualmin.com.
Escape character is '^]'.
220 n1.virtualmin.com ESMTP Postfix

```

If this times out, you don’t have port 25, and you don’t have a mail server. You’ll either need to use a relay service or talk to your hosting provider.

---

<div class="post-metadata">

**Author:** ![briand](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@briand](https://forum.virtualmin.com/u/briand)\
**Post date:** [July 30, 2025, 6:54am UTC](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406/20 "2025-07-30T06:54:20Z")

</div>

Joe  
thanks

telnet ns3.fife.biz 25  
Trying 195.154.254.138…  
Connected to ns3.fife.biz.  
Escape character is ‘^]’.  
220 ns3.fife.biz ESMTP Postfix

it is not timing out

[Next page](https://forum.virtualmin.com/t/no-ssl-for-smtp-happening-on-new-server/134406.md?page=2)
