1

Topic: Multiple port on smtp tls

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  v0.9.7 / iRedAdmin    v0.8 (MySQL)
- Linux/BSD distribution name and version: ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MYSQL
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? No
====

How I  can configure postfix to listen 2 ports for smtp using tls... gcloud block ports 25, 465 and 587 so... I need postfix to listen to 587 but also on another port to configure services on gcloud, but whithout lossing 587 port listening ??

thanks

----

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

2

Re: Multiple port on smtp tls

In /etc/postfix/master.cf, copy submission settings and paste in same file, but replace 'submission' by a port number.

999 inet n       -       n       -       -       smtpd
  -o syslog_name=postfix/999
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o content_filter=smtp-amavis:[127.0.0.1]:10026