[Mailman-Users] Re: "Error: Unknown virtual host" trying to create new list from web UI

2020-07-30 Thread Sean McBride
On Thu, 30 Jul 2020 10:21:55 -0700, Mark Sapiro said:

>I suspect the permissions issue may have been in doing the MTA task, so
>if you have "MTA = 'Postfix'" in mm_cfg.py, your data/aliases(.db)
>didn't get updated. You can run `bin/genaliases` to fix that.

I ran it and it output nothing.

>I think the list is OK. You should check that you have the directories
>and files
>
>archives/private/LISTNAME/
>archives/private/LISTNAME/index.html
>archives/private/LISTNAME.mbox/

I had only index.html.

>bin/rmlist -a LISTNAME

That did it!  It recreated fine.  Yay.  Thanks.

I noticed that X-BeenThere on this new list is now foo...@rogue-research.com 
instead of foo...@mail.rogue-research.com which I sorta expected due to 
changing those host variables.

I guess I should now use that `fix_url` command to make all my other lists 
match up.  Is that a generally painless experience? :)

Thanks,

Sean

--
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: "Error: Unknown virtual host" trying to create new list from web UI

2020-07-30 Thread Sean McBride
On Wed, 29 Jul 2020 22:42:23 -0700, Mark Sapiro said:

>On 7/29/20 10:24 PM, Sean McBride wrote:
>> 
>> After reading the comments in that file and FAQ 4.29, I *think* the
>correct solution is to append the following 5 lines to my mm_cfg.py:
>> 
>> DEFAULT_EMAIL_HOST = 'rogue-research.com'
>> DEFAULT_URL_HOST = 'mail.rogue-research.com'
>> DEFAULT_URL_PATTERN = 'https://%s/mailman/'
>> VIRTUAL_HOSTS.clear()
>> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>> 
>> Is that correct?
>
>Yes, that looks good.

Thanks!

So that got me further.  Then I got "We're sorry, we hit a bug!"  The error 
logs showed a permission error.  So I ran `check_perms -f` and it found and 
fixed ~5000 permission errors that somehow existed.

But now I try to create the list again, but it says "Error: List already 
exists".  I fear it's only half-created.  Is the best thing to do now delete 
the list and recreate it?

(Congrats on having great docs BTW, they had just about all the info I needed!)

Cheers,

Sean

--
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] "Error: Unknown virtual host" trying to create new list from web UI

2020-07-29 Thread Sean McBride
Hi all,

I'm running mailman 2.1.x.  I haven't had need to create a new list in years, 
but now I need to.  Trying to do so from the web UI here:
 

results in:
 "Error: Unknown virtual host: mail.rogue-research.com".

After searching for this, I now have a partial understanding of the problem.

In my Defaults.py I see:

DEFAULT_EMAIL_HOST = 'foo.rogue-research.com'
DEFAULT_URL_HOST = 'foo.rogue-research.com'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

foo is the real hostname of the machine. I guess that's how it ended up there? 
After reading the comments in that file and FAQ 4.29, I *think* the correct 
solution is to append the following 5 lines to my mm_cfg.py:

DEFAULT_EMAIL_HOST = 'rogue-research.com'
DEFAULT_URL_HOST = 'mail.rogue-research.com'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

Is that correct?

Many thanks,

Sean

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


Re: [Mailman-Users] Now that Python 2 is dead in 2020 what are people's plans with mailman2?

2019-04-10 Thread Sean McBride
On Wed, 10 Apr 2019 13:36:59 -0500, Dimitri Maziuk via Mailman-Users said:

>On 4/10/19 12:49 PM, Sean McBride wrote:
>> On Wed, 10 Apr 2019 12:38:34 -0500, Dimitri Maziuk via Mailman-Users said:
>> 
>>> How much support for python 2 have you been getting until now, and why
>>> do you believe you will need it in the future?
>> 
>> Fixes to security vulnerabilities basically.  If/when some new one is
>found after 2020, you're screwed.
>
>Screwed how, exactly?

In the way you described (below).

>With a properly sandboxed application your security vulnerability has to
>be a) exploitable through that application and b) able to break out of
>the sandbox and wreak havoc to your host system.
>
>It's all perfectly possible in theory but really, do a basic risk
>analysis before jumping on the knee-jerk security bandwagon.

Agreed. But should it happen, there'll be no patches to python2 forthcoming.

Sean


--
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] Now that Python 2 is dead in 2020 what are people's plans with mailman2?

2019-04-10 Thread Sean McBride
On Wed, 10 Apr 2019 12:38:34 -0500, Dimitri Maziuk via Mailman-Users said:

>>   Now that all support for Python 2 is supposed to go away in 2020 are
>> people going to move off of mailman 2?
>
>How much support for python 2 have you been getting until now, and why
>do you believe you will need it in the future?

Fixes to security vulnerabilities basically.  If/when some new one is found 
after 2020, you're screwed.

Sean


--
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] Mailman 2 and 3

2017-04-01 Thread Sean McBride
On Thu, 30 Mar 2017 09:16:41 -0700, Mark Sapiro said:

>Mailman 2 is definitely end of life. I am the only one actively
>supporting it at this point and while I continue to offer help and fix
>bugs, it's not what I want to be doing.

Is there any planned date where security updates end?

Cheers,

Sean


--
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] My first time setting up mailman, some misc questions/comments

2016-04-15 Thread Sean McBride
Hi again,

Another comment and question if I may:

1) The mailman-install.pdf has text like this:


Add this to the bottom of the ‘$prefix/Mailman/mm cfg.py’ file:
  MTA = ’Postfix’


It would be nice to be able to copy-paste that exactly, but alas the pdf use 
smart quotes, which is of course not what Python wants.


2) Does postfix need to be on the same host as Mailman?


Thanks,

-- 

Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada
--
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] My first time setting up mailman, some misc questions/comments

2016-04-14 Thread Sean McBride
On Thu, 14 Apr 2016 14:16:33 -0700, Mark Sapiro said:

>I've done that now in the online versions (refresh the page if it isn't
>the 'April 14' version. The update will be in the tarball of the next
>(2.1.22) release.

Nice!

>That section has a highlighted note at the top saying: "Much of the
>following is no longer applicable to more recent versions of MacOSX. See
>the FAQ at http://wiki.list.org/x/O4A9 for links to more recent
>information." I think that's sufficient.

Up to you of course, but everything after that useful first sentence is so 
incredibly out of date that there's really no point having it there. :)  All 
the OS X versions mentioned there have had no security updates in years, so 
running something like mailman on them would be insanity, and should be 
discouraged IMHO. :)

But let me write my currently vapourwave newer notes and you can decide then if 
you want to paste it in...

>You also need to register as a user and let us know your registered user
>name.

Yes, sorry, I read too fast.  Done that too now. :)

Cheers,

-- 
____
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


--
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] My first time setting up mailman, some misc questions/comments

2016-04-14 Thread Sean McBride
On Thu, 14 Apr 2016 09:07:29 -0700, Mark Sapiro said:

>> - the docs say "Mailman should work pretty much out of the box with a
>standard Postfix installation. It has been tested with various Postfix
>versions up to and including Postfix 2.1.5."  I'm assuming that version
>number is just out-of-date?  Does mailman work with modern postfix?
>
>
>Yes. I will update the installation manual.

Thanks!

>I am guessing the Mac OS X docs you refer to are the wiki page at
><http://wiki.list.org/x/4030523>.

Yes, and also section 15.3 of mailman-install.pdf.

>If so, you can update that yourself.
>See the first paragraph at <http://wiki.list.org/FrontPage> to obtain
>write access to the wiki.

email sent, thanks.

Cheers,

-- 
____
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


--
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] My first time setting up mailman, some misc questions/comments

2016-04-14 Thread Sean McBride
On Fri, 15 Apr 2016 01:03:18 +0900, Stephen J. Turnbull said:

>If you're working with Mailman 2, dubious.  There may never be another
>release of Mailman 2 (but Mark is authoritative).  And Mac OS X has
>been somewhat unkind to us (Apple's Mailman has been a long-term
>source of support requests to which we mostly have to reply "uuuhhh
>... install from source and we'll get back to you, Apple's Mailman is
>*weird*".

Yes, I've heard.  Of course, Apple hasn't included mailman since OS X 10.6, and 
likely never will again given their dislike of GPL3.

>Mailman 3 docs would be very welcome.

I'm sticking with 2 for now, as I'm familiar with its web UI and it seems 
better documented, more widely used, less bleeding edge, etc. :)

> > - OS X's native equivalent of cron is launchd, would you accept
> >   launchd config files matching those of crontab.in for inclusion?
>
>I don't know if Mark will, but I will definitely ensure they get into
>Mailman 3, or at least are well-documented (Barry makes the decisions
>about code, but docs are always welcome).
>
>Question for you: last I heard, the "launchctl load -w" approach was
>deprecated by Apple, but there was no well-documented replacement.
>Worse, there was no replacement that actually worked in my
>experience. ;-)  Has that situation improved?

I'm not aware of the problems you refer to.  "launchctl load -w" works fine in 
my experience, though the details of exactly how it works have changed between 
releases.  Like the man page says: "In previous versions, this option would 
modify the configuration file. Now the state of the Disabled key is stored 
elsewhere on-disk..."  Perhaps that's what you're talking about?

>Note: Mailman likely has to work on at least Yosemite, possibly
>Mavericks or even Mountain Lion.  Knowing Apple, even if there's a
>working canonical incantation for the most recent El Capitan, likely
>it hasn't been backported. :-(

I'll be doing this on El Capitan.  So far I can say that mailman builds. :)

I guess I'll keep notes, and share them here when done.

Cheers,

-- 

Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


--
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] My first time setting up mailman, some misc questions/comments

2016-04-14 Thread Sean McBride
Hi all,

I'm setting up mailman for the first time, and have a few questions/comments:

- the docs say "Mailman should work pretty much out of the box with a standard 
Postfix installation. It has been tested with various Postfix versions up to 
and including Postfix 2.1.5."  I'm assuming that version number is just 
out-of-date?  Does mailman work with modern postfix?

- I'm doing this on OS X, and notice the docs for that OS are all *very* out of 
date.  Would you accept a patch to update the docs?

- OS X's native equivalent of cron is launchd, would you accept launchd config 
files matching those of crontab.in for inclusion?

Thanks,

-- 
____
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


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