URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14280>

                 Summary: Removing an Account's EmailAddress will Remove
identical EmailAddresses and Aliases
                 Project: web-cyradm
            Submitted by: None
            Submitted on: Wed 08/24/05 at 18:25
                Category: sql
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: normal bugs
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Federico Sevilla III
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
                 Release: 0.5.4
        Platform Version: None
         Reproducibility: Every Time
         Planned Release: None
      Cyrus IMAP version: 2.1.x
             PHP version: 4.3
           Database type: PostgreSQL 7.4

    _______________________________________________________

Details:

Removing an account's email address will remove all identical email addresses
and aliases. This bug is introduced by the change proposed in bug#14279,
which, by virtue of allowing an alias to have more than one destination, also
allows multiple email accounts to have identical (possibly supplementary)
email addresses.

To fix this, line 59 of deleteemail.php needs to be changed to:

$query = "delete from virtual where alias='$alias' and
username='$username'";

This allows email addresses to be used identically in aliases and multiple
email accounts, and cleaned up individually without affecting the others.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
jijo --AT-- free --DOT-- net --DOT-- ph | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14280>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to