2016-05-08 09:59:50 -05:00
|
|
|
# Enable insecure SMTP service on port 25
|
|
|
|
|
|
|
|
Since iRedMail-0.9.5, SMTP auth on port 25 is disabled by default, all end
|
|
|
|
users are forced to send email through port 587 (SMTP over TLS). If you need
|
2016-05-08 10:03:03 -05:00
|
|
|
to allow insecure SMTP auth on port 25 for some reason, please follow steps
|
|
|
|
below to enable it.
|
|
|
|
|
|
|
|
!!! note
|
|
|
|
|
|
|
|
If you have just few clients need to send email through port 25, e.g.
|
|
|
|
network printer, old network devices which don't support secure
|
|
|
|
connection, you may try another tutorial instead:
|
|
|
|
[Allow internal network devices to send email with insecure connection](./additional.smtp.port.html)
|
2016-05-08 09:59:50 -05:00
|
|
|
|
|
|
|
* Find comment out settings in Postfix config file `/etc/postfix/main.cf`
|
|
|
|
(Linux/OpenBSD) or `/usr/local/etc/postfix/main.cf` (FreeBSD):
|
|
|
|
|
|
|
|
```
|
|
|
|
#
|
|
|
|
# Enable SASL authentication on port 25 and force TLS-encrypted SASL authentication.
|
|
|
|
# WARNING: NOT RECOMMENDED to enable smtp auth on port 25, all end users should
|
|
|
|
# be forced to submit email through port 587 instead.
|
|
|
|
#
|
|
|
|
#smtpd_sasl_auth_enable = yes
|
|
|
|
#smtpd_tls_auth_only = yes
|
|
|
|
#smtpd_sasl_security_options = noanonymous
|
|
|
|
#smtpd_tls_security_level = may
|
|
|
|
```
|
|
|
|
|
|
|
|
* uncomment the last 4 lines:
|
|
|
|
|
|
|
|
```
|
|
|
|
smtpd_sasl_auth_enable = yes
|
|
|
|
smtpd_tls_auth_only = yes
|
|
|
|
smtpd_sasl_security_options = noanonymous
|
|
|
|
smtpd_tls_security_level = may
|
|
|
|
```
|
|
|
|
|
|
|
|
* Restart or reload Postfix service.
|
|
|
|
|
|
|
|
That's all.
|