Skip to Content.
Sympa Menu

en - [sympa-users] problem: integrating sympa with postfix and dovecot

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Simone Dal Maso <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] problem: integrating sympa with postfix and dovecot
  • Date: Fri, 18 Mar 2016 12:36:32 +0100

Hi all,

I’ve been trying to integrate sympa in our mail server for a few days now, but without success. Our server is based on debian jessie and uses postfix and dovecot and most of the configuration (virtual users, virtual domains and aliases) is managed through a mysql database.
Postfix and dovecot talk to each other using lmtp.

I tried to follow various tutorials, but I’ve not managed to make postfix pass messages to sympa.
I am interested in a setup where messages are rejected as soon as possible, i.e. SMTP connection time.

In /etc/postfix/master.cf I’ve added the following:
sympalist        unix  -       n       n       -       -       pipe
  flags=RF user=sympa argv=/usr/lib/sympa/bin/queue ${user}@${extension}
symparequest     unix  -       n       n       -       -       pipe
  flags=RF user=sympa argv=/usr/lib/sympa/bin/queue ${user}-request@${extension}
sympaeditor      unix  -       n       n       -       -       pipe
  flags=RF user=sympa argv=/usr/lib/sympa/bin/queue ${user}-editor@${extension}
sympasubscribe   unix  -       n       n       -       -       pipe
  flags=RF user=sympa argv=/usr/lib/sympa/bin/queue ${user}-subscribe@${extension}
sympaunsubscribe unix  -       n       n       -       -       pipe
  flags=RF user=sympa argv=/usr/lib/sympa/bin/queue ${user}-unsubscribe@${extension}
sympabounce      unix  -       n       n       -       -       pipe
  flags=RF user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user}@${extension}

In /etc/postfix/main.cf I’ve added the following configuration:
transport_maps = regexp:/etc/postfix/sympa-transport-regexp.cf

The file sympa-transport-regexp.cf contains the following:
 /^.*-owner\@mydomain\.ext$/ sympabounce: 
 /^.*\@mydomain\.ext$/ sympa: 
/^.*\@sympalist$/         sympalist:
/^.*\@symparequest$/      symparequest:
/^.*\@sympaeditor$/       sympaeditor:
/^.*\@sympasubscribe$/    sympasubscribe:
/^.*\@sympaunsubscribe$/  sympaunsubscribe:
/^.*\@sympaowner$/        sympabounce:

I am sure that I am missing something, because when I try to send a message e.g. to
address@concealed

postfix rejects the message, it says that the address doesn't exist.

 What am I doing wrong?

I’ve also tried to add to virtual_alias_maps the file located in /etc/mail/sympa/aliases after running the postalias command on it, but nothing changed, it seems that postfix doesn't see any aliases, or, this is my impression.

Thanks in advance for your support.




  • [sympa-users] problem: integrating sympa with postfix and dovecot, Simone Dal Maso, 03/18/2016

Archive powered by MHonArc 2.6.19+.

Top of Page