Bugs item #3047672, was opened at 2010-08-18 13:33
Message generated for change (Tracker Item Submitted) made by xkendy
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3047672&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: Interface (example)
Group: SVN (please specify revision!)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xkendy (xkendy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Function delete alias erase in one moment alias and mailbox
Initial Comment:
In frontend section "Alias control" if I click "DELETE ALIAS" the postfixadmin delete an alias and mailbox in the same time (and user lost all messages).
I think this is wrong and may be fixed. May be with this:
In section alias function delete deletes only alias not mailbox, and mailbox can be deleted only from the mailbox control, not from alias control.
Wrong code is in the file delete.php section elseif ($fTable == "alias" or $fTable == "mailbox") in next else. There is on the same level this:
$result = db_query("SELECT * FROM $table_alias WHERE address = '$fDelete' AND domain = '$fDomain'");
$result = db_query ("SELECT * FROM $table_mailbox WHERE username='$fDelete' AND domain='$fDomain'");
SVN Revision 820
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3047672&group_id=191583
|