Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List parameter "host" should be abolished #43

Closed
ikedas opened this issue Aug 20, 2017 · 2 comments
Closed

List parameter "host" should be abolished #43

ikedas opened this issue Aug 20, 2017 · 2 comments
Labels
Milestone

Comments

@ikedas
Copy link
Member

ikedas commented Aug 20, 2017

Lists can have host parameter overriding host part of list addresses derived from virtual host the list belongs to.

  • Cons:

    It breaks alias management: When a list is removed, alias manager cannot find aliases to be removed; If users (owners) change this parameter, aliases won't be renamed. At least current implementaion cannot handle those situations properly.

  • Pros:

    Users (listmasters) can categorize lists with multiple domains under one virtual host. It may be useful for some service providors hosting list services to users by each virtual domain.

IMO this feature would be better to be removed for simplicity of implementation.

@ikedas ikedas added the design label Aug 22, 2017
@dverdin
Copy link
Contributor

dverdin commented Sep 4, 2017

  • Another con: In addition, when a virtual host domain changes, these list-specific host parameters are not changed. Thus leading to confusion and errors.
  • Another pro: when hosting lists behind another frontend than Sympa (I did it with zimbra), you can have a virtual lists domain (lists.example.com) that's only used in enveloppes and a visible list domain (example.com) that's the same as the frontend domain, making all addresses (lists and people) appear in the same domain. In that case, the list host parameter is example.com when the virtual host parameter is lists.example.com.

So indeed, implementation is harder with this parameter but it has its use cases. Before removing this parameter, we should think about whether replacements exist for the current instances using it.

ikedas added a commit to ikedas/sympa that referenced this issue Nov 8, 2017
… value of ``host`` parameter of the list, not mail domain: If ``host`` parameter was not the same as domain name, external program could fail.

Fixed by feeding mail domain instead of ``host`` value. And added [% list.host %] template variable to use ``host`` value in template.
Note that ``host`` parameter may be deprecated in the future (See issue sympa-community#43).
ikedas added a commit to ikedas/sympa that referenced this issue Feb 18, 2018
@ikedas ikedas added this to the 6.2.28 milestone Feb 18, 2018
@ikedas
Copy link
Member Author

ikedas commented Feb 18, 2018

PR above will add notice on deprecation during upgrading process.
Milestone is set to 6.2.28 6.2.32 (on June).

ikedas added a commit that referenced this issue Feb 24, 2018
Issue #43: Preliminary notice on abolishment of "host" list parameter by ikedas.
mpkut pushed a commit to mpkut/sympa that referenced this issue Mar 7, 2018
@ikedas ikedas closed this as completed Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants