[GH-ISSUE #996] should ask to replace aliases after domain edition #844

Closed
opened 2026-02-27 11:13:53 +03:00 by kerem · 5 comments
Owner

Originally created by @Toniob on GitHub (Dec 31, 2016).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/996

Hi,

It is currently possible to edit a domain and change its name. After such a modification, Modoboa should ask the user if he wants to update the aliases pointing to the old name and replace it with the new one.

Thanks

Originally created by @Toniob on GitHub (Dec 31, 2016). Original GitHub issue: https://github.com/modoboa/modoboa/issues/996 Hi, It is currently possible to edit a domain and change its name. After such a modification, Modoboa should ask the user if he wants to update the aliases pointing to the old name and replace it with the new one. Thanks
kerem 2026-02-27 11:13:53 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Dec 31, 2016):

This is also true for regular email addresses... I don't think it is the best option, maybe we could propose to create a domain alias using the old name?

<!-- gh-comment-id:269861086 --> @tonioo commented on GitHub (Dec 31, 2016): This is also true for regular email addresses... I don't think it is the best option, maybe we could propose to create a domain alias using the old name?
Author
Owner

@Toniob commented on GitHub (Jan 1, 2017):

I don't think it's a good idea. What if you make a typo while editing the name ? You're going to keep the mistaken name in the list ? And I know how the sysadmins are (because I am one). In 6 months, we'll forget why there is an alias, delete it and so, brake the email aliases.

<!-- gh-comment-id:269896815 --> @Toniob commented on GitHub (Jan 1, 2017): I don't think it's a good idea. What if you make a typo while editing the name ? You're going to keep the mistaken name in the list ? And I know how the sysadmins are (because I am one). In 6 months, we'll forget why there is an alias, delete it and so, brake the email aliases.
Author
Owner

@tonioo commented on GitHub (Jan 4, 2017):

Actually, it is not possible to rename a domain without renaming associated mailboxes. It could be possible with aliases but I don't like the idea to introduce a non consistent behaviour. I'm also wondering what would be the interest in renaming the domain without renaming aliases and mailboxes too. Can you explain your use case a bit more please?

<!-- gh-comment-id:270455050 --> @tonioo commented on GitHub (Jan 4, 2017): Actually, it is not possible to rename a domain without renaming associated mailboxes. It could be possible with aliases but I don't like the idea to introduce a non consistent behaviour. I'm also wondering what would be the interest in renaming the domain without renaming aliases and mailboxes too. Can you explain your use case a bit more please?
Author
Owner

@Toniob commented on GitHub (Jan 9, 2017):

You can try this :

  • create a domain test.example
  • add an alias test@test.example to one of your identities
  • rename the domain from test.example to test2.example
  • check the aliases of your identity, test@test.example is not renamed

You can't even edit your identity anymore because one alias is wrong.

<!-- gh-comment-id:271310970 --> @Toniob commented on GitHub (Jan 9, 2017): You can try this : - create a domain test.example - add an alias test@test.example to one of your identities - rename the domain from test.example to test2.example - check the aliases of your identity, test@test.example is not renamed You can't even edit your identity anymore because one alias is wrong.
Author
Owner

@tonioo commented on GitHub (Jan 10, 2017):

Ok I understand, it is a bug :p

<!-- gh-comment-id:271513718 --> @tonioo commented on GitHub (Jan 10, 2017): Ok I understand, it is a bug :p
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#844
No description provided.