Skip to content
Daniel Berger edited this page Nov 20, 2026 · 6 revisions

mail-sympa

mail-sympa provides a Ruby interface to the Sympa mailing list server's SOAP API.

These pages describe version 1.3.0+, which uses Savon 2.x and Nokogiri.

Install and connect

> gem install mail-sympa
require 'mail/sympa' # 'mail-sympa' is also supported

sympa = Mail::Sympa.new('https://lists.example.org/sympasoap')
sympa.login('owner@example.org', 'your-password')

sympa.complex_lists.each do |list|
  puts "#{list[:list_address]}: #{list[:subject]}"
end

sympa.add('reader@example.org', 'announcements', 'Example Reader')

Use the SOAP endpoint configured by your Sympa administrator. The default namespace is urn:sympasoap. Server authorization policies still apply to each operation; logging in does not grant administrative privileges.

Documentation

  • API reference: methods, aliases, return values, and migration from 1.2.0.
  • Testing: the disposable Docker environment with real Sympa and the RSpec suite.
  • Maintainer guide: building, signing, certificate maintenance, and release notes.

The README is the repository's main usage and testing guide. See the changelog for release history and the source for implementation.

The integration environment verifies SOAP operations against Sympa 6.2.70 using Ruby 3.3, Apache/FastCGI, and SQLite. It does not test SMTP delivery or every production deployment. See Testing for the exact scope.

Project information

Clone this wiki locally