Author Topic: Enhanced Integration using Gmail  (Read 4277 times)

Offline Hershel

  • Full Member
  • ***
  • Posts: 154
  • Country: ca
  • Karma: +1/-0
    • View Profile
Enhanced Integration using Gmail
« on: May 26, 2015, 01:40:37 PM »
We have been using Gmail as an email relay for some of our clients that are just using SMPT forwarding but I am trying to configure things so that they synchronization.  The documentation is I have found isn't very specific when it comes to Gmail so I was wondering if anyone who has setup this up might be able to put together a quick cheat sheet.

Thanking you in advance


Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #1 on: May 26, 2015, 04:41:16 PM »
Hershel,

Try this document and see if it helps with your issue.

Thanks,

TE

Offline Hershel

  • Full Member
  • ***
  • Posts: 154
  • Country: ca
  • Karma: +1/-0
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #2 on: May 27, 2015, 11:17:19 AM »
TE, thank you this is exactly the type of thing I was trying to find.

Where did you get this? 

Offline jcpearce2005

  • Contributer
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #3 on: May 27, 2015, 05:00:26 PM »
I am not trying to do enhanced integtration just forward and copy, its version 6.0SP1 and the gateway is setup with smtp.gmail.com and port 587 but I keep getting. Any ideas anyone? Thanks

May 27 16:48:02 voicemail exim[12652]: 1YxiF8-0003I4-JK <= voicemail@osioffices.com U=root P=local S=30442 T="[0:02] Message for MB 11463 from a caller at (571) 839-0000"
May 27 16:48:05 voicemail exim[12655]: 1YxiF8-0003I4-JK ** ais.plll@gmail.com R=smarthost T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<voicemail@osioffices.com> SIZE=31973: host gmail-smtp-msa.l.google.com [173.194.204.108]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 j60sm56238qge.38 - gsmtp
May 27 16:48:05 voicemail exim[12658]: 1YxiFB-0003IA-Ac <= <> R=1YxiF8-0003I4-JK U=mail P=local S=31532 T="Mail delivery failed: returning message to sender"


Offline jcpearce2005

  • Contributer
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #4 on: May 27, 2015, 05:42:03 PM »
More info, it looks like in the log below, it does not authenticate with AUTH LOGIN
The debug says
"in hosts_require_auth? no (option unset)"

What hots file, where is such an option?

JP



May 27 17:27:58 voicemail debug: Calling SSL_read(0xe1768, 0xbea817a3, 4096)
May 27 17:27:58 voicemail debug: read response data: size=211
May 27 17:27:58 voicemail debug:   SMTP<< 250-mx.google.com at your service, [209.136.211.194]
May 27 17:27:58 voicemail debug:          250-SIZE 35882577
May 27 17:27:58 voicemail debug:          250-8BITMIME
May 27 17:27:58 voicemail debug:          250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
May 27 17:27:58 voicemail debug:          250-ENHANCEDSTATUSCODES
May 27 17:27:58 voicemail debug:          250-PIPELINING
May 27 17:27:58 voicemail debug:          250-CHUNKING
May 27 17:27:58 voicemail debug:          250 SMTPUTF8
May 27 17:27:58 voicemail debug: 74.125.29.108 in hosts_avoid_pipelining? no (option unset)
May 27 17:27:58 voicemail debug: using PIPELINING
May 27 17:27:58 voicemail debug: 74.125.29.108 in hosts_require_auth? no (option unset)
May 27 17:27:58 voicemail debug: gethostbyname looked up these IP addresses:
May 27 17:27:58 voicemail debug:   name=gmail-smtp-msa.l.google.com address=74.125.22.108
May 27 17:27:58 voicemail debug:   name=gmail-smtp-msa.l.google.com address=74.125.22.109
May 27 17:27:58 voicemail debug: 74.125.29.108 in hosts_try_auth? no (end of list)
May 27 17:27:58 voicemail debug:   SMTP>> MAIL FROM:<> SIZE=3473
May 27 17:27:58 voicemail debug:   SMTP>> RCPT TO:<voicemail@osioffices.com>
May 27 17:27:58 voicemail debug:   SMTP>> DATA
May 27 17:27:58 voicemail debug: tls_do_write(0xbea813a3, 66)
May 27 17:27:58 voicemail debug: SSL_write(SSL, 0xbea813a3, 66)
May 27 17:27:58 voicemail debug: outbytes=66 error=0
May 27 17:27:58 voicemail debug: waiting for data on socket
May 27 17:27:58 voicemail debug: Calling SSL_read(0xe1768, 0xbea817a3, 4096)
May 27 17:27:58 voicemail debug: read response data: size=145
May 27 17:27:58 voicemail debug:   SMTP<< 530-5.5.1 Authentication Required. Learn more at
May 27 17:27:58 voicemail debug:          530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 w17sm111261qkw.32 - gsmtp
May 27 17:27:58 voicemail debug: waiting for data on socket
May 27 17:27:58 voicemail debug: Calling SSL_read(0xe1768, 0xbea817a3, 4096)
May 27 17:27:58 voicemail debug: read response data: size=145
May 27 17:27:58 voicemail debug:   SMTP<< 530-5.5.1 Authentication Required. Learn more at
May 27 17:27:58 voicemail debug:          530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 w17sm111261qkw.32 - gsmtp
May 27 17:27:58 voicemail debug: waiting for data on socket
May 27 17:27:58 voicemail debug: Calling SSL_read(0xe1768, 0xbea817a3, 4096)
May 27 17:27:58 voicemail debug: read response data: size=145
May 27 17:27:58 voicemail debug:   SMTP<< 530-5.5.1 Authentication Required. Learn more at
May 27 17:27:58 voicemail debug:          530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 w17sm111261qkw.32 - gsmtp
May 27 17:27:58 voicemail debug: ok=0 send_quit=1 send_rset=1 continue_more=0 yield=0 first_address is not NULL
May 27 17:27:58 voicemail debug:   SMTP>> QUIT


Offline johnp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2202
  • Country: us
  • Karma: +66/-0
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #5 on: May 27, 2015, 10:03:00 PM »
As to the hijack, what version are you running?

Offline jcpearce2005

  • Contributer
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #6 on: May 27, 2015, 11:41:43 PM »
Uhh, the fact that I don't know what that means is not a good sign. HiJack? Is that a program?

I have written a somewhat complicated work around (but is quite nifty) I took an open source SMTP Server  modified its code to take the message, convert the sound file to the necessary bit and encoding standards, send it to google and or HP, wait for the transcription (about 20 seconds total) then repackage the sound file, with the transcription and send it along encrypted to the client. Its thread safe & should scale.

But I still would like the option of doing it directly. The version of the Intertel is V6SP1

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #7 on: May 28, 2015, 08:08:37 AM »
Quote
I took an open source SMTP Server  modified its code to take the message, convert the sound file to the necessary bit and encoding standards, send it to google and or HP, wait for the transcription (about 20 seconds total) then repackage the sound file, with the transcription and send it along encrypted to the client.

Did I understand you correctly?  You're using Google to do "Speech to Text"?

Ralph

Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Enhanced Integration using Gmail
« Reply #8 on: May 28, 2015, 10:22:26 AM »
jcpearce2005,

First of all you can't use the smtp.gmail.com to do forward and copy as we do not try to authenticate with TLS or SSL when doing a forward and copy. So what you have to do is use the following link aspmx.l.google.com and make sure that you are set for port 25 not 587; when you changed that port it didn't really try to do anything other than a plain text authentication on port 587.

That should fix your problem and have you up and running in a couple of minutes as I have set those up hundreds of times with no issues. If you want a more detailed understanding of how each work with Gmail then look at this link.

https://support.google.com/a/answer/176600?hl=en

Thanks,

TE


 

Sitemap 1 2 3 4 5 6 7 8 9 10