mutliple domains / apps > postifx

9 views
Skip to first unread message

tom

unread,
Jul 16, 2018, 10:48:02 AM7/16/18
to Ruby on Rails: Talk
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

Hassan Schroeder

unread,
Jul 16, 2018, 1:41:54 PM7/16/18
to rubyonrails-talk
I've never used Postfix but there's this:

http://www.postfix.org/MULTI_INSTANCE_README.html

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,
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

botp

unread,
Jul 16, 2018, 2:18:06 PM7/16/18
to rubyonra...@googlegroups.com
On Mon, Jul 16, 2018 at 10:47 PM, tom <toma...@gmail.com> wrote:
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.

​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


Reply all
Reply to author
Forward
0 new messages