I'm using chroot environments as a form of virtualization of two mail systems. The main system has a basic ethernet interface eth0 with IP0 and two aliases: eth0:1 and eth0:2 with IP1 and IP2. Each chrooted system is running its own postfix with IPx configured in /etc/postfix/master.cf.
The problem shows up when postfix sends a message. Although it's configured to use either IP1 or IP2, the receiving server sees it as IP0. IP0 is not resolved as a valid domain address, hence many servers reject my mail. The question is probably more about setting up Linux to use aliases instead of basic IP0. Any suggestions? -- ToMasz