[Mailman-Users] Re: restoring a deleted list
On 10/18/22 16:45, Bruce Johnson via Mailman-Users wrote: How can I restore the list? Is it just a matter of creating a new list with the old name, then replacing the files in that directory with the archived ones? Or will just restprign the directory to /var/lib/mailman/lists suffice? It was not being archived so that is not an issue. Do not create a list. All you need to do is restore /var/lib/mailman/lists/LISTNAME/config.pck. config.pck.last will be recreated the first time the list is accessed. Any config.db* files are pre Mailman 2.1 and should have been removed if there were any. If digest.mbox is not empty it contains messages that weren't sent in a digest and are probably too old to be useful. Likewise pending.pck has info about things waiting user confirmation and request.pck is information about (un)subscription requests and held messages waiting moderator action. Anything there is also probably too old to be useful, but if you do restore request.pck and there are held messages, you also need to restore any /var/lib/mailman/data/heldmsg-LISTNAME* files. In short, just ignore any old stuff and restore only /var/lib/mailman/lists/LISTNAME/config.pck. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] restoring a deleted list
I deleted a bunch of old lists on our server a while back; found any list that had no messages in the last two years and deleted via rmlist, but first I copied all the list files in /var/lib/mailman/lists to a different archive directory, just in case. Now 3 months later I’ve gotten a question from someone about "where did this list go?” How can I restore the list? Is it just a matter of creating a new list with the old name, then replacing the files in that directory with the archived ones? Or will just restprign the directory to /var/lib/mailman/lists suffice? It was not being archived so that is not an issue. -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] Re: Duplicate emails being received
On 2022-10-18 15:37, Mark Sapiro wrote: # cat /lib/systemd/system/mailman.service PIDFile=/var/run/mailman/mailman.pid Try changing that to PIDFile=/var/lib/mailman/data/master-qrunner.pid Super! That did the job. #PIDFile=/var/run/mailman/mailman.pid PIDFile=/var/lib/mailman/data/master-qrunner.pid ... # service mailman stop Warning: The unit file, source configuration file or drop-ins of mailman.service changed on disk. Run 'systemctl daemon-reload' to reload units. # systemctl daemon-reload # service mailman stop # service mailman start # pstree / MAILMAN RUNNING # ps -fwwu list / ALL RUNNERS RUNNING ** /var/run is typically a symlink to /run, but https://mail.python.org/archives/list/mailman-users@python.org/message/OOVT765SIUYN5U3X3HGO3YNAMFJW7NHY/ says you couldn't find a `mailman.pid` anywhere. Yes. For "mailman.pid" nothing is found with either "find" or "locate". For "master-qrunner.pid" -- no problem ... # locate master-qrunner.pid /var/lib/mailman/data/master-qrunner.pid # find / -type f -iname "master-qrunner.pid" /var/lib/mailman/data/master-qrunner.pid ** -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] Re: mailman2 issue - "Your message was rejected"
On 10/17/22 23:41, Yuki Nie wrote: Hi Mark, As far as I checked, The Reply-To address is indeed modertated. However, is it necessary to add the addr to 'accept_these_nonmembers'? That won't work. If the post is determined to be from a member because of Reply-To:, that member's moderation applies. *_these_nonmembers only applies to posts that are not from a member. I found some dicsussion here. It seems relpy-to addr has no relation with 'accept_these_nonmembers'. Correct. If yes, would you like to provide more details to explain why we need to add the 'reply-to' address? The addresses that are checked for list membership are by default all those in From:, Sender: and Reply-To: headers plus the envelope sender. This is controlled by the setting SENDER_HEADERS = ('from', None, 'reply-to', 'sender') where None refers to the envelope sender. If you don't want to accept a Reply-To: address as a member, set SENDER_HEADERS = ('from', None, 'sender') in mm_cfg.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
[Mailman-Users] Re: mailman2 issue - "Your message was rejected"
Hi Mark, As far as I checked, The Reply-To address is indeed modertated. However, is it necessary to add the addr to 'accept_these_nonmembers'? I found some dicsussion here. It seems relpy-to addr has no relation with 'accept_these_nonmembers'. https://johnwang.com/p/python/mailman-users/055mq4hk1b/changing-reply-to-address-to-non-subscriber-on-anannoouncement-list If yes, would you like to provide more details to explain why we need to add the 'reply-to' address? Thank you! At 2022-09-30 02:10:06, "Mark Sapiro" wrote: >On 9/28/22 23:56, Yuki Nie wrote: >> Hi, >> >> >> Since the email can be sent as expected with the same configuration for >> another ML, >> I think there is no problem in the header. Anyway, I will check it again. > >You need to check all the addresses in From:, Sender: and Reply-To: >headers and the envelope sender also called unix from and sometimes >stored by the MTA in a Return-Path: header. > >If any of those is the address of a moderated member, the moderation >action will apply. > >-- >Mark Sapiro The highway is for gamblers, >San Francisco Bay Area, Californiabetter use your sense - B. Dylan >-- >Mailman-Users mailing list -- mailman-users@python.org >To unsubscribe send an email to mailman-users-le...@python.org >https://mail.python.org/mailman3/lists/mailman-users.python.org/ >Mailman FAQ: http://wiki.list.org/x/AgA3 >Security Policy: http://wiki.list.org/x/QIA9 >Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ >https://mail.python.org/archives/list/mailman-users@python.org/ -- Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/