mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[PR #119] [CLOSED] Mailbox auto aliases #283
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#283
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/opensolutions/ViMbAdmin/pull/119
Author: @mfechner
Created: 9/24/2014
Status: ❌ Closed
Base:
master← Head:mailbox_auto_aliases📝 Commits (10+)
f6e7a04Fixed a problem filterForAliasList is called with passed domain argument.d346ef6Added plugin to automatially create aliases (if they are not existing) after a mailbox is created.88d2d37Added the possibility that a plugin function can stop the workflow if it return a false.968c06fIf an alias is delete, continue only, if all called hooks from all plugins give green light to continue with the deletion.0f0a884Added a hook to the plugin MailboxAutomaticAliases to prevent the deletion of an aliases that is marked as required.f4ed3daAdded a new hook for class Alias, function toggleActive, hook preToggle which can be used to stop the toggle function with a hook for class Alias.af4be1aA not existing hook function in a plugin will always cause a true return value to not break interrupt flow.03bbbafMake sure the toggle function for the alias return the correct value to return error message to user why a alias could not be deactivated.c91b360Added method to check if it is allowed to deactivate an alias.f727b0fAdded 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.📊 Changes
6 files changed (+208 additions, -26 deletions)
View changed files
📝
application/Repositories/Alias.php(+1 -1)📝
application/configs/application.ini.dist(+11 -0)📝
application/controllers/AliasController.php(+28 -23)➕
application/plugins/MailboxAutomaticAliases.php(+156 -0)📝
library/ViMbAdmin/Controller/PluginAction.php(+11 -2)📝
library/ViMbAdmin/Plugin.php(+1 -0)📄 Description
This plugin enable a feature to automatically create aliases defined in application.ini.
There are some standard aliases that must always exist and a standard user is not aware of the fact that e.g. postmaster@domain must exist. The alias abuse@domain should exist, if not it is possible that your domain will get into a spam blacklist.
This plugin ensures that also a not skilled user as always the required aliases active.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.