mutliple domains / apps > postifx

hi,

i was wondering if someone could point me in the right direction:

i have 3 rails apps on the same server, each needs to send out emails. its all working, but app2 & app3 are sending under the domain name of app1, which is not good. how do you guys fix that?

thx

I've never used Postfix but there's this:

Managing multiple Postfix instances on a single host

Alternatively, using a 3rd-party app (Mandrill, Sendgrid, Postmark) lets you dispense with local configuration and more easily scale up (change/add servers, etc.).

FWIW,

​1 on rails: make sure each app is sending on each own (different/separate) domain 2 on the mta: make sure virtual domains​ contain those 3 domains

best regards --botp