Mark Sapiro <[email protected]> ezt írta (időpont: 2025. ápr. 9., Sze, 4:49):
> ```
> $ mailman shell
> Use commit() to commit changes.
> Use abort() to discard changes since the last commit.
> Exit with ctrl+D does an implicit commit() but exit() does not.
>
> >>> um = getUtility(IUserManager)
> >>> usr = um.get_user('[email protected]') # any of the three addresses
> >>> usr.addresses
> prints a list of the 3 addresses. These are indexed as 0, 1, 2
> >>> usr.preferred_address
> prints the preferred address. If this is the one you want to delete, do
> >>> usr.preferred_address = usr.addresses[n] # n is the index of one
> you want
> >>> del usr.addresses[n] # n is the index of the address you don't want
> >>> usr.addresses.remove(n) # n is the index of the address you don't
> want
> >>> commit()
> ```
Thanks, I successfully removed my unwanted address, so it now doesn't
appear anywhere. (Looks like .remove(n) wasn't needed, it only gave an
exception, and the settings were saved even without commit() – which is
concerning because I would have assumed that I can cancel transactions by
omitting it.)
However, the problem still persists: I can't post to the list from
HyperKitty. In this regard, nothing has changed since my original report.
I'm subscribed to the list with my primary, preferred address, which is the
GMail address right now.
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/CHBSTUXFQJ6BH2XJ4DIHFEKCQDAJDTNZ/
This message sent to [email protected]