Inactive users receiving email

On a big import, I see users who are getting mail rejected with “inactive” user. I’d assumed that they were forwarding mail from xx@y.com and replying from zzz@a.com, but that’s not the case. I can see in the message they reply to the unsubscribe link, and it is for their email address.

When I visit that user’s account, I see that the user is not activated.

I thought that inactive users could not receive mail. Is that wrong?

1 Like

I can’t understand what you have written here. Can you explain with an actual example?

1 Like
  • A user receives an email notification for a topic they are apparently watching.

  • User replies to the email notification.

  • Discourse rejects the email because the user is inactive-- Email::Receiver::InactiveUserError

I assumed that it was a user error, but I’ve seen at least a couple that seem to be cases of a user who is not active receiving mail.

Something must be borked with your database after the import, because that’s not possible in Discourse as far as I know.

If a user is inactive (that is, their email is not known to be working and validated) they can’t be mailed by definition.

1 Like

Check if they’re accidentally replying from the wrong address?

3 Likes

That’s what I think too. Active is a field in the user table, so it doesn’t seem like an easy way for the database to be broken, though I just had an issue with two topics with the same id. Maybe this problem will go away after the recent restore and upgrade.

Yeah. That’s what I had assumed too, but I looked at the included text from their reply and it had an unsubscribe link with their inactive email address. Strange.

Does this user have multiple accounts with multiple emails?

Since you’ve implied the database is really screwed up here (two topics with the same id) plus your other “database is corrupt” topic, I’m going with that :wink:

1 Like

Closing this topic as it keeps getting inappropriate replies.