bugweb-cyradm - Bugs: bug #14280, Removing an Account's EmailAddress...

 
 

bug #14280: Removing an Account's EmailAddress will Remove identical EmailAddresses and Aliases

Submitted by:  None
Submitted on:  Wed 24 Aug 2005 06:25:41 PM UTC  
 
Category: sqlSeverity: 3 - Normal
Priority: 5 - NormalItem Group: normal bugs
Status: FixedPrivacy: Public
Assigned to: Lukasz Marciniak <landm>Originator Name: Federico Sevilla III
Originator Email: -unavailable-Open/Closed: Closed
Release: 0.5.4Operating System: None
Reproducibility: Every TimePlanned Release: 0.5.5
Cyrus IMAP version: 2.1.xPHP version: 4.3
Database type: PostgreSQL 7.4

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 30 Jul 2006 08:15:16 PM UTC, comment #3:

Fidex in svn revision 760.

Lukasz Marciniak <landm>
Project MemberIn charge of this item.
Sun 30 Jul 2006 07:33:42 PM UTC, comment #2:

"But I found out when removing an address from an account, it won't get be deleted when the same address is a destination from an alias . I think this should also be fixed."

alias@domain -> address@domain
address@domain -> accountname

Do you think if you delete accountname or address@domain alias@domain should be deleted too?

Lukasz Marciniak <landm>
Project MemberIn charge of this item.
Mon 30 Jan 2006 02:06:49 PM UTC, comment #1:

"Removing an Account's EmailAddress will Remove identical EmailAddresses and Aliases"

Email address should be uniq like phone numbers. Neither a bug, nor a feature. This one will be fixed up with bug #15209.

But I found out when removing an address from an account, it won't get be deleted when the same address is a destination from an alias . I think this should also be fixed.

Any comments?

Michael Muenz <mimu>
Project Member
Wed 24 Aug 2005 06:25:41 PM UTC, original submission:

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 30 Jul 2006 08:15:16 PM UTClandmOpen/ClosedOpen=>Closed
Sun 30 Jul 2006 07:33:42 PM UTClandmStatusDuplicate=>Fixed
  Assigned toNone=>landm
  Planned ReleaseNone=>0.5.5
Mon 30 Jan 2006 02:06:49 PM UTCmimuStatusNone=>Duplicate
Wed 24 Aug 2005 06:25:41 PM UTCNoneCarbon-Copy-=>Added jijo --AT-- free --DOT-- net --DOT-- ph

Back to the top


Powered by Savane 3.1-cleanup1