Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Assaf Yakir
configure SMTP per instance/company
April 15, 2010 7:49 AM
Answer

Assaf Yakir

Rank: New Member

Posts: 17

Join Date: January 30, 2009

Recent Posts

Hi everyone,

I've been searching on this topic for days now, and I'm sure i'm not the only one.

Is there a way to configure a different mail server for each portal instance/company? For example, in an ASP situation where each instance stands for a seperate client website, and of course we'd like for outgoing mail to go through the client's mail server or mx domain for each website / instance.

What happens now is that client A with the instance "companyA.com" gets an email from "name@main-instance-host.com". And so do clients B, C and so on.

And let's say client A has his own users at "companyA.com", they get messages from "name@main-instance-smtp-host.com" instead of "companyA.com". And another issue is the contact form, via web form portlet, since in this case one size doesn't fit all.

So the way I see it, if we can set the SMTP per portal instance it will be much more organized from an enterprise poin of view.

Am I missing something here? or perhaps we could try handling this at the mail server side, rules and forwarding. But that's just plain ugly.

Would appreciate any assistance or idea.

Assaf
María José
RE: configure SMTP per instance/company
November 15, 2012 2:38 AM
Answer

María José

Rank: New Member

Posts: 10

Join Date: November 3, 2008

Recent Posts

Hi Assaf,

You are right, you are not the only one!! There is another problem with the only-one smtp server when I use gmail: my mails are identified as spam!

Any idea?

Thank you!
David H Nebinger
RE: configure SMTP per instance/company
November 15, 2012 5:39 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11100

Join Date: September 1, 2006

Recent Posts

Multiple SMTP services are not supported. However, you have the source so you can work on an EXT plugin to add it in.

As said before, YOU SHOULD NOT USE GMAIL AS A MAIL SERVER!. It should be of no surprise that these emails get marked as spam.

If you're a legitimate organization you already have a mail server, or at least contracted w/ a mail service company to act as your MX host.