Bug 853880
| Summary: | Mailman : Cannot accept or reject moderated mail. loop on https://xxx.xx/mailman/admindb/mylist | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pierre Blavy <pierreblavy> | ||||
| Component: | mailman | Assignee: | Jan Kaluža <jkaluza> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 17 | CC: | jkaluza | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-09-26 08:56:15 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Pierre Blavy
2012-09-03 08:35:02 UTC
It works for me as expected here. Can you please describe the way how you "accept or reject mails"? Do you choose the accept option below "Action to take on all these held messages:" label? Or maybe you're choosing "Accepts" below "Add <mail> to one of these sender filters:" checkbox, but you do not check this checkbox. Created attachment 609601 [details] The way I accept or reject mails The way I accept or reject mails - 0 goto https://xxx.xx/mailman/admindb/niac - 1 select accept or reject - 2 click on submit (my GUI is in french, sory) This is also the page that loops. Hm, that's the same way as I do it here. Does it happen for all your lists? Do you have some special configuration applied? If I click on submit here, I see the table of the first user to disappear and the messages sent by that user are sent to list. I even tried it in French. I will play with it a bit and try to reproduce it, but I'm not sure what's causing that so far... The bug did not happen to newly created lists.
This problem is indeed specific to my machine. After searching, there was something wrong in the way I've created/save and managed my old list which is not a mailman bug.
For information, I've found a workaround : save delete and restore the list with the following stricpt makes it magickaly work again.
In fact mailman store data in a lot of different places with differents rights and without a clear homogenous and easy to use interface to save/restore lists, which makes things confuse. Adding list_save list_load list_save_all, list_load_all scripts to binary will be a good idea, and storing all information in a clear simple folder hierarchy will be a better one.
Anyway Thank you very much for your help.
--- save and restore script ---
#!/bin/sh
function savelist {
LIST=$1
OUT=$2
/usr/lib/mailman/bin/config_list -o $OUT/$LIST.conf $LIST;
/usr/lib/mailman/bin/list_members -o $OUT/$LIST-regular.txt -r $LIST;
/usr/lib/mailman/bin/list_members -o $OUT/$LIST-digest.txt -d $LIST;
#archives
cd /var/lib/mailman/archives/private;
tar czf $OUT/$LIST-archive.tgz $LIST;
tar czf $OUT/$LIST-mbox-archive.tgz $LIST.mbox;
}
function loadlist {
LIST=$1
IN=$2
MAIL=$3
PASS=$4
/usr/lib/mailman/bin/newlist -l fr -q $LIST $MAIL $PASS
/usr/lib/mailman/bin/config_list -i $IN/$LIST.conf $LIST
/usr/lib/mailman/bin/add_members -r $IN/$LIST-regular.txt $LIST
/usr/lib/mailman/bin/add_members -d $IN/$LIST-digest.txt $LIST
#restore archive
cd /var/lib/mailman/archives/private
tar xzf $IN/$LIST-archive.tgz
tar xzf $IN/$LIST-mbox-archive.tgz
chown -R apache:mailman $LIST $LIST.mbox
}
OUT=/tmp/
savelist mylist $OUT
/usr/lib/mailman/bin/rmlist mylist
PASS=xxx
MAIL=me
loadlist mylist /tmp/ $MAIL $PASS
Thanks for letting me now. |