Skip to content

Conversation

@yajo
Copy link
Member

@yajo yajo commented Jun 15, 2020

Since Administrator is not going to be used anymore, it is best to archive that partner, just like it is done with that user. If not doing so, accessing the user will display a warning about this.

When a mail.alias record belongs to admin, it will try to send mails in name of a user that most likely has wrong data in it, and is actually garbage. That can produce a problem where aliases create records but don't notify followers, or even worse, that same problem in loop (depending possibly on if you use IMAP4 or POP3 to fetch mails).

@Tecnativa TT24347

@yajo yajo force-pushed the 12.0-mail_alias_fix_admin_owner branch from b018aba to 9a4393c Compare June 15, 2020 11:29
@pedrobaeza pedrobaeza added this to the 12.0 milestone Jun 15, 2020
@pedrobaeza
Copy link
Member

@StefanRijnhart you did this part. Can you please check?

@StefanRijnhart
Copy link
Member

I don't understand why you say that the Administrator is not going to be used anymore. I believe it is, but its privileges will now be based on group membership instead of having a magic ID (that is the prerogative of the inactive root user).

When a mail.alias record belongs to admin, it will try to send mails in name of a user that most likely has wrong data in it, and is actually garbage. That can produce a problem where aliases create records but don't notify followers, or even worse, that same problem in loop (depending possibly on if you use IMAP4 or POP3 to fetch mails).

@Tecnativa TT24347
@yajo yajo force-pushed the 12.0-mail_alias_fix_admin_owner branch from 9a4393c to 93f3717 Compare June 16, 2020 09:07
@yajo
Copy link
Member Author

yajo commented Jun 16, 2020

All solved.

@yajo yajo changed the title [FIX] base,mail: archive admin partner, remove him from mail.alias [FIX] mail: remove admin from mail.alias Jun 16, 2020
Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

@pedrobaeza pedrobaeza merged commit a3572a9 into OCA:12.0 Jun 16, 2020
@pedrobaeza pedrobaeza deleted the 12.0-mail_alias_fix_admin_owner branch June 16, 2020 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants