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

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 >

Latest news

Your University GoogleDrive: 20GB quota limit from December 2022

19 January 2022

Google is replacing its G Suite for Education model licensing model in October 2022. As a result, there will be a new limit of 20GB on personal GoogleDrive spaces provided with G Suite@Cambridge accounts. If your GoogleDrive usage exceeds 20GB after 1 December 2022, your University account GoogleDrive will become read-only until your usage is brought below 20GB.

Moodle offline for upgrade during 06:00–12:00 on Tuesday 11 January

10 January 2022

Moodle will be unavailable from 06:00 to 12:00 on Tuesday 11 January while we upgrade it to version 3.9. During the upgrade, you won’t be able to view or upload sessions on Panopto because access is managed via your Moodle login. Assessment Moodle, ICE Moodle and Clinical School Moodle users will be unaffected. An outline...

HEAT authentication method changing to Azure on 13 January

7 January 2022

We're changing the authentication method for the IT service management system, HEAT, to Microsoft Azure on Thursday 13 January 2022. What is changing? You should continue to use the same URL for accessing HEAT: https://uniofcam.saasiteu.com. However, the 'Sign in' screen you'll be directed to will look slightly different,...