From: deja3-user on
I have a host that serves three domains. It has a front-channel ip
and a back-channel ip for each domain, needed for firewalls. I'd can
use inet_interfaces and properly bind each domain, and that works.
What doesn't work is that I can't get it to send to the inside
interface for inside emails and use the outside interface for outside
emails.

Picture this:

172.16.0.10 123.45.67.89
inside outside

inet_interfaces = 172.16.0.10, 127.0.0.1, 123.45.67.89

Sending an email from the internet to the 123. address for the domain
works fine. The problem arises when a machine on the 172 network
sends to the 172 interface. It accepts the email, but the mx record
for the domain on the 172. network points to a 172 address. Postfix
is trying to send from the 123 address.

What I'd like is for postfix to use the internal 172 interface for
172. domains, and the 123 interface for external domains. If I only
had one domain here, I'd just set inet_interfaces to all and it works
fine. Why doesn't the smtp_bind_address definition accept more than
one ip here? That would seemingly solve my problem.

 | 
Pages: 1
Prev: Another always_bcc problem..
Next: Time problem