Okay, I've identified what I think is a working approach.

1. I sent an email to my mailing list from a brand new, never before used, 
email: *f...@bar.com*
2. I queried the `/3.0/addresses` endpoint and determined that just sending an 
email to a list automatically adds that email as a "known address".
3. I ran a `/members/find` API call, passing in the `list_id` and the 
`subscriber`, which returned a length 1 JSON array containing the member_id.
4. I ran a PATCH request against `/members/<member_uid>`, to update the 
`moderation_action`
5. I reran step #3 and the response now included the `moderation_action` 
property with a value of *defer*

To confirm this all worked I sent, "always approved", and received emails from 
2 different nonmember addresses and was able to receive them as expected.
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/XWMIUDYFBO7AFONSDUCJUAOIXAYWAVB5/

This message sent to arch...@mail-archive.com

Reply via email to