" /> Email Server Multiple Domain with multiple email accounts and Office 365 - Genesys CTI User Forum

Author Topic: Email Server Multiple Domain with multiple email accounts and Office 365  (Read 2910 times)

Offline Alex99

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Advertisement
Hi All expert here,

        I have genesys email server which needs to configure to use two domain with multiple email accounts on each. How can we configure for two domain as we can only put one SMTP server on email server config?
      One domain is local email server and another domain is office 365. I have tried with the local email server, both inbound outbound working fine. For inbound we can set multiple email account by using multiple pop-client. But for outbound, don't know where to configure for multiple email as I can only put one SMTP config using one email. How to set up for multiple outbound email account?
    and  I also tried with office 365 inbound is working fine but outbound..it doesn't go anywhere, can not find any interaction in logs as well.Any idea, is it SMTP setting?
      Both domain I tested separately as don't know how to set up two domain account on one genesys email server. Can anyone advise me soonest?

Thanks!

Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #1 on: December 29, 2021, 04:58:47 PM »
Maybe you can create and install two instances of Email Servers. In the email routing strategy you can select which server to choose in which case.

Offline Alex99

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #2 on: December 30, 2021, 10:22:21 AM »
Hi Janis,

    I will try to install two instances if there's no other way,  so each instance will serve for each domain. Inbound should be ok for multiple user email accounts. How can I make it work for outbound email to be able to use multiple user email accounts? Any idea?


Thanks!

Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #3 on: December 30, 2021, 10:27:29 AM »
[quote author=Alex99 link=topic=12221.msg54602#msg54602 date=1640859741]
How can I make it work for outbound email to be able to use multiple user email accounts?
[/quote]

As I said, select right instance of Email Server in outbound routing.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #4 on: December 30, 2021, 04:02:27 PM »
Are these domains on different mail servers? Or same? If on same, you can set a "main" account to send in behalf of another account, so the only thing that changes is the FROM address.
Ask your Mail admin on those security settings on your mail server

Offline Alex99

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #5 on: December 31, 2021, 10:14:24 AM »
Hi cavagnaro,

    They are on different two domain. For each domain, we got a few email accounts that need to use separately to receive emails and send outbound. Inbound can separately receive now as we used different pop-client and inbound flow. Having outbound issue, as it's only reflected the email address we used in smtp connection, even though I choose to send different outbound FROM address. How to make it to show individual email addresses for outbound.

Thanks!

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #6 on: December 31, 2021, 04:03:35 PM »
As Janis mentioned, ESJ supports only one SMTP account per instance, so what you need to do is in your strategy to choose based on the From address, which is selected in the WDE or whatever Front-end your agents have, which ESJ should be used in the Send Mail block.
If from = a or b or c use ESJ1, else, use ESJ2
There is no way to make it simple if that is what you expect.


Enviado de meu SM-N9600 usando o Tapatalk


Offline Alex99

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #7 on: January 17, 2022, 02:30:00 PM »
Hi cavagnaro,Janis,

    I have already tried with 2 esj instances and 2 smtp and working. Still having issue with multiple accounts for outbound email on same domain.
eg: I have 2x emails address to use outbound for same domain (domain1.com) eg: support@domain1.com, sale@domain1.com
on my SMTP --> User field --> configured email address as user support@domain1.com
for inbound, created 2xpop-client for support and sale ...> inbound are working fine --email can reach each mailbox accordingly
When sending outbound,on WDE i can choose FROM address whether support or sale to use
I can send out outbound email when I am using FROM as support@domain1.com. If I use sale@domain1.com to send outbound, email server responsed 'No Valid recipients found" and email just stuck. If I changed my SMTP user to sale@domain1.com, sale email can send out but for support email having same issue. What kind of user account should use to able to send outbound for both emails since they are on same domain?
      In this case ., how can I make it work for both emails to be able to send outbound ? Is there any specific options,values need to setup?

    Kindly advise...

Offline Alex99

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #8 on: January 17, 2022, 03:20:59 PM »
'StatServer[framework01:2020:statserver_routing_common_aws_p]' - Reporting engine:14:2040
2022-01-17T12:54:32.574 Trc 26021 ...distributing message with ReportingEventSequenceNumber '1267870517' to client 'StatServer[framework01:2020:statserver_routing_common_aws_b]' - Reporting engine:15:2044
2022-01-17T12:54:32.714 Trc 26201 Received ESP response message 'ExternalServiceFault' ('502') from client 'esj_tmi_aws_p' - Third party server:1476, current queue size: 0, message attributes:
attr_ref_id [int] = 60
attr_envelope [list, size (unpacked)=668] =
'AppName' [str] = "esj_tmi_aws_p"
'AppType' [str] = "EMAIL_SERVER"
'Service' [str] = "Email"
'Method' [str] = "Send"
'Parameters' [list] = (size=120)
'FaultCode' [str] = "912"
'FaultString' [str] = "04:54:32.714 Server: esj_tmi_aws_p Msg: Bad address(es) : No valid recipients found"[/list]

Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #9 on: January 19, 2022, 01:44:10 PM »
Are you reading the documentation? :)

SMTP user option:
[i]Specifies the name used to log in to the corporate e-mail server. This option applies only when you have set enable-authentication to true.[/i]

Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Email Server Multiple Domain with multiple email accounts and Office 365
« Reply #10 on: January 19, 2022, 01:47:26 PM »
'No Valid recipients found" error is related to To address in your outbound email. It can not be the same as defined in pop-client (to prevent looping back).