Project

General

Profile

Actions

tickets #166124

open

"Email has already been taken" for some inactive-heroes@o.o mails

Added by crameleon 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Redmine
Target version:
-
Start date:
2024-09-01
Due date:
% Done:

0%

Estimated time:

Description

Some inactive-heroes@o.o notifications seem to not arrive.

Today 24 were sent:

odin (VPN Gateway):~ # grep -c '^2024-08-31T00:00:00.*admin@opensuse.org.*queued' /var/log/mail
24

But only 23 succeeded:

progressoo (progress.o.o):~ # grep -c '^2024-08-31T00:00.*handler' /var/log/mail
24
progressoo (progress.o.o):~ # grep -c '^2024-08-31T00:00.*handler.*success' /var/log/mail
23

The one failing one seems to be bounced by Redmine.

The Redmine mail handler reports:

2024-08-31T00:00:03.169765+00:00 progressoo postfix/pipe[32569]: 8CF856A8C: to=<redmine-opensuse-admin@localhost.redmine>, orig_to=<redmine+admin@progressoo.infra.opensuse.org>, relay=redmineprivate, delay=0.6, delays=0.01/0.08/0/0.51, dsn=5.7.0, status=bounced (permission denied. Command output: Request was denied by your Redmine server. Possible reasons: email is sent from an invalid email address or is missing some information. Posting to http://localhost:3001/mail_handler ... Response received: 422 )

Which seems to correspond with the following Redmine log entry (unfortunately no ID to match with, but timestamp is close enough):

E, [2024-08-31T00:00:03.123454 #1150] ERROR -- : [d0c07ea4-5052-48cc-939a-4dbbbc9e4015] MailHandler: failed to create User: ["Email has already been taken"]

It is correct that Redmine creates a "pseudo account" for email addresses, but if one already exists, it should be using that. In this case, the account does exist as https://progress.opensuse.org/users/47087. It's not immediately obvious to me why it failed to use this account for one of the emails.


Related issues 1 (0 open1 closed)

Related to openSUSE admin - tickets #166118: [Heroes VPN] Remove Inactive account: ancorgsResolvedcrameleon2024-09-01

Actions
Actions #1

Updated by crameleon 5 months ago

  • Private changed from Yes to No
Actions #2

Updated by crameleon 5 months ago

  • Related to tickets #166118: [Heroes VPN] Remove Inactive account: ancorgs added
Actions

Also available in: Atom PDF