WebSTUMP - Bugs: bug #62041, Documentation errors and omissions...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62041: Documentation errors and omissions can cause pathological looping behavior on initial setup
Submitter: | Paul Schleck <pschleck> | ||
Submitted: | Sat 12 Feb 2022 03:31:50 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-02a9.
Corresponding source code
Due to documentation errors and omissions, setting up an initial STUMP/WebSTUMP configuration can cause pathological looping and multiple article approval errors.
Steps to reproduce:
- Submissions to a newsgroups's submission address are received by WebSTUMP and placed on that newsgroup's submission review queue. The messages appear to be placed on this queue by the "X-Moderate-For" recipe in the .procmailrc file. However, if you select the "Approved" checkbox and submit, the approved article does not get posted. Rather, the approval message is itself put on the WebSTUMP queue as if it was a submission to the newsgroup.
- If you remove the "X-Moderate-For" recipe from the .procmailrc file, articles sent to the moderator submission address are being posted without being placed on a review queue. They are being treated as approved rather than as suspicious. In this case, the Procmail/STUMP system seems to be looping back on itself, interpreting approval messages as further submissions, and posting those, too. You have to move the .procmailrc file to .procmailrc.OFF to get this looping behavior to stop.
The solution is as follows:
- In the README file for the WebSTUMP distribution, it says to add a single moderator to the file admin/etc/modenv. It should instead read admin/etc/moderators.
- For WebSTUMP, the address for the moderator also needs to be placed in config/newsgroups/<newsgroup>/address.txt
- For WebSTUMP, this moderator address needs to be the same as the recipient address for the following Procmail recipe:
:0
* ^TOscrm-approved
| formail -c | $HOME/stump/etc/modenv stump.pl acceptFromMod