Steps to replicate the issue (include links if applicable):
- (optional) build & install BETA build of wikimedia commons app on Android phone
- in the app, click on forgot password, it will open web browser at https://commons.m.wikimedia.beta.wmflabs.org/wiki/Special:PasswordReset
- enter username & click Reset password on that webpage
- expect e-mail to arrive
What happens?:
E-mail never arrives to user. The logs at recipient server show this rejection reason:
Aug 9 16:38:45 mx01 postfix/smtpd[11788]: NOQUEUE: reject: RCPT from instance-mx-out03.cloudinfra.wmflabs.org[185.15.56.18]: 450 4.1.8 <wiki@wikimedia.beta.wmflabs.org>: Sender address rejected: Domain not found; from=<wiki@wikimedia.beta.wmflabs.org> to=<REDACTED@voyager.hr> proto=ESMTP helo=<mx-out03.wmcloud.org>
That seems to be due to sanity check (in this example case, reject_unknown_sender_domain feature of Postfix MTA), which reject e-mail when envelope-from domain has neither MX nor A DNS records, which is the case for MAIL FROM: <wiki@wikimedia.beta.wmflabs.org>:
mx01% host -t mx wikimedia.beta.wmflabs.org wikimedia.beta.wmflabs.org has no MX record mx01% host -t a wikimedia.beta.wmflabs.org wikimedia.beta.wmflabs.org has no A record
What should have happened instead?:
Mail should arrive. It would, if beta site had valid e-mail envelope sender addresses.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Other e-mails also never arrived (opening of account etc)., most likely due to same issue, but were not critical for use of the site in my case