skip to content

IT Help and Support

University Information Services
 

Sympa provides a SOAP application programming interface (API), 

A precise and accurate definition of the methods which are provided can be found at:

In the following examples dpc22+soap@cam.ac.uk is a local  account which has been created on Sympa using https://lists.cam.ac.uk/sympa/firstpasswd

(Local Login -> First Login -> Request first password)

 Role email addresses can be used, and are recommended when several different people or entities need to update a list. The nominated account is then added to the list in question as a normal list owner with "no notifications" and "concealed from list menu" set.

This folder contains a pair of example scripts written in Python and Perl which can be used interchangeably to synchronise the membership of a list with a file stored on your local workstation.

This seems to be the most common requirement for scripted access to Mailing lists. Examples in other programming languages and requests/examples for other common tasks are welcome: please contact postmaster@lists.cam.ac.uk

Please remember that Sympa Data Sources allow you synchronise directly with external data sources such as Blue AD. This may be simpler as the lists are automatically updated. The list members defined by external data sources are also kept separate from the normal list membership.

Python: sync.py

$ ./sync.py test-dpc22 dpc22+soap@cam.ac.uk emails
dpc22+soap@cam.ac.uk Password:
Adding: dpc22@cam.ac.uk
Adding: dpc99@cam.ac.uk

$ ./sync.py test-dpc22 dpc22+soap@cam.ac.uk empty
dpc22+soap@cam.ac.uk Password:
Removing: dpc22@cam.ac.uk
Removing: dpc99@cam.ac.uk

 

Perl: sync.pl

$ ./sync.pl test-dpc22 dpc22+soap@cam.ac.uk emails
dpc22+soap@cam.ac.uk Password:
Adding: dpc22@cam.ac.uk
Adding: dpc99@cam.ac.uk

$ ./sync.pl test-dpc22 dpc22+soap@cam.ac.uk empty
dpc22+soap@cam.ac.uk Password:
Removing: dpc22@cam.ac.uk
Removing: dpc99@cam.ac.uk

UIS Service Desk

Phone padded  Service status line: (01223 7)67999
Website  Sign up for SMS/email status alerts
Website  Read major IT incident reports

UIS bITe-size bulletin

A regular newsletter aimed at the University's IT community, highlighting service and project news from UIS.

Sign up >

You can read previous editions of bITe-size.

Latest news

Delivering network connectivity for the Cambridge Half Marathon

9 March 2023

Richard Davies from the Granta Backbone Network (GBN) team and Craig Faux from the Networks team, worked together to help deliver network connectivity for the Cambridge Half Marathon that took place this past weekend. The University has been assisting the Council with delivering network connectivity for the Cambridge Half...

Changes to Google Workspace accounts from March

23 February 2023

15 February 2023 We are preparing to delete UIS managed Google Workspace accounts for users that have left the University to maintain system performance and security and reclaim file space ahead of Google introducing file space quotas. When a user leaves the University, their account is flagged as cancelled in Lookup and...

Wireless Service maintenance in March and April 2023

21 February 2023

We’ll be carrying out essential maintenance on the University Wireless Service in March and April 2023 to pave the way for its continued growth. Three phases of work in March and April 1. Tuesday 21 March, 8:00 to 9:00 You might experience interruptions to the UniOfCam-IoT service during the maintenance period. You might...