Mailman 3 Error & some questions
Hello,
I am planning to migrate from mailman 2.1.14 to mailman 3. At the moment
mailman 3 is running on a new CentOS 7 server with postfix as MTA. But I
have some questions and problems:
- I have an error with hyperkitty
ERROR 2015-07-29 08:11:02,287 update_index 7216 140406344681280 Failed to
update the fulltext index: 'Command' object has no attribute 'commit'
Traceback (most recent call last):
File
"/opt/mailman/mailman-bundler/eggs/HyperKitty-1.0.1-py2.7.egg/hyperkitty/job
s/update_index.py", line 58, in execute
update_index()
File
"/opt/mailman/mailman-bundler/eggs/HyperKitty-1.0.1-py2.7.egg/hyperkitty/sea
rch_indexes.py", line 73, in update_index
update_cmd.update_backend("hyperkitty", "default")
File
"/opt/mailman/mailman-bundler/eggs/django_haystack-2.4.0-py2.7.egg/haystack/
management/commands/update_index.py", line 233, in update_backend
do_update(backend, index, qs, start, end, total,
verbosity=self.verbosity, commit=self.commit)
AttributeError: 'Command' object has no attribute 'commit'
As far as I can tell, there is an error with the haystack indexing of
archived mails. But how to fix this? I'm clueless.
- In mailman 2, I've created a list and added a new owner. Then the owner
get an email, with his password and a link to the admin page of the list.
How does this work in mailman3? If I create an list in mailman3 and set the
owner, then the email address is the owner, but he isn't noticed. So what
steps are needed to get an password for the new owner and admin of the list?
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working
with mailman3?
- The link in the welcome mail to the info page of the list is wrong. It
says <http://lists.example.com/listinfo/list@lists.example.com> http://lists.example.com/listinfo/list@lists.example.com and if I
visit this link, I get an 404 error. (example.com is here a real domain).
The Second link says <http://example.com/me@host.com> http://example.com/me@host.com where the example.com
part seems to be hardcoded.
Thank you for your help and I hope my English is not too bad (I'm just a
German IT Administrator...)
Greetings from Germany
Stephan Krinetzki
On Jul 30, 2015, at 05:54 AM, Krinetzki, Stephan wrote:
- In mailman 2, I've created a list and added a new owner. Then the owner get an email, with his password and a link to the admin page of the list. How does this work in mailman3? If I create an list in mailman3 and set the owner, then the email address is the owner, but he isn't noticed. So what steps are needed to get an password for the new owner and admin of the list?
I don't know what you mean by "he isn't noticed".
In MM3, there is no such thing as a list admin or moderator password. If you are subscribed to a mailing list with the owner or moderator role, then you should have permission to do things as them for that particular list. So you just log into Postorius and go from there.
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working with mailman3?
If there is a Django plugin for Shibboleth, it may be easy. The Postorius experts can probably provide more information.
- The link in the welcome mail to the info page of the list is wrong. It says <http://lists.example.com/listinfo/list@lists.example.com> http://lists.example.com/listinfo/list@lists.example.com and if I
Yes. Because of the new MM3 architecture, it's not possible in a generic way for the core to send welcome emails with the proper domain urls filled in by default. We know how we are going to do this, but it will have to wait for MM 3.1.
Cheers, -Barry
On Aug 01, 2015, at 00:36 AM, Berry wrote:
On Jul 30, 2015, at 05:54 AM, Krinetzki, Stephan wrote:
- In mailman 2, I've created a list and added a new owner. Then the owner get an email, with his password and a link to the admin page of the list. How does this work in mailman3? If I create an list in mailman3 and set the owner, then the email address is the owner, but he isn't noticed. So what steps are needed to get an password for the new owner and admin of the list?
I don't know what you mean by "he isn't noticed".
In MM3, there is no such thing as a list admin or moderator password. If you are subscribed to a mailing list with the owner or moderator role, then you should have permission to do things as them for that particular list. So you just log into Postorius and go from there.
Ah okay. So the user needs an MM3 account to get a password, right? There is no option to create an user, when a new list is created and the user (the mail address) is not known bei MM3? The current workflow on mailman2: Create list, set owner address. Owner gets an email with the information that he has a new list and that he is the owner of that list with a specific password. I'm missing this feature in MM3. A notice: Hey, you have a new list and you are the owner.
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working with mailman3?
If there is a Django plugin for Shibboleth, it may be easy. The Postorius experts can probably provide more information.
Okay. I will have a look (i know a little bit Django)
- The link in the welcome mail to the info page of the list is wrong. It says <http://lists.example.com/listinfo/list@lists.example.com> http://lists.example.com/listinfo/list@lists.example.com and if I
Yes. Because of the new MM3 architecture, it's not possible in a generic way for the core to send welcome emails with the proper domain urls filled in by default. We know how we are going to do this, but it will have to wait for MM 3.1. So the only solution at the moment is to edit/change the default template?
Cheers, -Barry Thanks so far
Stephan
On 08/03/2015 11:26 AM, Krinetzki, Stephan wrote:
On Aug 01, 2015, at 00:36 AM, Berry wrote:
On Jul 30, 2015, at 05:54 AM, Krinetzki, Stephan wrote:
- In mailman 2, I've created a list and added a new owner. Then the owner get an email, with his password and a link to the admin page of the list. How does this work in mailman3? If I create an list in mailman3 and set the owner, then the email address is the owner, but he isn't noticed. So what steps are needed to get an password for the new owner and admin of the list?
I don't know what you mean by "he isn't noticed".
In MM3, there is no such thing as a list admin or moderator password. If you are subscribed to a mailing list with the owner or moderator role, then you should have permission to do things as them for that particular list. So you just log into Postorius and go from there.
Ah okay. So the user needs an MM3 account to get a password, right? There is no option to create an user, when a new list is created and the user (the mail address) is not known bei MM3? The current workflow on mailman2: Create list, set owner address. Owner gets an email with the information that he has a new list and that he is the owner of that list with a specific password. I'm missing this feature in MM3. A notice: Hey, you have a new list and you are the owner.
No, just an address is created and its role is set as 'owner'. If he needs to access his list/list-settings he would have to login into Postorius (the web UI), which he can do via Mozzila Persona(which is currently supported), or infact any social-authentication method for that matters.
MM3 is not at feature parity with MM2 and we are working to solve this. We expect 3.1 to have all the features from MM2.
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working with mailman3?
If there is a Django plugin for Shibboleth, it may be easy. The Postorius experts can probably provide more information.
Okay. I will have a look (i know a little bit Django)
You can use any authentication mechanism for authenticating in Postorius as long as you provide it the email of the person logging in.
- The link in the welcome mail to the info page of the list is wrong. It says <http://lists.example.com/listinfo/list@lists.example.com> http://lists.example.com/listinfo/list@lists.example.com and if I
Yes. Because of the new MM3 architecture, it's not possible in a generic way for the core to send welcome emails with the proper domain urls filled in by default. We know how we are going to do this, but it will have to wait for MM 3.1. So the only solution at the moment is to edit/change the default template?
MM3 won't be able to fill in any variables like ${listinfo} correctly right now. If you urgently want this to work, you can do it this way:
http://<url_to_postorius>/<base_url>/lists/${fqdn_listname}
Remember that the <base_url> is different in different django projects that you use, in bundler it is 'mailman3' and in postorius_standalone it is 'postorius'.
-- thanks, Abhilash Raj
Am 2015-07-30 07:54, schrieb Krinetzki, Stephan:
Hello,
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working
with mailman3?
I don't have any personal experience with shibboleth integration, but there seem to be some solutions out there to use it in combination with Django. There's even a ticket on github regarding adding it to python-social-auth[1] (which we use in mailman-bundler).
The important point for us: If someone signs on using shibboleth, are we guaranteed to have access to their email address?
Florian
-----Ursprüngliche Nachricht----- Von: Mailman-Developers [mailto:mailman-developers-bounces+krinetzki=itc.rwth-aachen.de@python.org] Im Auftrag von f@florianfuchs.com Gesendet: Dienstag, 4. August 2015 23:17 An: mailman-developers@python.org Betreff: Re: [Mailman-Developers] Mailman 3 Error & some questions
Am 2015-07-30 07:54, schrieb Krinetzki, Stephan:
Hello,
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working
with mailman3?
I don't have any personal experience with shibboleth integration, but there seem to be some solutions out there to use it in combination with Django. There's even a ticket on github regarding adding it to python-social-auth[1] (which we use in mailman-bundler).
The important point for us: If someone signs on using shibboleth, are we guaranteed to have access to their email address?
Florian
[1] https://github.com/omab/python-social-auth/issues/388
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/krinetzki%40itc.r wth-aachen.de
Security Policy: http://wiki.list.org/x/QIA9
-----Ursprüngliche Nachricht----- Von: Mailman-Developers [mailto:mailman-developers-bounces+krinetzki=itc.rwth-aachen.de@python.org] Im Auftrag von f@florianfuchs.com Gesendet: Dienstag, 4. August 2015 23:17 An: mailman-developers@python.org Betreff: Re: [Mailman-Developers] Mailman 3 Error & some questions
Am 2015-07-30 07:54, schrieb Krinetzki, Stephan:
Hello,
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working
with mailman3?
I don't have any personal experience with shibboleth integration, but there seem to be some solutions out there to use it in combination with Django. There's even a ticket on github regarding adding it to python-social-auth[1] (which we use in mailman-bundler).
The important point for us: If someone signs on using shibboleth, are we guaranteed to have access to their email address?
Florian
[1] https://github.com/omab/python-social-auth/issues/388
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/krinetzki%40itc.r wth-aachen.de
Security Policy: http://wiki.list.org/x/QIA9
On 2015-08-04 11:18 AM Florian wrote
Am 2015-07-30 07:54, schrieb Krinetzki, Stephan:
Hello,
- Is it possible to get Shibboleth ( <https://www.shibboleth.net> https://www.shibboleth.net) working
with mailman3?
I don't have any personal experience with shibboleth integration, but there seem to be some solutions out there to use it in combination with Django. There's even a ticket on github regarding adding it to python-social-auth[1] (which we use in mailman-bundler).
The important point for us: If someone signs on using shibboleth, are we guaranteed to have access to their email address?
Florian
Hello Florian,
In Shibboleth there is an attribute for the users email: The email attribute. It is set as defined in the eduPerson-Schema [1]
And TIL: Empty Mails are not good.....(Sorry for the Spam)
Stephan
[1] http://www.internet2.edu/media/medialibrary/2013/09/04/internet2-mace-dir-ed uperson-201203.html#mail
participants (4)
-
Abhilash Raj
-
Barry Warsaw
-
f@florianfuchs.com
-
Krinetzki, Stephan