Email Configuration for Users from 2 Different Domains

Dear Dolibarr Community,

We have emails under 2 domain names, lets call them abc.com & abcindia.com. Both the domains have G Suite configured.

Now we are trying to configure emails and in the setup - email, we are using abc.com.
We are using SMTP Relay and Option A as per email configuration instructed in Setup EMails - Dolibarr ERP CRM Wiki

It is working perfectly for the domain name used in setup. But is there anyway to add another domain setup? We are unable to have users send emails who have their emails configured under abcindia.com

Appreciate the help.

Hi,

In Mode A, if you have selected “Accept All” then the SMTP configuration is based on IP address for relay and does not worry about domain names.

PHP send mail should be free to select any domain xyz.com if GSuite server allows that emails.

You may like to try sending a PHP send mail from abcindia.com to see it goes fine through GSuite.

Please check in the GSuite config whether it can accept any mail without the SPF / DMARC
in headers.

thanks
yesbee.

Thanks @RiseValInfotech,

These forums posts are usually very quiet. Which is not what you expect when the product is so amazing.
Anyway, Thank you for your response. I was able to resolve the issue with your help.

So in email settings in Dolibarr.
I used a username & password for the first domain abc.com, (Following the directions on tutorial by devs - Setup EMails - Dolibarr ERP CRM Wiki).

My users are divided into two domains - abc.com & abcindia.com
So, for the second domain abcindia.com, I turned the require SMTP authentication = off.

That did the trick. Hope this helps someone, somewhere if they ever need it.