[Mailman-Users] Re: Changing Install Location
On Thu, Sep 16, 2021 at 2:46 AM Mark Sapiro wrote: > On 9/12/21 10:10 AM, Odhiambo Washington wrote: > > I'd like to change my Mailman-2.x location from /usr/local/mailman to > > /usr/local/mailman2 so that I can install Mailman3 in /usr/local/mailman. > > Apart from changing the paths in Apache's and MTA's configuration, is > there > > anything else I should watch out for? > > Run configure with `--prefix=/usr/local/mailman2` and then > > mv /usr/local/mailman /usr/local/mailman2 > make install > Hi Mark, I have followed this step. I also made sure that the mailman user home is changed to /usr/local/mailman2. I temporarily gave the user a login shell and then did `crontab -e` to change the paths in the crontab file. However I am getting cron errors, and they are referring to the old path (/usr/local/mailman) as opposed to mailman2. Example: /usr/local/bin/python2.7: can't open file '/usr/local/mailman/cron/checkdbs': [Errno 2] No such file or directory What might I be missing? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-) -- 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: Changing Install Location
On 9/22/21 2:25 AM, Odhiambo Washington wrote: However I am getting cron errors, and they are referring to the old path (/usr/local/mailman) as opposed to mailman2. Example: /usr/local/bin/python2.7: can't open file '/usr/local/mailman/cron/checkdbs': [Errno 2] No such file or directory What might I be missing? What crontab is running these? You mentioned editing mailman's crontab, but what about system crontabs in /etc/cron.d/? And if you are running Mailman's crons from both Mailman's crontab and a system crontab, this is a mistake. Use one or the other, not both. -- 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: Changing Install Location
On Wed, Sep 22, 2021 at 7:05 PM Mark Sapiro wrote: > On 9/22/21 2:25 AM, Odhiambo Washington wrote: > > > However I am getting cron errors, and they are referring to the old path > > (/usr/local/mailman) as opposed to mailman2. > > > > Example: > > /usr/local/bin/python2.7: can't open file > > '/usr/local/mailman/cron/checkdbs': [Errno 2] No such file or directory > > > > What might I be missing? > > > What crontab is running these? You mentioned editing mailman's crontab, > but what about system crontabs in /etc/cron.d/? > > And if you are running Mailman's crons from both Mailman's crontab and a > system crontab, this is a mistake. Use one or the other, not both. crontab -e only edits /var/cron/tabs/$username in FreeBSD. There is no other crontab for mailman other than /var/cron/tabs/mailman. I have searched. Still confused. I did: su - mailman cd /usr/local/mailman2/cron && crontab crontab.in And it installed the same file. Where the old path still comes from has left me confused. How do I run the crontab entries in debug mode to see what they are doing? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-) -- 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: Changing Install Location
On 9/22/21 12:00 PM, Odhiambo Washington wrote: On Wed, Sep 22, 2021 at 7:05 PM Mark Sapiro wrote: On 9/22/21 2:25 AM, Odhiambo Washington wrote: However I am getting cron errors, and they are referring to the old path (/usr/local/mailman) as opposed to mailman2. Example: /usr/local/bin/python2.7: can't open file '/usr/local/mailman/cron/checkdbs': [Errno 2] No such file or directory What might I be missing? What crontab is running these? You mentioned editing mailman's crontab, but what about system crontabs in /etc/cron.d/? And if you are running Mailman's crons from both Mailman's crontab and a system crontab, this is a mistake. Use one or the other, not both. crontab -e only edits /var/cron/tabs/$username in FreeBSD. There is no other crontab for mailman other than /var/cron/tabs/mailman. I have searched. You are only looking at user crontabs. Try `grep -r checkdbs /etc/cron*` -- 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] admins post to a list held for moderation
Hi, I am seeing post to Mailman2 lists being held for moderation yet they are sent by an admin of that list. I cannot fathom why. Max recipients is set to 10 and its only 3 lists at once in this case. What other things can I check on that might be causing this please? TY. regards Steven -- 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: admins post to a list held for moderation
On 9/22/21 6:39 PM, Steven Jones wrote: Hi, I am seeing post to Mailman2 lists being held for moderation yet they are sent by an admin of that list. Admins have no special posting rights. The list's owner and moderator attributes only determine the addresses to which notices are sent. If an admin's address is not a list member, posts from that address are treated as any non-member post. If the address is a list member, a post is handled according to that member's moderation. -- 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/