Bugs item #2797690, was opened at 2009-05-28 04:27
Message generated for change (Comment added) made by christian_boltz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2797690&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: v 2.3
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Bjorn (bjornnilsen)
Assigned to: Nobody/Anonymous (nobody)
Summary: When domain is deleted any domain aliases are not removed
Initial Comment:
When domain is deleted any related domain aliases are not removed. This occurs for both the domain and the aliased domain. I am not sure if this causes any real world problems but it certainly is not tidy :)
----------------------------------------------------------------------
>Comment By: Christian Boltz (christian_boltz)
Date: 2010-08-02 22:55
Message:
The easy part (deletion of the "from" domain) is fixed in SVN r853 (2.3
branch, will be in the 2.3.2 release). I'll also port it to trunk.
The behaviour when deleting the "to" domain still has to be discussed -
see my previous comment for details.
----------------------------------------------------------------------
Comment By: Christian Boltz (christian_boltz)
Date: 2010-06-26 00:45
Message:
Indeed. I'm just thinking how we correctly solve it...
Let's assume we have @example.com -> @domain.tld
If example.com is deleted, it's easy - just delete the domain alias.
The problem is: what should we do if domain.tld is deleted? Just deleting
the domain alias isn't an option, because it affects/breaks example.com
without notifying the admin/users. (Well, it will most probably break
automatically ;-) even if the domain alias is still in the database...)
IMHO the best solution would be to deny the deletion and display an error
message "This domain is setup as alias domain for domain example.com.
Please delete the domain alias before deleting the target domain."
(Hmmm, basically "normal" aliases have similar problems, and we don't have
a check there. However the difference is that alias domains pointing to
"external" domains can't work due to the queries used in postfix.)
I'm open to suggestions - do you like my idea or do you have a different
proposal?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2797690&group_id=191583
|