Pietro Abate

postfix

use postfix to setup a satellite host and maquerading

It's actually pretty easy. On the client side you need to specify your hostname, your origin and the relay host. For example:

myhostname = dev.localnet.xen
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = dev.localnet.xen, dev, localhost
relayhost = [mail.localnet.xen]
mynetworks = 127.0.0.0/8

Mydestination must not be set otherwise mail will be delivered locally. Server side you need first rewrite

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.