Skip to Content.
Sympa Menu

en - Re: [sympa-users] Installing sympa on debian 8 - getting started

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Flemming Bjerke <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Installing sympa on debian 8 - getting started
  • Date: Tue, 6 Jun 2017 07:42:31 +0200

Sorry, I somehow missed my postfix configuration in my first post. Here it is:

=======================

POSTFIX

Configure postfix (https://doc.cliss21.com/index.php?title=Installation_de_Sympa):

nano /etc/postfix/master.cf

Add:

sympa   unix        -   n   n   -   -   pipe
    flags=R user=sympa argv=/usr/lib/sympa/bin/queue ${recipient}
sympabounce unix    -   n   n   -   -   pipe
    flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${recipient}

Define sympa and sympabounce::

nano /etc/postfix/transport_regexp_sympa

/^.*-owner\@listes\.domaine\.tld$/ sympabounce:
/^.*\@listes\.domaine\.tld$/       sympa:

nano /etc/postfix/main.cf

Add:

# Tranport to sympa
transport_maps = regexp:/etc/postfix/transport_regexp_sympa
local_recipient_maps = regexp:/etc/postfix/transport_regexp_sympa
# One mail at a time, only
sympa_destination_recipient_limit = 1
sympabounce_destination_recipient_limit = 1

Also add the domain or subdomain (e.g. sub.example.com) you use for sympa
mydestination = $myhostname, ..., example.com

Then reload postfix:

service postfix reload

========================

I notice that you use aliases, while my setup use transport_maps. It looks like the transport solution is the best one, but I am not sure:

http://www.folly.org.uk/sympa/sympa_config_03.html

Though, this page is from 2008.

I wonder why you don't need something like:

/^(.*)\@project\.example\.com$/ project.example.com-$1

in: 

 /etc/mail/sympa/aliases

Incidentally, there is also this:

https://www.sympa.org/faq/postfix

but it is not exactly simplifying the answer ....

flem






Archive powered by MHonArc 2.6.19+.

Top of Page