Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #3880
Something went wrong while setting issue due date.
Closed
Open
Issue created 9 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

mailbox deletion through sieve and cyrus does not work

Closed

mailbox deletion through sieve and cyrus does not work

Hello,

i have a cyrus server correctly configured that can create mailbox, that works well but the deletion doesnt work

i tried like this :

  • create a new user
  • add a mail account
  • delete the user

the deletion from ldap works well, user is no longer here

the mailbox stays in the cyrus server

Cheers

(from redmine: issue id 3880, created on 2015-06-17, closed on 2016-01-06)

  • Changesets:
    • Revision 766563e2 by Côme Chilliet on 2015-11-03T05:29:15.000Z:
Fixes #3880 Mailbox deletion was not called anymore
  • Revision 9d61c48b by Côme Chilliet on 2015-11-03T05:30:41.000Z:
Fixes #3880 Mailbox deletion was not called anymore
  • Custom Fields:
    • Bug in version: 1.0.8.7

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • bmortier
      bmortier @bmortier · 9 years ago
      Author Maintainer

      hello,

      seems to be related to cyrus 2.4 acl handling and not FusionDirectory related, more test need to be done

      Cheers

      (from redmine: written on 2015-06-30)

    • cs
      cs @cs · 9 years ago
      Reporter

      doesn't seem to work with cyrus 2.2 either

      (from redmine: written on 2015-08-12)

    • bmortier
      bmortier @bmortier · 9 years ago
      Author Maintainer

      hello,

      more info given to me in a mailexchange

      am running cyrus 2.4.16. Yes, by default the cyrus admin user cannot delete a mailbox, but it can grant itself permission to delete a mailbox, and then delete it. I have done this on my system at least. The deleteMailbox code for the cyrus plugin actually does this:

      /* grant all permission to cyrus admin user / @imap_setacl ($this->imap_handle, $this->account_id, $cfg["admin"], "lrswipcda"); ... / then delete the mailbox */ imap_deletemailbox($this->imap_handle, cfg["connect"].cfg["connect"].cfg["connect"].this->account_id)

      (from redmine: written on 2015-11-01)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 9 years ago
      Reporter

      Indeed the mailbox deletion method was not called… This bug is really old, ever since the mail tab uses simplePlugin…

      I pushed a fix, but there is a problem: the mailbox deletion will get called even if the LDAP deletion of the tab fails. That seems problematic. The best way to fix this is to set post_remove method to get called only if ldap_remove method returns no errors. This means that postremove hooks won’t get called if the ldap remove fails. This seems like a good idea to me but I wanted to get your opinion first as it is a behavior change (and 1.0.9.2 is supposed to be a minor version).

      (from redmine: written on 2015-11-03)

    • bmortier
      bmortier @bmortier · 9 years ago
      Author Maintainer

      hello,

      i 'am for changing the postremove hook behaviour i asked on irc an mailing list user and devs

      Cheers

      (from redmine: written on 2015-11-03)

    • Jonathan Swaelens
      Jonathan Swaelens @jswaelens · 9 years ago
      Developer

      Close issue

      (from redmine: written on 2016-01-06)

    • Jonathan Swaelens closed 7 years ago

      closed

    • bmortier added Fixed label 6 years ago

      added Fixed label

    Please register or sign in to reply
    Assignee
    Côme Chilliet's avatar
    Côme Chilliet
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets