Mark Sapiro wrote:
> On 2/26/26 07:27, Ibiam Chihurumnaya via Mailman-users wrote:
> > Mark Sapiro wrote:
> > On 2/25/26 2:43 PM, Ibiam Chihurumnaya via Mailman-users wrote:
> > I've used list_name.settings['accept_these_nonmembers'].append to add 
> > members to the list, but it gets discarded once I run 
> > list_name.settings.save().
> > accept_these_nonmembers is a list hence the append, I didn't add the 
> > argument to append, maybe that's what caused the confusion.
> > Again, the above makes no sense. In what context are you doing this?
> mailman shell or something else? What is list_name is it a mailing
> list object or something else? mailing list objects have no settings
> attribute? There is no settings mapping with keys so
> settings['accept_these_nonmembers'] is meaningless. What is
> list_name.settings?

I'm doing it in `mailman shell`, list_name is a List object, and it seems to 
have a `settings` 
attribute as `list_name.settings` returns 

{'acceptable_aliases': [], 'accept_these_nonmembers': [], 'admin_immed_notify': 
True, 'admin_notify_mchanges': False, 'administrivia': True, 'advertised': 
False, 'allow_list_posts': True, 'anonymous_list': False, 'archive_policy': 
'public', 'archive_rendering_mode': 'text', 'autorespond_owner': 'none', 
'autorespond_postings': 'none', 'autorespond_requests': 'none', 
'autoresponse_grace_period': '90d', 'autoresponse_owner_text': '', 
'autoresponse_postings_text': '', 'autoresponse_request_text': '', 
'bounces_address': '[email protected]', 
'bounce_info_stale_after': '7d', 'bounce_notify_owner_on_bounce_increment': 
False, 'bounce_notify_owner_on_disable': True, 
'bounce_notify_owner_on_removal': True, 'bounce_score_threshold': 5, 
'bounce_you_are_disabled_warnings': 3, 
'bounce_you_are_disabled_warnings_interval': '7d', 'collapse_alternatives': 
True, 'convert_html_to_plaintext': False, 'created_at': 
'2026-02-04T21:53:10.928951', 'default_member_action': 'defer', 'defau
 lt_nonmember_action': 'accept', 'description': '', 'digest_last_sent_at': 
'2026-02-26T10:54:11.703949', 'digest_send_periodic': True, 
'digest_size_threshold': 30.0, 'digest_volume_frequency': 'monthly', 
'digests_enabled': True, 'display_name': 'Systems-logs', 
'discard_these_nonmembers': [], 'dmarc_mitigate_action': 'no_mitigation', 
'dmarc_mitigate_unconditionally': False, 'dmarc_addresses': [], 
'dmarc_moderation_notice': '', 'dmarc_wrapped_message_text': '', 'emergency': 
False, 'filter_action': 'discard', 'filter_content': False, 
'filter_extensions': [], 'filter_types': [], 'first_strip_reply_to': False, 
'forward_unrecognized_bounces_to': 'administrators', 'fqdn_listname': 
'[email protected]', 'gateway_to_mail': False, 
'gateway_to_news': False, 'hold_these_nonmembers': [], 
'include_rfc2369_headers': True, 'info': '', 'join_address': 
'[email protected]', 'last_post_at': 
'2026-02-26T11:28:37.171138', 'leave_address': '[email protected]
 bs.org', 'linked_newsgroup': '', 'list_name': 'systems-logs', 'mail_host': 
'lists.sugarlabs.org', 'max_message_size': 40, 'max_num_recipients': 10, 
'max_days_to_hold': 0, 'member_roster_visibility': 'moderators', 
'moderator_password': None, 'newsgroup_moderation': 'none', 
'next_digest_number': 53, 'nntp_prefix_subject_too': True, 'no_reply_address': 
'[email protected]', 'owner_address': 
'[email protected]', 'pass_types': [], 'pass_extensions': 
[], 'personalize': 'none', 'post_id': 298, 'posting_address': 
'[email protected]', 'posting_pipeline': 
'default-posting-pipeline', 'preferred_language': 'en', 'process_bounces': 
True, 'reject_these_nonmembers': [], 'reply_goes_to_list': 'no_munging', 
'reply_to_address': '', 'request_address': 
'[email protected]', 'require_explicit_destination': 
True, 'respond_to_post_requests': True, 'send_goodbye_message': True, 
'send_welcome_message': True, 'subject_prefix': '[Systems-logs]
  ', 'subscription_policy': 'confirm', 'unsubscription_policy': 'confirm', 
'usenet_watermark': None, 'volume': 1}

> --
> Mark Sapiro <[email protected]>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
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/6U57WULRXLAW2YFI7I7VTOF3EGMIPU6Z/

This message sent to [email protected]

Reply via email to