[Mailman-Users] Re: First time question

2021-06-13 Thread Juergen Dollinger
Bill Healy wrote:
> The @ used to automatically redirect to @ but this is stopping soon.
> 
> Is there a way I can globally change the 2000 email addresses from @
> to @?

Depends. If you have no digest members, full names, subscribers who get
no mail (check by comparing list_members -r, list_members -f,
list_members -n) or can you ignore that stuff and do not care about
preserving passwords etc then I would try something like this:

#make a backup first
list_members listname | grep @ > /tmp/adresses
remove_members -N -f /tmp/adresses 
# edit /tmp/adresses and replace @ by @
add_members -r /tmp/adresses

If this is not what you need then clone_member is probably the tool you
need. But I never tried this myself. Start again with 

#make a backup first
list_members listname | grep @ > /tmp/adresses
# edit /tmp/adresses  so that every line of the form
# name@ 
# is changed to
# clone_member -r name@ name@
# in vim I would try something like :%s/\(.*\)@/clone_member -r \1@  
\1@/
sh /tmp/adresses

If all else fails, tell the teacher that its a good exercise
in computer science for the pupils if they change their address
themselves (Probably switch on monthly reminders). :-)

-- 
\ J. Dollinger FAW/n Ulm |zeitnot@irc| http://www.home.pages.de/~zeitnot/
 \"What're quantum mechanics?"   --   "I don't know. People who/
  \repair quantums, I suppose." (Terry Pratchett, Eric)   /
--
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: First time question

2021-06-13 Thread Jon Baron
I did this once. There may be a simple way in Mailman, with the withlist
function in (for me) /usr/lib/mailman/bin. But I did not want to risk that,
so I just did the simple thing.

./list_members LISTNAME | grep  > tmp1
(or try @, which may be better)
then I edit tmp1 (with emacs, for example, changing @ to @
I save this as tmp2
Then I go to the Membership Management section of the list administration page
and enter tmp1 into "Mass removal" and remove them
then enter tmp2 into "Mass subscription" and subscribe them.
The reason I use the web interface is that I can control who gets notified
of what. You can alternatively use the functions add_members and
remove_members, but I wasn't sure who they would notify. (Perhaps nobody,
which would be ideal.)

To get help files for these functions, just run the function with no
arguments, e.g., ./add_members, assuming that your working directory is
/usr/lib/mailman/bin

Jon

On 06/13/21 16:24, Bill Healy wrote:
> Hi,
> 
> First question to this list.  Excuse ignorance.
> 
> I have about 2000 subscribers in a larger list where the address @ has
> been changed
> by a school district to @.
> 
> The @ used to automatically redirect to @ but this is stopping soon.
> 
> Is there a way I can globally change the 2000 email addresses from @
> to @?
> 
> 
> Best wishes,
> Bill Healy BSc BA Dip Ed
> CEO
> 
> Message me directly for assistance
> +61 (0)413 425 374
> 
> Kilbaha Pty Ltd (Est. 1978)
> ABN: 47 065 111 373
> *https://kilbaha.com.au *
> *Providing Quality Resources to Schools and Parents since 1978
> *
> 
> 
>- Kilbaha helps schools
>- to teach better
>- by providing quality educational content
>- so that students get higher grades.
> 
> *Download the Kilbaha Catalogue here.*
> *https://kilbaha.com.au/kilbaha.pdf *
> --
> 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/

-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: https://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)
--
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: First time question

2021-06-13 Thread Mark Sapiro

On 6/12/21 11:24 PM, Bill Healy wrote:


Is there a way I can globally change the 2000 email addresses from @
to @?



See the script at https://www.msapiro.net/scripts/change_member_address.py

The method suggested by Jon Baron[1] will work but will resubscribe the 
user's new addresses with default settings.


The method suggested by Juergen Dollinger[2] is better but (to me at 
least) more complex that the above script.



[1]: 
https://mail.python.org/archives/list/mailman-users@python.org/message/AIOTIUBKWC2272ILAA7V6ODAK4CEJVRG/
[2]: 
https://mail.python.org/archives/list/mailman-users@python.org/message/VYYB7FBBY35XWSOMLQFRTOCKNVHSROH6/


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