1

Topic: How to allow TLS on port 25 (recieve emails from other mail servers)

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

is it possible to let the iredmail server recieve emails on port 25 via tls?
without authentication, because the mails come from other mail servers, but I also don't want on open relay, so just accept mails for the mailserver itself.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How to allow TLS on port 25 (recieve emails from other mail servers)

If are you use Webmin to manage your sever, you can change this option on Server -> Postfix -> SMTP Authentication And Encryption.

3

Re: How to allow TLS on port 25 (recieve emails from other mail servers)

Why not use port 587 with TLS? Leave port 25 for incoming emails (from other mail servers), not end users.

4

Re: How to allow TLS on port 25 (recieve emails from other mail servers)

Yes, normal users use Port 587, but incoming mails from other mail servers should be transmitted encrypted on port 25 also, if that is even possible.

5

Re: How to allow TLS on port 25 (recieve emails from other mail servers)

Make sure you have "smtpd_tls_security_level = may" in Postfix /etc/postfix/main.cf, then Postfix will announce STARTTLS support to other mail servers when they connect.