Skip to content

Mailbox auto aliases#119

Closed
mfechner wants to merge 10 commits intoopensolutions:masterfrom
mfechner:mailbox_auto_aliases
Closed

Mailbox auto aliases#119
mfechner wants to merge 10 commits intoopensolutions:masterfrom
mfechner:mailbox_auto_aliases

Conversation

@mfechner
Copy link
Copy Markdown
Contributor

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.

… it return a false.

This is required to do additional checks in plugins that can stop the main application to finish the action.
…ugins give green light to continue with the deletion.
…etion of an aliases that is marked as required.
…le which can be used to stop the toggle function with a hook for class Alias.
…to return error message to user why a alias could not be deactivated.
…akes sures that aliases are created if the complete domain is forwarded to another address.
@soalhn
Copy link
Copy Markdown

soalhn commented Nov 19, 2014

Seems to me, that the plugin creates defined aliases right after we created first alias on a new domain.
IMO it's totally wrong - it should create the aliases right after a new domain has been added.
So it should be defined some default alias for the aliases itself.

@mfechner
Copy link
Copy Markdown
Contributor Author

It does not make sense to create the aliases after the domain is created, because there is no destination defined where the mails should be sent or stored. The plugin is creating the aliases after a forward to an external address is defined or after a mailbox is defined.

@PhrozenByte
Copy link
Copy Markdown
Contributor

Hmmm... I really don't understand why someone would solve this problem in such a complex way. Do I miss something? You (silently) require the first alias/mailbox created to be the administrators one. But: If I don't know ("non-skilled users") that I need such "administrator addresses", why would I create a "administrator address" first, rather than a random "user address"?

I think the best solution would be a static config parameter. When a domain is created, ViMbAdmin should create multiple aliases to this configurable destination. We're talking about "non-skilled users", "professional users" have their own solution for this.

@bitcloud
Copy link
Copy Markdown

Probably it is better to display a notice, that this domain is missing some default addresses as log as they are not created. You should probably be able to dismiss that message if you do not intend to create those anyway.
And then perhaps a small helper to create all aliases to a specified destination.

For a "non-skilled" user you certainly need to explain a little why he is needing those addresses and what each of it is for. Otherwise he would probably delete them afterwards anyway.

@mfechner mfechner closed this Mar 24, 2015
@mfechner mfechner deleted the mailbox_auto_aliases branch March 24, 2015 10:16
@PhrozenByte PhrozenByte mentioned this pull request Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants