Re: [Mailman-Users] email to sms?

2019-02-27 Thread Dmitri Maziuk via Mailman-Users

On 2/27/2019 3:22 PM, Dave Stevens wrote:


Is there a collaborative or open source email to sms project? Can anyone
refer me to better information? I've been pretty much just casting
around so far.


Google for nagios sms notifications. As I recall something was doable 
with a basic dialler program and a modem back when, now you can get a 
GSM modem and send actual sms'es.


Off the top of my head you'd put this behind a script-mailbox and 
subscribe it to your list and Robert's your parent's sibling.


Dima

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] email to sms?

2019-02-27 Thread Grant Taylor via Mailman-Users

On 02/27/2019 02:22 PM, Dave Stevens wrote:

Hi,


Hi Dave,

I've been using mailman to send routine announcements for a long time 
and more and more what people want is a text message. I've been able 
to discover gateways for individual carriers so that I can send to 
@..com and the subscriber gets a text, so 
phone notification which is quick and handy. This has been well received.


I've been looking at the list of carriers getting longer and have looked 
into email to sms services but what I've seen has been commercial and 
too expensive.


Is there a collaborative or open source email to sms project? Can anyone 
refer me to better information? I've been pretty much just casting around 
so far.


I don't think I've seen a collaborative or open source email to SMS 
project.  I suspect this is because of the technical nature of 
gatewaying and / or the cost associated with doing so, be it 
infrastructure or per message.


The only free services that I've seen have been operated by the cellular 
networks for their customers.


The other commercial services have all had cell phones (or other similar 
devices that interface with the cellular network like a phone) and end 
up sending lots of texts.


I don't see how to overcome either of these limitations.  Maybe there is 
a way.


I feel like sending text message is beyond the scope of what a mailing 
list manager should do.  If some of the subscribed addresses happen to 
be email address that are subsequently gatewayed, so be it.


If you really want to look into something to send SMS (or MMS) messages 
in bulk, I'd look at something in parallel with Mailman.  Let Mailman do 
what it's good at, email, and use something else for SMS (MMS).




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] email to sms?

2019-02-27 Thread Dave Stevens
Hi,

I've been using mailman to send routine announcements for a long time
and more and more what people want is a text message. I've been able to
discover gateways for individual carriers so that I can send to
@..com and the subscriber gets a text, so
phone notification which is quick and handy. This has been well
received.

I've been looking at the list of carriers getting longer and have
looked into email to sms services but what I've seen has been
commercial and too expensive.

Is there a collaborative or open source email to sms project? Can anyone
refer me to better information? I've been pretty much just casting
around so far.

TIA.

Dave

-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread John
On 2/27/19 2:03 PM, I wrote:
> On 2/27/19 12:22 PM, Mark Sapiro wrote:
>> On 2/27/19 9:36 AM, John wrote:
>>> hmmm...  I have mailman on 2 systems. One does not start on boot. 
>>> Referencing
>>> the manual link, I have no misc/mailman on either system.(?) Both systems 
>>> are
>>> ubuntu (different versions), with Virtualmin.
>>
>> misc/mailman is in the source distribution. If you installed the
>> Debian/Ubuntu package, you probably don't have that, but it appears you
>> do have /etc/init.d/mailman
>>
>>> From the failing system:
>>> root>systemctl status mailman
>>> ● mailman.service - LSB: Mailman Master Queue Runner
>>>Loaded: loaded (/etc/init.d/mailman; bad; vendor preset: enabled)
>> These are normal.
>>
>>>Active: inactive (dead)
>> This of course is not.
>>
>> Are the ownership and mode of /etc/init.d/mailman the same on both
>> systems and is there any difference in the contents?
>>
>> You might try 'systemctl enable mailman' on the non-starting system.
>>
>> -- Mark Sapiro  The highway is for gamblers, San Francisco 
>> Bay
>> Area, California better use your sense - B. Dylan
> 
> I forgot I found the problem before, reminded myself by debugging again... ;-)
> The directory /var/run/mailman is going away on reboot, so mailman can't 
> create
> the pid file. The work-around is to create /var/run/mailman with the proper
> permissions & ownership and start the mailman service. I'm going to compare 
> my 2
> init.d files, if there is no difference, I am going to patch the init.d file 
> to
> check for /var/run/mailman...
> 
> Thanks,
> John
> 

scratch the patching...  apparently something on my system is wonky, as mailman,
as expected, correctly tries to set up the required directories.

John

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread John
On 2/27/19 12:22 PM, Mark Sapiro wrote:
> On 2/27/19 9:36 AM, John wrote:
>> hmmm...  I have mailman on 2 systems. One does not start on boot. Referencing
>> the manual link, I have no misc/mailman on either system.(?) Both systems are
>> ubuntu (different versions), with Virtualmin.
> 
> misc/mailman is in the source distribution. If you installed the
> Debian/Ubuntu package, you probably don't have that, but it appears you
> do have /etc/init.d/mailman
> 
>> From the failing system:
>> root>systemctl status mailman
>> ● mailman.service - LSB: Mailman Master Queue Runner
>>Loaded: loaded (/etc/init.d/mailman; bad; vendor preset: enabled)
> These are normal.
> 
>>Active: inactive (dead)
> This of course is not.
> 
> Are the ownership and mode of /etc/init.d/mailman the same on both
> systems and is there any difference in the contents?
> 
> You might try 'systemctl enable mailman' on the non-starting system.
> 
> -- Mark Sapiro  The highway is for gamblers, San Francisco 
> Bay
> Area, California better use your sense - B. Dylan

I forgot I found the problem before, reminded myself by debugging again... ;-)
The directory /var/run/mailman is going away on reboot, so mailman can't create
the pid file. The work-around is to create /var/run/mailman with the proper
permissions & ownership and start the mailman service. I'm going to compare my 2
init.d files, if there is no difference, I am going to patch the init.d file to
check for /var/run/mailman...

Thanks,
John
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Mark Sapiro
On 2/27/19 12:21 PM, Odhiambo Washington wrote:

> Not sure what is going on ...
> 
> root@lists:/home/wash# ps ax | grep mailman
>  2422 ?Ss 0:00 /usr/bin/python
> /usr/local/mailman/bin/mailmanctl -s -q start
>  2423 ?S  0:05 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
>  2424 ?S  0:05 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
>  2425 ?S  0:04 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
>  2426 ?S  0:05 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
>  2427 ?S  0:04 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
>  2428 ?S  0:07 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
>  2429 ?S  0:07 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
>  2430 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
> 23841 pts/0S+ 0:00 grep --color=auto mailman


At this point, Mailman is running. How did id start? Did you start it
manually or dit is start at boot?


> root@lists:/home/wash# /etc/init.d/mailman stop
> root@lists:/home/wash# ps ax | grep mailman
> 23845 pts/0S+ 0:00 grep --color=auto mailman


So now Mailmnan isn't running.


> root@lists:/home/wash# systemctl status mailman

irrelevant.


> root@lists:/home/wash# systemctl start mailman
> root@lists:/home/wash# ps ax | grep mailman
> 23884 ?Ss 0:00 /usr/bin/python
> /usr/local/mailman/bin/mailmanctl -s -q start
> 23885 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
> 23886 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
> 23887 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
> 23888 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
> 23889 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
> 23890 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
> 23891 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
> 23892 ?S  0:00 /usr/bin/python2.7
> /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
> 23896 pts/0S+ 0:00 grep --color=auto mailman
> 


And now you start Mailman and it's running.

So the question is does it start on a reboot? If not, try

systemctl enable mailman

to see if that fixes it.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Odhiambo Washington
On Wed, 27 Feb 2019 at 19:19, Mark Sapiro  wrote:

> On 2/27/19 1:45 AM, Odhiambo Washington wrote:
> >>
> > The script in misc/ is the only one named mailman though. There is none
> in
> > scripts/.
>
> That was a mistake in the manual. It is now fixed. See
> .
>
>
> > I copied that into etc/init.d/ and rebooted, but mailman did not come up
> > still.
>
>
> You may need 'chmod +x etc/init.d/'.
>

I did that too.


>
> What does 'systemctl status mailman' show?


root@lists:/home/wash# ls -al /etc/init.d/mailman
-rwxr-xr-x 1 root root  Feb 27 12:30 /etc/init.d/mailman
root@lists:/home/wash# systemctl status mailman
● mailman.service - LSB: GNU Mailman
   Loaded: loaded (/etc/init.d/mailman; generated)
   Active: failed (Result: protocol) since Wed 2019-02-27 12:40:17 EAT; 10h
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 810 ExecStart=/etc/init.d/mailman start (code=exited,
status=0/SUCCES

Feb 27 12:40:13 lists systemd[1]: Starting LSB: GNU Mailman...
Feb 27 12:40:17 lists systemd[1]: mailman.service: New main PID 1993 does
not ex
Feb 27 12:40:17 lists systemd[1]: mailman.service: Failed with result
'protocol'
Feb 27 12:40:17 lists systemd[1]: Failed to start LSB: GNU Mailman.
lines 1-10/10 (END)...skipping...
● mailman.service - LSB: GNU Mailman
   Loaded: loaded (/etc/init.d/mailman; generated)
   Active: failed (Result: protocol) since Wed 2019-02-27 12:40:17 EAT; 10h
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 810 ExecStart=/etc/init.d/mailman start (code=exited,
status=0/SUCCESS)

Feb 27 12:40:13 lists systemd[1]: Starting LSB: GNU Mailman...
Feb 27 12:40:17 lists systemd[1]: mailman.service: New main PID 1993 does
not exist or is a zombie.
Feb 27 12:40:17 lists systemd[1]: mailman.service: Failed with result
'protocol'.
Feb 27 12:40:17 lists systemd[1]: Failed to start LSB: GNU Mailman.

...
Not sure what is going on ...

root@lists:/home/wash# ps ax | grep mailman
 2422 ?Ss 0:00 /usr/bin/python
/usr/local/mailman/bin/mailmanctl -s -q start
 2423 ?S  0:05 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
 2424 ?S  0:05 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
 2425 ?S  0:04 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
 2426 ?S  0:05 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
 2427 ?S  0:04 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
 2428 ?S  0:07 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
 2429 ?S  0:07 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
 2430 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
23841 pts/0S+ 0:00 grep --color=auto mailman

root@lists:/home/wash# /etc/init.d/mailman stop
root@lists:/home/wash# ps ax | grep mailman
23845 pts/0S+ 0:00 grep --color=auto mailman

root@lists:/home/wash# systemctl status mailman
● mailman.service - LSB: GNU Mailman
   Loaded: loaded (/etc/init.d/mailman; generated)
   Active: failed (Result: protocol) since Wed 2019-02-27 12:40:17 EAT; 10h
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 810 ExecStart=/etc/init.d/mailman start (code=exited,
status=0/SUCCESS)

Feb 27 12:40:13 lists systemd[1]: Starting LSB: GNU Mailman...
Feb 27 12:40:17 lists systemd[1]: mailman.service: New main PID 1993 does
not exist or is a zombie.
Feb 27 12:40:17 lists systemd[1]: mailman.service: Failed with result
'protocol'.
Feb 27 12:40:17 lists systemd[1]: Failed to start LSB: GNU Mailman.

root@lists:/home/wash# systemctl start mailman
root@lists:/home/wash# ps ax | grep mailman
23884 ?Ss 0:00 /usr/bin/python
/usr/local/mailman/bin/mailmanctl -s -q start
23885 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
23886 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
23887 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
23888 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
23889 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
23890 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
23891 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
23892 ?S  0:00 /usr/bin/python2.7
/usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
23896 pts/0S+ 0:00 grep --color=auto mailman

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)

Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Mark Sapiro
On 2/27/19 9:36 AM, John wrote:
> 
> hmmm...  I have mailman on 2 systems. One does not start on boot. Referencing
> the manual link, I have no misc/mailman on either system.(?) Both systems are
> ubuntu (different versions), with Virtualmin.


misc/mailman is in the source distribution. If you installed the
Debian/Ubuntu package, you probably don't have that, but it appears you
do have /etc/init.d/mailman

> From the failing system:
> root>systemctl status mailman
> ● mailman.service - LSB: Mailman Master Queue Runner
>Loaded: loaded (/etc/init.d/mailman; bad; vendor preset: enabled)

These are normal.

>Active: inactive (dead)

This of course is not.

Are the ownership and mode of /etc/init.d/mailman the same on both
systems and is there any difference in the contents?

You might try 'systemctl enable mailman' on the non-starting system.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] deleting archives, default sender addresses

2019-02-27 Thread Dave McGuire
On 2/27/19 1:15 PM, Mark Sapiro wrote:
>>> See 
>>
>>   Ok, thanks for the pointer.  I hate to as a stupid question, but how
>> do I actually run that snippet?  At an REPL prompt I assume, but are
>> there imports, etc?
> 
> You need to run the Django management command 'shell', e.g.
> 'django-admin shell' or 'manage.py shell' or however you spell it. This
> will give you a python shell and you enter the commands at the '>>>'
> prompts.

  Ah!  That worked perfectly.  Is it obvious that I'm new to Django? ;)

>>> DEFAULT_FROM_EMAIL = 'postorius@localhost.local'
>>>
>>> in your Django settings.py. Put your desired override in settings_local.py.
>>
>>   Perfect!  That worked.  I could've sworn I set that last night and it
>> didn't work, but perhaps I hadn't restarted Mailman. (it was late..)
>> But I rebooted the VM this morning to install some patches.
> 
> Rebooting will do it. Restarting Mailman won't as this is a Django
> setting, not a Mailman setting. How to update that without a reboot
> depends on how you run your Django wsgi app. With mod_wsgi, just
> touching the wsgi.py file will do. With gunicorn, I just restart
> gunicorn. I'm not sure about uwsgi, I don't use it, but see
> .

  That makes sense.  I was not aware that restarting Mailman would not
restart Django.

  Thank you again, Mark, for your time.  I appreciate your help.

  -Dave

-- 
Dave McGuire, AK4HZ
New Kensington, PA
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] deleting archives, default sender addresses

2019-02-27 Thread Mark Sapiro
On 2/27/19 9:46 AM, Dave McGuire wrote:
> On 2/27/19 12:09 PM, Mark Sapiro wrote:
>>
>> See 
> 
>   Ok, thanks for the pointer.  I hate to as a stupid question, but how
> do I actually run that snippet?  At an REPL prompt I assume, but are
> there imports, etc?


You need to run the Django management command 'shell', e.g.
'django-admin shell' or 'manage.py shell' or however you spell it. This
will give you a python shell and you enter the commands at the '>>>'
prompts.



>> That is
>>
>> DEFAULT_FROM_EMAIL = 'postorius@localhost.local'
>>
>> in your Django settings.py. Put your desired override in settings_local.py.
> 
>   Perfect!  That worked.  I could've sworn I set that last night and it
> didn't work, but perhaps I hadn't restarted Mailman. (it was late..)
> But I rebooted the VM this morning to install some patches.


Rebooting will do it. Restarting Mailman won't as this is a Django
setting, not a Mailman setting. How to update that without a reboot
depends on how you run your Django wsgi app. With mod_wsgi, just
touching the wsgi.py file will do. With gunicorn, I just restart
gunicorn. I'm not sure about uwsgi, I don't use it, but see
.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] deleting archives, default sender addresses

2019-02-27 Thread Dave McGuire
On 2/27/19 12:09 PM, Mark Sapiro wrote:
>>   Hi folks.  I'm a longtime Mailman 2 user, working with Mailman 3 for
>> the first time (specifically v3.1.1) and things are going pretty well so
>> far.  I don't particularly like having to run it under Linux (we're a
>> Solaris-based outfit) but I bit the bullet and built a VM for it.
> 
> A much better list for Mailman 3 is mailman-us...@mailman3.org
> .
> Several Mailman 3 developers don't read this list.

  Oops, my apologies, thank you for the heads-up.  I will subscribe over
there shortly.

> Also, have you tried
> installing Mailman 3 on Solaris? It should work although there may be
> some dependency gotchas. If you do succeed and it's not straightforward,
> we'd appreciate your feedback.

  The problem isn't actually Solaris so much as it is SPARC.  There's no
SPARC back-end for Node.js, and the Node.js people don't seem interested
in supporting that platform; apparently they think SPARCs are old or
something. (There were SPARC processors in 1995...but not all SPARC
processors are from 1995!)

  I think there's a better shot at it now, since they've made it
portable enough to run on ARM, but still.

>>   I've hit two little snags, though.  First, I created a test list and
>> exercised it a bit, then deleted it...the archives are still in
>> Hyperkitty, though.  How can I delete those?
> 
> See 

  Ok, thanks for the pointer.  I hate to as a stupid question, but how
do I actually run that snippet?  At an REPL prompt I assume, but are
there imports, etc?

>>   Second, address confirmation emails are coming from
>> postorius@localhost.local.  I've dug and dug, and I've not been able to
>> override it.  There are numerous archived forum posts about this, and
>> none of the proposed solutions I've found seem to work.  Help?
> 
> That is
> 
> DEFAULT_FROM_EMAIL = 'postorius@localhost.local'
> 
> in your Django settings.py. Put your desired override in settings_local.py.

  Perfect!  That worked.  I could've sworn I set that last night and it
didn't work, but perhaps I hadn't restarted Mailman. (it was late..)
But I rebooted the VM this morning to install some patches.

  Thank you, Mark, for your time and assistance.

  -Dave

-- 
Dave McGuire, AK4HZ
New Kensington, PA
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread John
On 2/27/19 8:19 AM, Mark Sapiro wrote:
> On 2/27/19 1:45 AM, Odhiambo Washington wrote:
>> The script in misc/ is the only one named mailman though. There is none in
>> scripts/.
> That was a mistake in the manual. It is now fixed. See
> .
> 
> 
>> I copied that into etc/init.d/ and rebooted, but mailman did not come up
>> still.
> 
> You may need 'chmod +x etc/init.d/'.
> 
> What does 'systemctl status mailman' show?
> 

hmmm...  I have mailman on 2 systems. One does not start on boot. Referencing
the manual link, I have no misc/mailman on either system.(?) Both systems are
ubuntu (different versions), with Virtualmin.

From the failing system:
root>systemctl status mailman
● mailman.service - LSB: Mailman Master Queue Runner
   Loaded: loaded (/etc/init.d/mailman; bad; vendor preset: enabled)
   Active: inactive (dead)
 Docs: man:systemd-sysv-generator(8)



John
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Trying to secure the list server web page

2019-02-27 Thread David Gibbs via Mailman-Users

On 2/27/2019 11:13 AM, Jeffrey Westgate wrote:

OK.  thanks for that.  So I can copy/paste the same line in the
mm_cfg.py, at the bottom, under the site-specific config block?


Yes.

david


--
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding 615 miles (Yes, you read that right) in the American Diabetes 
Association's Tour de Cure to raise money for diabetes research, education, 
advocacy, and awareness.  You can make a tax-deductible donation to my ride by 
visiting https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation 
map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

I may have diabetes, but diabetes doesn't have me!
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] deleting archives, default sender addresses

2019-02-27 Thread Mark Sapiro
On 2/27/19 8:11 AM, Dave McGuire wrote:
> 
>   Hi folks.  I'm a longtime Mailman 2 user, working with Mailman 3 for
> the first time (specifically v3.1.1) and things are going pretty well so
> far.  I don't particularly like having to run it under Linux (we're a
> Solaris-based outfit) but I bit the bullet and built a VM for it.


A much better list for Mailman 3 is mailman-us...@mailman3.org
.
Several Mailman 3 developers don't read this list. Also, have you tried
installing Mailman 3 on Solaris? It should work although there may be
some dependency gotchas. If you do succeed and it's not straightforward,
we'd appreciate your feedback.


>   I've hit two little snags, though.  First, I created a test list and
> exercised it a bit, then deleted it...the archives are still in
> Hyperkitty, though.  How can I delete those?


See 


>   Second, address confirmation emails are coming from
> postorius@localhost.local.  I've dug and dug, and I've not been able to
> override it.  There are numerous archived forum posts about this, and
> none of the proposed solutions I've found seem to work.  Help?


That is

DEFAULT_FROM_EMAIL = 'postorius@localhost.local'

in your Django settings.py. Put your desired override in settings_local.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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Trying to secure the list server web page

2019-02-27 Thread David Gibbs via Mailman-Users

On 2/27/2019 10:48 AM, Jeffrey Westgate wrote:

The setting I needed was actually in the Defaults.py, and not in the
mm_cfg.py. And it was http.  I did the change, pushed it out, and
we're back in fine form again.


Don't change Defaults.py!

Only change mm_cfg.py.

mm_cfg.py imports Defaults.py, but it may get overwritten when you upgrade.  
mm_cfg.py never gets overwritten.

http://www.gnu.org/software/mailman/mailman-install/customizing.html

david

--
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding 615 miles (Yes, you read that right) in the American Diabetes 
Association's Tour de Cure to raise money for diabetes research, education, 
advocacy, and awareness.  You can make a tax-deductible donation to my ride by 
visiting https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation 
map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

I may have diabetes, but diabetes doesn't have me!
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Trying to secure the list server web page

2019-02-27 Thread Mark Sapiro
On 2/27/19 8:48 AM, Jeffrey Westgate wrote:
> Confession first -- I touch this server so seldom because it just runs... and 
> I inherited it many moon orbits ago.
> 
> 
> The setting I needed was actually in the Defaults.py, and not in the 
> mm_cfg.py. And it was http.  I did the change, pushed it out, and we're back 
> in fine form again.


First, never change Defaults.py. Put overrides in mm_cfg.py. See
.

Also, for your original question, see all the steps at
.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Trying to secure the list server web page

2019-02-27 Thread Jeffrey Westgate
Confession first -- I touch this server so seldom because it just runs... and I 
inherited it many moon orbits ago.


The setting I needed was actually in the Defaults.py, and not in the mm_cfg.py. 
And it was http.  I did the change, pushed it out, and we're back in fine form 
again.


thanks for the quick response.



From: David Gibbs 
Sent: Wednesday, February 27, 2019 10:13 AM
To: Jeffrey Westgate; mailman-users@python.org
Subject: Re: [Mailman-Users] Trying to secure the list server web page

On 2/27/2019 10:01 AM, Jeffrey Westgate wrote:
> when a list owner tends to the moderator requests, and hits the
> Submit All Data button... depending on the browser, it says it is
> going to send the information over an insecure connection  and
> nothing happens results-wise - the request is not handled.
>
> Is there some config we need to change in mailman to secure it
> properly?

What is the DEFAULT_URL_PATTERN setting in mm_cfg.py?

I've got mine set to ...

DEFAULT_URL_PATTERN = 'https://%s/mailman/'

... so all URL's go to https.

david


--
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding 615 miles (Yes, you read that right) in the American Diabetes 
Association's Tour de Cure to raise money for diabetes research, education, 
advocacy, and awareness.  You can make a tax-deductible donation to my ride by 
visiting https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation 
map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

I may have diabetes, but diabetes doesn't have me!
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] deleting archives, default sender addresses

2019-02-27 Thread Dave McGuire


  Hi folks.  I'm a longtime Mailman 2 user, working with Mailman 3 for
the first time (specifically v3.1.1) and things are going pretty well so
far.  I don't particularly like having to run it under Linux (we're a
Solaris-based outfit) but I bit the bullet and built a VM for it.

  I've hit two little snags, though.  First, I created a test list and
exercised it a bit, then deleted it...the archives are still in
Hyperkitty, though.  How can I delete those?

  Second, address confirmation emails are coming from
postorius@localhost.local.  I've dug and dug, and I've not been able to
override it.  There are numerous archived forum posts about this, and
none of the proposed solutions I've found seem to work.  Help?

 Thanks,
 -Dave

-- 
Dave McGuire, AK4HZ
New Kensington, PA
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Mark Sapiro
On 2/27/19 1:45 AM, Odhiambo Washington wrote:
>>
> The script in misc/ is the only one named mailman though. There is none in
> scripts/.

That was a mistake in the manual. It is now fixed. See
.


> I copied that into etc/init.d/ and rebooted, but mailman did not come up
> still.


You may need 'chmod +x etc/init.d/'.

What does 'systemctl status mailman' show?

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Trying to secure the list server web page

2019-02-27 Thread David Gibbs via Mailman-Users

On 2/27/2019 10:01 AM, Jeffrey Westgate wrote:

when a list owner tends to the moderator requests, and hits the
Submit All Data button... depending on the browser, it says it is
going to send the information over an insecure connection  and
nothing happens results-wise - the request is not handled.

Is there some config we need to change in mailman to secure it
properly?


What is the DEFAULT_URL_PATTERN setting in mm_cfg.py?

I've got mine set to ...

DEFAULT_URL_PATTERN = 'https://%s/mailman/'

... so all URL's go to https.

david


--
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding 615 miles (Yes, you read that right) in the American Diabetes 
Association's Tour de Cure to raise money for diabetes research, education, 
advocacy, and awareness.  You can make a tax-deductible donation to my ride by 
visiting https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation 
map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

I may have diabetes, but diabetes doesn't have me!
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Trying to secure the list server web page

2019-02-27 Thread Jeffrey Westgate
Help?  We have been running the list server on port 80 for ... years.  
Yesterday we created an ssl certificate, and move the http to https.  Seems to 
be going fine, except for a few thing --


when a list owner tends to the moderator requests, and hits the Submit All Data 
button... depending on the browser, it says it is going to send the information 
over an insecure connection  and nothing happens results-wise - the request 
is not handled.


Is there some config we need to change in mailman to secure it properly?


--

Jeff Westgate
DIS UNIX/Linux System Administrator


Facebook|Twitter|Linkedin



--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Odhiambo Washington
On Tue, 26 Feb 2019 at 19:24, Mark Sapiro  wrote:

> On 2/26/19 5:56 AM, Odhiambo Washington wrote:
> > On Tue, 26 Feb 2019 at 15:23, mailman-admin <
> mailman-ad...@uni-konstanz.de>
> > wrote:
> >
> >> Am 26.02.19 um 08:59 schrieb Odhiambo Washington:
> >>> Server: Ubuntu 18.01
> >>>
> >>> I have followed these:
> >>> http://www.gnu.org/software/mailman/mailman-install/node42.html
> >>>
> >>>  % update-rc.d mailman defaults
> >>>
> >>> But still, mailman doesn't start on reboot.
> >>>
> >>> Nothing in the logs suggest any reason.
> >>>
> >>
> >> Ubuntu 18.04 is a systemd based distro.
> >> Per default it is not using system V init system anymore.
> >>
> >> Check systemd-sysv-generator for getting those running.
> >>
> >
> > The man page for systemd-sysv-generator is ... well, let me not say.
>
>
>
> systemd-sysv-generator runs at boot to generate temporary systemd
> services from /etc/init.d/* scripts for backwards compatibility with
> SysV init.
>
> If you have copied the init script from misc/mailman to
> /etc/init.d/mailman, it should work with systemd. Note that the script
> is misc/mailman, not scripts/mailman as it says in the manual. (I'm
> fixing that.)
>
>
The script in misc/ is the only one named mailman though. There is none in
scripts/.
I copied that into etc/init.d/ and rebooted, but mailman did not come up
still.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org