2016-05-23 05:53:39 -05:00
|
|
|
# Enable SMTP SASL AUTH on port 25
|
2016-05-08 09:59:50 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
2018-07-04 03:20:44 -05:00
|
|
|
* Disable postscreen service first: [Disable postscreen service](./enable.postscreen.html#disable-postscreen-service).
|
2018-07-04 03:23:24 -05:00
|
|
|
* Enable smtp authentication by uncommenting settings below in Postfix config
|
|
|
|
file `/etc/postfix/main.cf` (Linux/OpenBSD) or
|
|
|
|
`/usr/local/etc/postfix/main.cf` (FreeBSD):
|
2016-05-08 09:59:50 -05:00
|
|
|
|
|
|
|
```
|
2018-07-04 03:23:24 -05:00
|
|
|
smtpd_sasl_auth_enable = yes
|
|
|
|
smtpd_sasl_security_options = noanonymous
|
|
|
|
smtpd_tls_auth_only = yes
|
2016-05-08 09:59:50 -05:00
|
|
|
```
|
|
|
|
|
2018-07-04 03:23:24 -05:00
|
|
|
* Restart or reload Postfix service.
|
|
|
|
|
2016-05-23 05:56:53 -05:00
|
|
|
!!! note
|
|
|
|
|
|
|
|
With `smtpd_tls_auth_only = yes`, it requires clients to enable STARTTLS
|
|
|
|
for secure connection, if you don't want this for some reason, please
|
|
|
|
comment it out.
|