[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Michael Reeder -- Hygeia MS

Thank you Mark for cutting right to the chase for me.

Mark wrote: "Mailman's files should be in 
/usr/local/cpanel/3rdparty/mailman"


No -- no such directory on eigthmile.dreamhost.com -- It's got to be on 
a separate server.  Top level searches on  & 
 turn up nothing either.


I have a note into Dream Host support.

Thanks,
Michael

*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village location*
*410-871-TALK / michael(at)hygeiacounseling.com*


On 11/5/2023 5:32 PM, Mark Sapiro wrote:

On 11/5/23 14:23, Michael Reeder -- Hygeia MS wrote:
I may have answered my own questions below. (**One quick newbie 
question though:  If I continue looking for the Mailman program, what 
directory should it be in and what are some names I can run a 
recursive "find" command on?** )


I see from https://help.ubuntu.com/community/Mailman that Mailman 
files should be in:
"It copies the installation files in /var/lib/mailman. It installs 
the cgi scripts in /usr/lib/cgi-bin/mailman directory."


Nope -- not in either place on eightmile.dreamhost.com



It appears this is cPanel. See 
https://wiki.list.org/DOC/Mailman%20and%20CPanel - Mailman's files 
should be in /usr/local/cpanel/3rdparty/mailman



--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Mark Sapiro

On 11/5/23 14:23, Michael Reeder -- Hygeia MS wrote:
I may have answered my own questions below. (**One quick newbie question 
though:  If I continue looking for the Mailman program, what directory 
should it be in and what are some names I can run a recursive "find" 
command on?** )


I see from https://help.ubuntu.com/community/Mailman that Mailman files 
should be in:
"It copies the installation files in /var/lib/mailman. It installs the 
cgi scripts in /usr/lib/cgi-bin/mailman directory."


Nope -- not in either place on eightmile.dreamhost.com



It appears this is cPanel. See 
https://wiki.list.org/DOC/Mailman%20and%20CPanel - Mailman's files 
should be in /usr/local/cpanel/3rdparty/mailman


--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Michael Reeder -- Hygeia MS
I may have answered my own questions below. (**One quick newbie question 
though:  If I continue looking for the Mailman program, what directory 
should it be in and what are some names I can run a recursive "find" 
command on?** )


I see from https://help.ubuntu.com/community/Mailman that Mailman files 
should be in:
"It copies the installation files in /var/lib/mailman. It installs the 
cgi scripts in /usr/lib/cgi-bin/mailman directory."


Nope -- not in either place on eightmile.dreamhost.com

When I go all the way to the top level of the server, and run -name "*mailman*"> I am of course restricted from most directories.  I 
can however see:


./usr/share/bash-completion/completions/mailmanctl
./usr/libexec/check_mailman
./var/chef/cache/cookbooks/ndn-postfix/recipes/mailman-internal.rb
./var/chef/cache/cookbooks/ndn-postfix/recipes/mailman.rb
./var/chef/cache/cookbooks/ndn-postfix/templates/default/main-mailman.cf.erb
./var/chef/cache/cookbooks/ndn-postfix/templates/default/main-mailman-internal.cf.erb

None of these look very promising.  I am denied read/write/execute 
access to everything under ./var/chef/cache/cookbooks/ndn-postfix/


The file "./usr/libexec/check_mailman" refers to code  in 
"/usr/local/dh/mailman".  This file does not seem to exist and the 
directory is not writable to me.


So, again, looking like I have to go to Dream Host for support whether 
or not the Mailman system is on a separate server or accessible through 
eightmile.dreamhost.com .  I think.


-- Michael

*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village location*
*410-871-TALK / michael(at)hygeiacounseling.com*
*http://www.hygeiacounseling.com - main website. 
./var/chef/cache/cookbooks/ndn-postfix/recipes/mailman-internal.rb*


On 11/5/2023 3:14 PM, Michael Reeder -- Hygeia MS wrote:

Hmmm... This looks vaguely possible...

The frustrating thing is I'll have to spend some hours on figuring 
this out -- which means I have to come back to it later.


I have now created an SSH user and can log onto my shared hosting 
server (eightmile.dreamhost.com).


I also see -- in the cpanel -- the ability to create cron jobs on that 
same shared hosting server.  (Or -- I can do a "crontab -e" command to 
create it when logged into the server.)


BUT... I'm told the Mailman server is a separate server.  When I try 
to ssh onto "lists.clinicians-exchange.org" its denied because 
apparently there is a public/private key login I'm not privy to.


On my account at eightmile.dreamhost.com I do see a 
"lists.clinicians-exchange.org" folder -- but all that's in it is a 
.tar.gz file backup.  On this server when I look under /etc I don't 
see a mailman program.  Same with /var directory.  Even so, root owns 
these files and directories so I don't think I could change anything 
in them.


So... I suspect Dream Host would have to do this for me.

**One quick newbie question though:  If I continue looking for the 
Mailman program, what directory should it be in and what are some 
names I can run a recursive "find" command on?**


Thanks,
Michael
*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village 
location*

*410-871-TALK / michael(at)hygeiacounseling.com*


On 11/5/2023 11:56 AM, Dmitri Maziuk wrote:

On 11/4/23 14:22, Mark Sapiro wrote:

On 11/4/23 11:27, Michael Reeder -- Hygeia MS wrote:


Ugh.  Dream Host does not give me cron job / command line access. 
I'll try begging them to do this, but more likely I'll have to 
manually release the Digest each week.



It is unlikely they will let you do this as it would affect all 
lists on the server, not just yours.



Google says dreamhost does let you create your own cron jobs, you 
just can't get to the "system" ones. You could probably make one that 
does what Mark described with curl or something: POST the config 
change to the admin page, POST the change-back a minute later.


It'd be even easier if `senddigest` had a command line argument like 
"--force", but alas.


Dima

--
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/
Member address: mich...@hygeiacounseling.com

--
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/
   

[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Michael Reeder -- Hygeia MS

Hmmm... This looks vaguely possible...

The frustrating thing is I'll have to spend some hours on figuring this 
out -- which means I have to come back to it later.


I have now created an SSH user and can log onto my shared hosting server 
(eightmile.dreamhost.com).


I also see -- in the cpanel -- the ability to create cron jobs on that 
same shared hosting server.  (Or -- I can do a "crontab -e" command to 
create it when logged into the server.)


BUT... I'm told the Mailman server is a separate server.  When I try to 
ssh onto "lists.clinicians-exchange.org" its denied because apparently 
there is a public/private key login I'm not privy to.


On my account at eightmile.dreamhost.com I do see a 
"lists.clinicians-exchange.org" folder -- but all that's in it is a 
.tar.gz file backup.  On this server when I look under /etc I don't see 
a mailman program.  Same with /var directory.  Even so, root owns these 
files and directories so I don't think I could change anything in them.


So... I suspect Dream Host would have to do this for me.

**One quick newbie question though:  If I continue looking for the 
Mailman program, what directory should it be in and what are some names 
I can run a recursive "find" command on?**


Thanks,
Michael
*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village location*
*410-871-TALK / michael(at)hygeiacounseling.com*


On 11/5/2023 11:56 AM, Dmitri Maziuk wrote:

On 11/4/23 14:22, Mark Sapiro wrote:

On 11/4/23 11:27, Michael Reeder -- Hygeia MS wrote:


Ugh.  Dream Host does not give me cron job / command line access. 
I'll try begging them to do this, but more likely I'll have to 
manually release the Digest each week.



It is unlikely they will let you do this as it would affect all lists 
on the server, not just yours.



Google says dreamhost does let you create your own cron jobs, you just 
can't get to the "system" ones. You could probably make one that does 
what Mark described with curl or something: POST the config change to 
the admin page, POST the change-back a minute later.


It'd be even easier if `senddigest` had a command line argument like 
"--force", but alas.


Dima

--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Michael Reeder -- Hygeia MS

Jeremy and Dmitri,

I will do a bit of digging around for cron job access as you both 
describe.  Thanks!


-- Michael

*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village location*
*410-871-TALK / michael(at)hygeiacounseling.com*


On 11/5/2023 11:56 AM, Dmitri Maziuk wrote:

On 11/4/23 14:22, Mark Sapiro wrote:

On 11/4/23 11:27, Michael Reeder -- Hygeia MS wrote:


Ugh.  Dream Host does not give me cron job / command line access. 
I'll try begging them to do this, but more likely I'll have to 
manually release the Digest each week.



It is unlikely they will let you do this as it would affect all lists 
on the server, not just yours.



Google says dreamhost does let you create your own cron jobs, you just 
can't get to the "system" ones. You could probably make one that does 
what Mark described with curl or something: POST the config change to 
the admin page, POST the change-back a minute later.


It'd be even easier if `senddigest` had a command line argument like 
"--force", but alas.


Dima

--
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/
Member address: mich...@hygeiacounseling.com

--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Michael Reeder -- Hygeia MS
Thanks once again Mark.  I have those Digest settings in place for 
manual sending now.


-- Michael

*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village location*
*410-871-TALK / michael(at)hygeiacounseling.com*


On 11/4/2023 3:22 PM, Mark Sapiro wrote:

On 11/4/23 11:27, Michael Reeder -- Hygeia MS wrote:


Ugh.  Dream Host does not give me cron job / command line access. 
I'll try begging them to do this, but more likely I'll have to 
manually release the Digest each week.



It is unlikely they will let you do this as it would affect all lists 
on the server, not just yours.


A manual process is not too bad. Set the list's digest_size_threshhold 
to zero so no digests are sent on size and set digest_send_periodic to 
No so none are sent by cron. Then when you want to send a digest, set 
_send_digest_now to Yes on the Digest options page and save changes. 
This will send the digest immediately if it has any messages.



Or... Look into setting up my own Mailman service on my own virtual 
server... I am running a Mastodon instance, so I might be up for the 
challenge.  Maybe.


If you're considering this, I would recommend Mailman 3. See 
https://docs.mailman3.org/en/latest/install/install.html


Mailman 2.1 is past end of life and will only become more difficult to 
support as time goes on. In particular, it requires Python 2 which is 
also end of life and is being dropped from many distros.



--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-05 Thread Dmitri Maziuk

On 11/4/23 14:22, Mark Sapiro wrote:

On 11/4/23 11:27, Michael Reeder -- Hygeia MS wrote:


Ugh.  Dream Host does not give me cron job / command line access. I'll 
try begging them to do this, but more likely I'll have to manually 
release the Digest each week.



It is unlikely they will let you do this as it would affect all lists on 
the server, not just yours.



Google says dreamhost does let you create your own cron jobs, you just 
can't get to the "system" ones. You could probably make one that does 
what Mark described with curl or something: POST the config change to 
the admin page, POST the change-back a minute later.


It'd be even easier if `senddigest` had a command line argument like 
"--force", but alas.


Dima

--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-04 Thread Mark Sapiro

On 11/4/23 11:27, Michael Reeder -- Hygeia MS wrote:


Ugh.  Dream Host does not give me cron job / command line access. I'll 
try begging them to do this, but more likely I'll have to manually 
release the Digest each week.



It is unlikely they will let you do this as it would affect all lists on 
the server, not just yours.


A manual process is not too bad. Set the list's digest_size_threshhold 
to zero so no digests are sent on size and set digest_send_periodic to 
No so none are sent by cron. Then when you want to send a digest, set 
_send_digest_now to Yes on the Digest options page and save changes. 
This will send the digest immediately if it has any messages.



Or... Look into setting up my own Mailman service on my own virtual 
server... I am running a Mastodon instance, so I might be up for the 
challenge.  Maybe.


If you're considering this, I would recommend Mailman 3. See 
https://docs.mailman3.org/en/latest/install/install.html


Mailman 2.1 is past end of life and will only become more difficult to 
support as time goes on. In particular, it requires Python 2 which is 
also end of life and is being dropped from many distros.


--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-04 Thread Michael Reeder -- Hygeia MS

All,

I'm appreciating and looking into the many suggestions so far.

**Anyone know which -- if any -- give cron job / CLI access?**

Thanks,
Michael

*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village location*
*410-871-TALK / michael(at)hygeiacounseling.com*


On 11/3/2023 10:45 PM, Mark Sapiro wrote:

On 11/3/23 16:23, Michael Reeder -- Hygeia MS wrote:


I have a "weekly digest".  It's new, but seems to be publishing at 
least twice per week (Wednesdays and Fridays).


The digest_volume_frequency setting has nothing to do with how often 
digests are sent. It controls how often the digest volume number is 
incremented and the digest issue number is reset.


If digest_send_periodic is Yes, periodic digests are sent whenever 
there are messages for the digest and cron/senddigests is run. I.e., 
The frequency of periodic digests is controlled by how often 
cron/senddigests is run by cron.




I have:
a) Already checked that it is set to "weekly"


As above, this has nothing to do with how often digests are sent.


b) Already double-checked that "digest_size_threshold" is set to 0.


Which means digests will never be sent based on size.


c) I have just changed "digest_send_periodic" from "Yes" to "No".

With the change in (C) above, have I fixed the problem?


No. You have ensured that digests will never be sent. c) says that 
digests will not be sent when cron/senddigests is run and b) says that 
digests will never be sent based on size.


What you want is to set digest_send_periodic to Yes and adjust 
mailman's crontab to run cron/senddigests weekly.



--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-04 Thread Michael Reeder -- Hygeia MS

Mark,

Thank you!

Ugh.  Dream Host does not give me cron job / command line access. I'll 
try begging them to do this, but more likely I'll have to manually 
release the Digest each week.


Or... Look into setting up my own Mailman service on my own virtual 
server... I am running a Mastodon instance, so I might be up for the 
challenge.  Maybe.


Thanks,
Michael

*Michael Reeder, LCPC
*
*Hygeia Counseling Services : Baltimore / Mt. Washington Village location*
*410-871-TALK / michael(at)hygeiacounseling.com*
*http://www.hygeiacounseling.com - main website.
*


On 11/3/2023 10:45 PM, Mark Sapiro wrote:

On 11/3/23 16:23, Michael Reeder -- Hygeia MS wrote:


I have a "weekly digest".  It's new, but seems to be publishing at 
least twice per week (Wednesdays and Fridays).


The digest_volume_frequency setting has nothing to do with how often 
digests are sent. It controls how often the digest volume number is 
incremented and the digest issue number is reset.


If digest_send_periodic is Yes, periodic digests are sent whenever 
there are messages for the digest and cron/senddigests is run. I.e., 
The frequency of periodic digests is controlled by how often 
cron/senddigests is run by cron.




I have:
a) Already checked that it is set to "weekly"


As above, this has nothing to do with how often digests are sent.


b) Already double-checked that "digest_size_threshold" is set to 0.


Which means digests will never be sent based on size.


c) I have just changed "digest_send_periodic" from "Yes" to "No".

With the change in (C) above, have I fixed the problem?


No. You have ensured that digests will never be sent. c) says that 
digests will not be sent when cron/senddigests is run and b) says that 
digests will never be sent based on size.


What you want is to set digest_send_periodic to Yes and adjust 
mailman's crontab to run cron/senddigests weekly.



--
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/
Member address: arch...@jab.org


[Mailman-Users] Re: Making Sure a Weekly Digest is Just Weekly

2023-11-03 Thread Mark Sapiro

On 11/3/23 16:23, Michael Reeder -- Hygeia MS wrote:


I have a "weekly digest".  It's new, but seems to be publishing at least 
twice per week (Wednesdays and Fridays).


The digest_volume_frequency setting has nothing to do with how often 
digests are sent. It controls how often the digest volume number is 
incremented and the digest issue number is reset.


If digest_send_periodic is Yes, periodic digests are sent whenever there 
are messages for the digest and cron/senddigests is run. I.e., The 
frequency of periodic digests is controlled by how often 
cron/senddigests is run by cron.




I have:
a) Already checked that it is set to "weekly"


As above, this has nothing to do with how often digests are sent.


b) Already double-checked that "digest_size_threshold" is set to 0.


Which means digests will never be sent based on size.


c) I have just changed  "digest_send_periodic" from "Yes" to "No".

With the change in (C) above, have I fixed the problem?


No. You have ensured that digests will never be sent. c) says that 
digests will not be sent when cron/senddigests is run and b) says that 
digests will never be sent based on size.


What you want is to set digest_send_periodic to Yes and adjust mailman's 
crontab to run cron/senddigests weekly.


--
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/
Member address: arch...@jab.org