Pietro Abate

sympa

configuring sympa with postfix

Last week I took over the task of migrating sympa from a vserver machine to a xen vm. In the process I upgraded the sympa version and changed the MTA, from sendmail (ahhhhhhhhhh) to postfix. In my opinion sympa is designed to do far too many things just to be a mailing list manager. In particular, it has its own mail spool, it organizes mail delivering (via the MTA) and bounces.

connect mrbs with sympa

Today I wrote a small script to allow mrbs [1] to authenticate with the sympa[2] database. mrbs has a nice feature to use an external command to do authentication. This is a simple script that query the sympa db.

<code lang="perl">

  1. ! /usr/bin/perl

use lib '/usr/lib/sympa/bin'; use wwslib;

unless (require Crypt::CipherSaber) { die "Crypt::CipherSaber not installed ; cannot crypt passwords"; }

require 'tools.pl';

use List;

  1. Load sympa config

&Conf::load('/etc/sympa/sympa.conf') || die 'config_error'; chdir $Conf::Conf{'home'};