[BALUG-Admin] details, etc. Re: BALUG lists - lists.balug.org is canonical, temp.balug.org also usable to about 2017-11-30

Michael Paoli Michael.Paoli@cal.berkeley.edu
Thu Sep 21 03:55:14 PDT 2017


And ... in case anyone was wondering ... most of the bits regarding
changing the canonical from temp.balug.org to lists.balug.org for
lists, is shown further below.  There were also other various
details, including mailman configuration ... notably defaults
and such ... let's see ..., that'd be:
$ hostname; pwd -P; fgrep -e lists.balug.org -e temp.balug.org \
> mm_cfg.py | grep -v '^#'
balug-sf-lug-v2.balug.org
/etc/mailman
DEFAULT_EMAIL_HOST = 'lists.balug.org'
DEFAULT_URL_HOST   = 'lists.balug.org'
add_virtualhost('temp.balug.org', 'temp.balug.org')
POSTFIX_STYLE_VIRTUAL_DOMAINS = [ 'lists.balug.org', 'temp.balug.org' ]
$
//and following that was:
# (cd / && umask 022 systemctl restart mailman.service)
//... plus "of course" the stuff shown further below.

There was also some fair bits of miscellaneous web page tweaks,
notably changing from temp.balug.org to lists.balug.org,
see also:
https://www.wiki.balug.org/wiki/doku.php?id=balug:mail_and_lists
for pretty good overview of what was done in that regard.

Also in testing the transition, had temporarily created lists:
balug-scratch02
balug-scratch03
One under temp.balug.org, another under lists.balug.org (letting it
default to that recently reconfigured as default).  And did some test
moving of 'em between the two (sub-)domains.  Then moved the
BALUG-Test list and tested and well reviewed results on that.
The proceeded to the remainder of the BALUG lists and some basic
checks on those, and reconfiguration of Apache for temp-->lists redirects.
And then onto the various related web page updates (including also some
bits on the information web pages for most of the lists themselves).
That was basically it ... not too hard to do.  The "hardest" part -
which really wasn't all that hard - was tracking down the particular
command and syntax to move(/reconfigure) the lists among the (sub-)domains,
and also prior to that, making the mailman configuration updates to change
the default to lists.balug.org (and testing of that).

And, as bonus, did also see in the testing that SPF - at least for IPv6,
is working like a champ, and mail is (at least also) being sent via
IPv6 perfectly fine.  Do still need to peek at some headers to check
that it's likewise working perfectly fine for IPv4.  Anyway ...
presuming that all looks good, and a few more days pass with no SPF
issues seen, will drop the soft-fail (~all) from SPF.

Do also have some minor SSL/TLS cert configurations to check and
follow-through on ... most notably that each applicable domain is
using the currently most relevant cert - they're all at least using
a working CA signed one - covered that earlier ... but need to suitably
align them so that as I replace 'em in future, and in (farther) future,
drop temp.balug.org, they'll all be using expected certs and,
excepting for the drop of temp.balug.org when it's dropped, will all
continue to work appropriately.

$ id
uid=38(list) gid=38(list) groups=38(list)
$ (umask 027 && withlist -l -r fix_url balug-test -u lists.balug.org)
Importing fix_url...
Running fix_url.fix_url()...
Loading list balug-test (locked)
Saving list
Finalizing
$ (umask 027 && withlist -l -r fix_url balug-admin -u lists.balug.org)
Importing fix_url...
Running fix_url.fix_url()...
Loading list balug-admin (locked)
Saving list
Finalizing
$ (umask 027 && withlist -l -r fix_url balug-talk -u lists.balug.org)
Importing fix_url...
Running fix_url.fix_url()...
Loading list balug-talk (locked)
Saving list
Finalizing
$ (umask 027 && withlist -l -r fix_url balug-announce -u lists.balug.org)
Importing fix_url...
Running fix_url.fix_url()...
Loading list balug-announce (locked)
Saving list
Finalizing
$ (umask 027 && withlist -l -r fix_url mailman -u lists.balug.org)
Importing fix_url...
Running fix_url.fix_url()...
Loading list mailman (locked)
Saving list
Finalizing
$

# pwd -P && rcsdiff -r1.5 -r1.7 -U 0 rewrites_temp.balug.org.conf
/etc/apache2/sites-available/rewrites
===================================================================
RCS file: RCS/rewrites_temp.balug.org.conf,v
retrieving revision 1.5
retrieving revision 1.7
diff -U 0 -r1.5 -r1.7
--- rewrites_temp.balug.org.conf        2017/08/06 09:11:33     1.5
+++ rewrites_temp.balug.org.conf        2017/09/21 10:15:56     1.7
@@ -5 +5 @@
-    RewriteRule "^/*(?:cgi-bin(?:/+(?:mailman/*)?)?)?$"  
https://%0/cgi-bin/mailman/listinfo [L,R=temp]
+    RewriteRule "^/*(?:cgi-bin(?:/+(?:mailman/*)?)?)?$"  
https://lists.balug.org/cgi-bin/mailman/listinfo [L,R=permanent]
@@ -7 +7 @@
-               #old to new:
+    #old to new:
@@ -9 +9 @@
-    RewriteRule "^/*listinfo\.cgi/*$"  
https://%0/cgi-bin/mailman/listinfo [L,R=permanent]
+    RewriteRule "^/*listinfo\.cgi/*$"  
https://lists.balug.org/cgi-bin/mailman/listinfo [L,R=permanent]
@@ -12 +12 @@
-    RewriteRule  
"^/*listinfo\.cgi/+(balug-(?:announce|talk|admin))-balug\.org$"  
"https://%0/cgi-bin/mailman/listinfo/$1" [L,R=permanent]
+    RewriteRule  
"^/*listinfo\.cgi/+(balug-(?:announce|talk|admin))-balug\.org$"  
"https://lists.balug.org/cgi-bin/mailman/listinfo/$1" [L,R=permanent]
@@ -15 +15 @@
-    RewriteRule  
"^/*pipermail/(balug-(?:announce|talk|admin))-balug\.org/(.*)$"  
"https://%0/pipermail/$1/$2" [L,R=permanent]
+    RewriteRule  
"^/*pipermail/(balug-(?:announce|talk|admin))-balug\.org/(.*)$"  
"https://lists.balug.org/pipermail/$1/$2" [L,R=permanent]
@@ -18 +18 @@
-    RewriteRule  
"^/*admin\.cgi/(balug-(?:announce|talk|admin))-balug\.org$"  
"https://%0/cgi-bin/mailman/admin/$1" [L,R=permanent]
+    RewriteRule  
"^/*admin\.cgi/(balug-(?:announce|talk|admin))-balug\.org$"  
"https://lists.balug.org/cgi-bin/mailman/admin/$1" [L,R=permanent]
@@ -21 +21,5 @@
-    RewriteRule  
"^/*roster\.cgi/(balug-(?:announce|talk|admin))-balug\.org$"  
"https://%0/cgi-bin/mailman/roster/$1" [L,R=permanent]
+    RewriteRule  
"^/*roster\.cgi/(balug-(?:announce|talk|admin))-balug\.org$"  
"https://lists.balug.org/cgi-bin/mailman/roster/$1" [L,R=permanent]
+
+    # catch-all for anything remaining:
+    RewriteCond %{SERVER_NAME} "^.+$"
+    RewriteRule "^(.*)$" "https://lists.balug.org$1" [L,R=permanent]
#
$

> From: "Michael Paoli" <Michael.Paoli@cal.berkeley.edu>
> To: BALUG-Talk <balug-talk@lists.balug.org>
> Subject: BALUG lists - lists.balug.org is canonical, temp.balug.org  
> also usable to about 2017-11-30
> Date: Wed, 20 Sep 2017 22:41:32 -0700

> BALUG lists:
> lists.balug.org is canonical,
> temp.balug.org also usable to about 2017-11-30.
>
> So ... temp.balug.org was only ever intended to be temporary - for
> transitional purposes.
>
> So, once again, lists.balug.org functions as it did before (and even
> better) - it's the domain for the list URLs, and list email addresses.
>
> To ease transition back to lists.balug.org, temp.balug.org also
> remains usable and will remain usable until about 2017-11-30.
>
> https://lists.balug.org/cgi-bin/mailman/listinfo




More information about the BALUG-Admin mailing list