Opened 8 weeks ago

Last modified 6 weeks ago

#19114 assigned bug

review.haiku-os.org cannot register new users due incorrect e-mail setup

Reported by: dovsienko Owned by: kallisti5
Priority: normal Milestone: Unscheduled
Component: Sys-Admin Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When a new user tries to create an account in Gerrit and chooses to use e-mail instead of GitHub, the system attempts to verify the account by sending a code to the user. However, the verification message comes from no-reply@sso.haiku-os.org and when the recipient's mail server tries to verify the sender before accepting the message, it turns out the sender address does not exist, thus the receiving mail server rejects the attempt early. The sender's server keeps retrying every few minutes, but to no effect of course.

Let me suggest to configure the involved e-mail server(s) such that no-reply@sso.haiku-os.org is a valid recipient. This does not mean anyone has to read any messages sent to that address, so it can be configured to delete all messages just after receiving them.

Another thing that seems to be the reason why the sender address does not verify is that the host responsible for sso.haiku-os.org inbound e-mail runs an HTTP server on the SMTP port:

$ dig +noall +answer sso.haiku-os.org mx
sso.haiku-os.org.	751	IN	CNAME	ingress.ams3.haiku-os.org.

$ telnet ingress.ams3.haiku-os.org. 25
Trying 206.189.242.242...
Connected to ingress.ams3.haiku-os.org..
Escape character is '^]'.
MAIL FROM: user@example.com
HTTP/1.1 400 Bad Request
Content-Type: text/plain; charset=utf-8
Connection: close

400 Bad RequestConnection closed by foreign host.

Please review.

Change History (4)

comment:1 by waddlesplash, 8 weeks ago

Owner: changed from haiku-web to kallisti5
Status: newassigned

comment:2 by dovsienko, 8 weeks ago

The same exact problem stands for Gerrit e-mails coming from review@review.haiku-os.org.

comment:3 by dovsienko, 8 weeks ago

More diagnostics: trying to send e-mail to these two addresses stalls at the penultimate mail hop.

451 4.4.1 reply: read error from sso.haiku-os.org.
<no-reply@sso.haiku-os.org>... Deferred: Connection timed out with sso.haiku-os.org.
Warning: message still undelivered after 4 hours
Will keep trying until message is 2 weeks, 1 day old

451 4.4.1 reply: read error from review.haiku-os.org.
<review@review.haiku-os.org>... Deferred: Connection timed out with review.haiku-os.org.
Warning: message still undelivered after 4 hours
Will keep trying until message is 2 weeks, 1 day old

So this e-mail is not going through the haiku.org MX, whether intended or not.

comment:4 by dovsienko, 6 weeks ago

As advised, my test messages have bounced back today.

Note: See TracTickets for help on using tickets.