[PR #179] [MERGED] Mailbox auto aliases #294

Closed
opened 2026-02-26 10:30:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/opensolutions/ViMbAdmin/pull/179
Author: @mfechner
Created: 4/12/2016
Status: Merged
Merged: 5/16/2020
Merged by: @barryo

Base: masterHead: mailbox_auto_aliases


📝 Commits (9)

  • 97da5f7 Added plugin to automatially create aliases (if they are not existing) after a mailbox is created.
  • 7a2f730 Added a hook to the plugin MailboxAutomaticAliases to prevent the deletion of an aliases that is marked as required.
  • e42c29a Added method to check if it is allowed to deactivate an alias.
  • 868355d Added hook that also creates aliases if an aliases is created. That makes sures that aliases are created if the complete domain is forwarded to another address.
  • 518e2a7 Moved the logic to break a preToggle hook into the plugin to display an error message to the user.
  • d2a99e3 Added link to RFC2142 to explain why these aliases are required.
  • 2a3c429 Added the possibility to add fixed target emails for aliases that are enforced by the admin.
  • 0437ab6 Added a check if a mailbox is removed that this mailbox is not used as automatic aliases destination for other mailboxes (defined by config key defaultMapping).
  • 6e910f9 TODOs

📊 Changes

2 files changed (+208 additions, -0 deletions)

View changed files

📝 application/configs/application.ini.dist (+15 -0)
application/plugins/MailboxAutomaticAliases.php (+193 -0)

📄 Description

A plugin that will create required aliases if a mailbox for a domain is created.
Plugin is by default disabled and has to be enabled in application.ini.
Also define default aliases that should be created, see application.ini.dist for an example.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/opensolutions/ViMbAdmin/pull/179 **Author:** [@mfechner](https://github.com/mfechner) **Created:** 4/12/2016 **Status:** ✅ Merged **Merged:** 5/16/2020 **Merged by:** [@barryo](https://github.com/barryo) **Base:** `master` ← **Head:** `mailbox_auto_aliases` --- ### 📝 Commits (9) - [`97da5f7`](https://github.com/opensolutions/ViMbAdmin/commit/97da5f7ed736fc189242fb354e16f6648c81d9ea) Added plugin to automatially create aliases (if they are not existing) after a mailbox is created. - [`7a2f730`](https://github.com/opensolutions/ViMbAdmin/commit/7a2f730bb0e75b0970216611e90cf2f34ecd7349) Added a hook to the plugin MailboxAutomaticAliases to prevent the deletion of an aliases that is marked as required. - [`e42c29a`](https://github.com/opensolutions/ViMbAdmin/commit/e42c29a45b6782e620165276a64cd621f7e74e24) Added method to check if it is allowed to deactivate an alias. - [`868355d`](https://github.com/opensolutions/ViMbAdmin/commit/868355d76c1551d6c3b9bdf6d3cba3f8e85dd921) Added hook that also creates aliases if an aliases is created. That makes sures that aliases are created if the complete domain is forwarded to another address. - [`518e2a7`](https://github.com/opensolutions/ViMbAdmin/commit/518e2a7215ce0b3e9e41722aef7f8a5ca6910ec1) Moved the logic to break a preToggle hook into the plugin to display an error message to the user. - [`d2a99e3`](https://github.com/opensolutions/ViMbAdmin/commit/d2a99e3c83446831973ce6b7541adda01b16535b) Added link to RFC2142 to explain why these aliases are required. - [`2a3c429`](https://github.com/opensolutions/ViMbAdmin/commit/2a3c429091bad02bf629116267eb995f2710174c) Added the possibility to add fixed target emails for aliases that are enforced by the admin. - [`0437ab6`](https://github.com/opensolutions/ViMbAdmin/commit/0437ab6cb22f367eda1843fa8a706a13a15812a6) Added a check if a mailbox is removed that this mailbox is not used as automatic aliases destination for other mailboxes (defined by config key defaultMapping). - [`6e910f9`](https://github.com/opensolutions/ViMbAdmin/commit/6e910f9912e6c644033bc3925256684da54daa6e) TODOs ### 📊 Changes **2 files changed** (+208 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `application/configs/application.ini.dist` (+15 -0) ➕ `application/plugins/MailboxAutomaticAliases.php` (+193 -0) </details> ### 📄 Description A plugin that will create required aliases if a mailbox for a domain is created. Plugin is by default disabled and has to be enabled in application.ini. Also define default aliases that should be created, see application.ini.dist for an example. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 10:30:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#294
No description provided.