{"action":"closed","issue":{"url":"https://api.github.com/repos/tonioo/modoboa/issues/674","labels_url":"https://api.github.com/repos/tonioo/modoboa/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/tonioo/modoboa/issues/674/comments","events_url":"https://api.github.com/repos/tonioo/modoboa/issues/674/events","html_url":"https://github.com/tonioo/modoboa/issues/674","id":54678406,"number":674,"title":"Possible to create domain with duplicate alias","user":{"login":"MosselNL","id":8009578,"avatar_url":"https://avatars.githubusercontent.com/u/8009578?v=3","gravatar_id":"","url":"https://api.github.com/users/MosselNL","html_url":"https://github.com/MosselNL","followers_url":"https://api.github.com/users/MosselNL/followers","following_url":"https://api.github.com/users/MosselNL/following{/other_user}","gists_url":"https://api.github.com/users/MosselNL/gists{/gist_id}","starred_url":"https://api.github.com/users/MosselNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MosselNL/subscriptions","organizations_url":"https://api.github.com/users/MosselNL/orgs","repos_url":"https://api.github.com/users/MosselNL/repos","events_url":"https://api.github.com/users/MosselNL/events{/privacy}","received_events_url":"https://api.github.com/users/MosselNL/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tonioo/modoboa/labels/Admin%20interface","name":"Admin interface","color":"207de5"},{"url":"https://api.github.com/repos/tonioo/modoboa/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"tonioo","id":531694,"avatar_url":"https://avatars.githubusercontent.com/u/531694?v=3","gravatar_id":"","url":"https://api.github.com/users/tonioo","html_url":"https://github.com/tonioo","followers_url":"https://api.github.com/users/tonioo/followers","following_url":"https://api.github.com/users/tonioo/following{/other_user}","gists_url":"https://api.github.com/users/tonioo/gists{/gist_id}","starred_url":"https://api.github.com/users/tonioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonioo/subscriptions","organizations_url":"https://api.github.com/users/tonioo/orgs","repos_url":"https://api.github.com/users/tonioo/repos","events_url":"https://api.github.com/users/tonioo/events{/privacy}","received_events_url":"https://api.github.com/users/tonioo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/tonioo/modoboa/milestones/34","labels_url":"https://api.github.com/repos/tonioo/modoboa/milestones/34/labels","id":923684,"number":34,"title":"1.2.1","description":null,"creator":{"login":"tonioo","id":531694,"avatar_url":"https://avatars.githubusercontent.com/u/531694?v=3","gravatar_id":"","url":"https://api.github.com/users/tonioo","html_url":"https://github.com/tonioo","followers_url":"https://api.github.com/users/tonioo/followers","following_url":"https://api.github.com/users/tonioo/following{/other_user}","gists_url":"https://api.github.com/users/tonioo/gists{/gist_id}","starred_url":"https://api.github.com/users/tonioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonioo/subscriptions","organizations_url":"https://api.github.com/users/tonioo/orgs","repos_url":"https://api.github.com/users/tonioo/repos","events_url":"https://api.github.com/users/tonioo/events{/privacy}","received_events_url":"https://api.github.com/users/tonioo/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2015-01-06T11:40:36Z","updated_at":"2015-01-26T20:53:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-17T22:47:58Z","updated_at":"2015-01-26T20:53:09Z","closed_at":"2015-01-26T20:53:09Z","body":"When creating a new domain it's possible to add a duplicate alias of that domain, after adding it's not possible to modify the domain anymore.\r\n\r\nIt creates a loop and you cannot receive any mail for that domain, as a workaround it's possible to disable the duplicate alias in the database directly or by removing the complete domain.\r\n\r\nReproduce:\r\nCreate a new domain with the same alias."}}