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


[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