Password reset emails not being sent

Hello,

I installed DocSpace community edition using the provided script, and it works. However, password reset emails are not being sent, nor are invitations to new users. Curiously, however, account verification emails are being sent, as well as the SMTP test email, that also got delivered alright.

When trying to set a new password, the following appears in the logs:

==> access.log <==
192.168.235.1 - - [03/Dec/2024:09:02:38 +0000] "POST /api/2.0/people/password HTTP/1.1" 200 254 "http://docker.example.net/profile/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0" "-"
172.23.0.15 - - [03/Dec/2024:09:02:38 +0000] "POST /api/2.0/people/password HTTP/1.0" 200 243 "http://docker.example.net/profile/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0" "192.168.235.1"

==> access-proxy.log <==
192.168.235.1 - - [03/Dec/2024:09:02:38 +0000] "POST /api/2.0/people/password HTTP/1.1" 200 254 "http://docker.example.net/profile/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"

and on the mailserver (port 25, no auth, the IP is whitelisted as permitted
client), I see the following:

Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: connect from docker.example.net[192.168.231.250]
[…]
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: match_hostaddr: smtpd_client_event_limit_exceptions: 192.168.231.250 ~? 192.168.231.0/24
[…]
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 220 dovecot.example.org ESMTP Running Postfix on Debian/GNU, of course
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: < docker.example.net[192.168.231.250]: EHLO 99f2c434e371
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-dovecot.example.org
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-PIPELINING
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-SIZE 52428800
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-ETRN
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-STARTTLS
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-ENHANCEDSTATUSCODES
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-8BITMIME
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-DSN
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250-SMTPUTF8
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 250 CHUNKING
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: smtp_stream_setup: maxtime=300 enable_deadline=0 min_data_rate=0
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: watchdog_pat: 0x573da55d5360
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: vstream_fflush_some: fd 11 flush 162
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: vstream_buf_get_ready: fd 11 got 6
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: < docker.example.net[192.168.231.250]: QUIT
Dec 03 10:03:54 dovecot postfix/smtpd[1456032]: > docker.example.net[192.168.231.250]: 221 2.0.0 Bye

This includes debugging output between the EHLO response, and the client
(OnlyOffice) just sending QUIT.

I verified that the test SMTP email arrives, and I was able to verify the
admin/owner email address. test emails still work, but new user invitations
and password resets yield the above premature end of the SMTP dialog.

Any idea what could be going on?

Thanks,
Martin

Update: The SMTP session works and emails are sent if I switch from port 25 to 587+SSL and provide authentication information, i.e. use submission instead of plain SMTP.

Hello @madduck

Some providers block outbound requests from port 25 by default, which might’ve caused the issue.
Anyway I am glad to know that you’ve found the solution.