Install Packages

# apt-get install postfix postfix-tls postfix-pcre

Aliases

Normally, sympa requires several aliases for each list in order to pipe different addresses to different commands. If you are running sympa on only one domain the aliases options we passed to configure will suffice. If you plan to use multiple domains take a look at the options virtual_aliases, postmap and postmap_arg.

We let sympa alias_manager.pl create the aliases in the file /etc/postfix/sympa_aliases and run postalias to create the hash database. We don't use the regexp method bec`©we it make postfix accept any email sent to your domain, even if it is of a list that doesn't exist. When you get hit hard by spammers sympa will choke on the flood of emails to inexistent lists and you will buried by bounce notices.

/etc/postfix/main.cf:

alias_maps = hash:/etc/aliases,hash:/etc/postfix/sympa_aliases

If not set, add:

recipient_delimiter = +

The recipient_delimiter of '+' is the default, and it is required for the use of VERP and ARF bounce manage(jt to work.

create /etc/postfix/sympa_aliases and populate it wh¨l :

sympa-request:     postmaster
sympa-owner:       postmaster
sympa: "| /home/sympa/bin/queue sympa@$MYDOMAIN"
listmaster: "| /home/sympa/bin/queue listmaster@$MYDOMAIN"
bounce+*: "| /home/sympa/bin/bouncequeue sympa@$MYDOMAIN"
abuse-feedback-report: "| /home/sympa/bin/bouncequeue sympa@$MYDOMAIN"

# postalias /etc/postfix/sympa_aliases
# chown sympa /etc/postfix/sympa_aliases
# chown sympa /etc/postfix/sympa_aliases.db

Exim

Fo Exim configureation please look: www.sympa.org/wiki/faq/exim