This is the code that produce the error:
for mail, nom in email_D.items(): # Loop over new email
print(info.subscribe(mail, nom, pre_verified=True, pre_confirmed=True, send_welcome_message=False, pre_approved=True))
THIS IS THE ERROR MESSAGGE:
Traceback (most recent call last): File "./fill_list.py", line 74, in <module> print(info.subscribe(mail, nom, pre_verified=True, pre_confirmed=True, send_welcome_message=False, pre_approved=True)) File "/usr/local/lib/python3.6/site-packages/mailmanclient/restobjects/mailinglist.py", line 492, in subscribe response, content = self._connection.call('members', data) File "/usr/local/lib/python3.6/site-packages/mailmanclient/restbase/connection.py", line 161, in call error_msg, response, None) urllib.error.HTTPError: HTTP Error 400: Invalid Parameter "subscriber": .
This code works perfectly before security update from provider.... Never changed from client side.
I've tried update mailman client:
pip3.6 install --upgrade mailmanclient Requirement already satisfied: mailmanclient in /usr/local/lib/python3.6/site-packages (3.3.3) Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from mailmanclient) (2.27.1) Requirement already satisfied: typing_extensions in /usr/local/lib/python3.6/site-packages (from mailmanclient) (4.1.1) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->mailmanclient) (2021.10.8) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/site-packages (from requests->mailmanclient) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->mailmanclient) (1.26.8) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->mailmanclient) (3.3)