smtp auth enabled but not work

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
romantix74
Posts: 21
Joined: Mon Oct 01, 2018 9:43 am

smtp auth enabled but not work

Post by romantix74 »

Hi
I have enabled smtp auth, but it not work . Now I can send email to internal users without authentication.

zmprov gs `zmhostname` zimbraMtaSaslAuthEnable
zimbraMtaSaslAuthEnable: yes

postconf | grep smtpd_sasl_auth_enable
smtpd_sasl_auth_enable = yes

There is test with telnet to localhost 25
ehlo MYHOST
250-mta.......biz
250-PIPELINING
250-SIZE 61440000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

As I understood there is should be string like "AUTH LOGIN PLAIN XOAUTH2"

what am I doing wrong?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: smtp auth enabled but not work

Post by DualBoot »

Hello,

the answer is NO. On port 25 by default every mail is accepted without login.
Authentication is not mandatory.

Regards,
romantix74
Posts: 21
Joined: Mon Oct 01, 2018 9:43 am

Re: smtp auth enabled but not work

Post by romantix74 »

DualBoot wrote:Hello,

the answer is NO. On port 25 by default every mail is accepted without login.
Authentication is not mandatory.

Regards,
Thanks , but I want use authentication like google and other mail providers. There is output from script after i attempted to send throw smtp.gmail.com:
smtplib.SMTPSenderRefused: (530, b'5.7.0 Authentication Required. Learn more at\n5.7.0 https://support.google.com/mail/
?p=WantAuthError l7sm2258776lfk.65 - gsmtp', 'MYADDRESS')

Now , everyone can send mail to internal users on behalf of admin account.
romantix74
Posts: 21
Joined: Mon Oct 01, 2018 9:43 am

Re: smtp auth enabled but not work

Post by romantix74 »

I found solution. Now nobody can send mails without authentication.
https://wiki.zimbra.com/wiki/Enforcing_ ... ername_8.5
Post Reply