Tomasz Chmielewski wrote:
Victor Duchovni schrieb:
On Tue, Oct 07, 2008 at 10:31:40PM +0200, Tomasz Chmielewski wrote:

I have a server with several public IP addresses (aliases on one network card), running Postfix.

The machine also runs several websites, which interact with the users (forums, automated responses for queries etc.).

I would like to configure each "website" to send mails via a different IP address.

For example, if "website1" connects to 192.168.1.1:25, Postfix should try to deliver mail from this website via outgoing 192.168.1.1 address.

If "website2" connects to 192.168.2.2:25, Postfix should try to deliver mail from this website via outgoing 192.168.2.2 address.

And so on.



Maybe I missed something here given the previous replies but I do not think postfix binds to multiple ips as you want. To make this happen, you would need to create multiple instances of postfix with multiple queues and configs. Then this is easy.

Is it possible to do so in Postfix? So far, the system uses two outgoing addresses, but also using two separate MTAs (Exim and Postfix, each using a different outgoing address), which is suboptimal, and does not scale very well with additional IP addresses ;)

If all mail entering the server via SMTP leaves the server via SMTP
(no local deliveries, virtual mailbox deliveries, ...) such a policy
may be possible, but it is generally not necessary.

Hmm, how?


What real problem
does this solve?

No "real problem", more an "aesthetic" wish, where a website should be similar to its reverse DNS in email's headers. More, an exercise on how to use 3 IP addresses, but mostly, learning what can be done with Postfix and what can not be done (so far I've learned that in some aspects, it can be harder to configure than other MTAs, but offers really much more functionality/flexibility once you learn "how").


If you are onboarding low-volume email marketing
clients, and want to isolated their reputations from each other,
"good luck"...

Email marketing is legal so what is the problem here? Why does everyone throw the baby out with the bathwater?

I thought most "email marketing" comes from infected Windows boxes. At least my p0f seems to be indicating that :(


This would be the illegal form of marketing which is a problem and easily detected.

Reply via email to