1

Topic: Server won't let users auth on port 25 via smtp

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? yup
- Related log if you're reporting an issue:
====

Hi,

I want to send Mails via SMTP from another server to my iredmail server.

I'm using SMTP for that, but the iredmail server wont let user auth without a secure connection on port 25.

TLS on port 587 works just fine, but I need port 25 too (even if its unsecure)

#smtpd_tls_auth_only = yes in /etc/postfix/main.cf is already commented.

When trying to send a mail via smtp p[ort 25 I get this error:

smtp-server: 503 5.5.1 Error: authentication not enabled

/var/log/mail.log:

Jan 12 13:54:43 mail postfix/postscreen[36314]: CONNECT from [193.189.247.69]:60130 to [192.168.96.2]:25
Jan 12 13:54:43 mail postfix/postscreen[36314]: WHITELISTED [193.189.247.69]:60130
Jan 12 13:54:44 mail postfix/smtpd[36315]: connect from vm10.baltic.net[193.189.247.69]
Jan 12 13:54:44 mail postfix/smtpd[36315]: lost connection after AUTH from vm10.baltic.net[193.189.247.69]
Jan 12 13:54:44 mail postfix/smtpd[36315]: disconnect from vm10.baltic.net[193.189.247.69] ehlo=1 auth=0/1 commands=1/2

/var/log/dovecot.log doesn't show anything relevant

----

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

2

Re: Server won't let users auth on port 25 via smtp

Solution: uncomment

smtpd_sasl_auth_enable = yes

in /etc/postfix/main.cf

Ticket can be closed smile