OTRS 5 Can't connect to gmail

Moderator: crythias

Locked
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

OTRS 5 Can't connect to gmail

Post by pituca »

Hello guys,

I had searched the web and forum but up to now cant find a solution to this issue. I cant get OTRS to connect to either smpts or pop3s prototols of my gmail e-mail addresses. I have used SMTPS/465 and POP3S/995 and I get always an error message saying the authentication has failed, however, if I use any of my coorporate e-mail accout it work perfectly with both.

Config:
OTRS 5
Ubuntu 14.04
MariaDB
AWS EC2 Instance

Note: I have all outgoing traffic open and have even tried open ports 465 and 995

Thank you
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
coolmf
Znuny newbie
Posts: 37
Joined: 02 Nov 2015, 16:29
Znuny Version: 5.0.26

Re: OTRS 5 Can't connect to gmail

Post by coolmf »

So, perhaps pop/imap needs to be activated in Gmail
Start here: https://support.google.com/mail/topic/3398031
OTRS 5.0.26 with ITSM, and FAQ module on CentOS 7 with MariaDB and Apache
Using LDAPS for customers and agents against Azure AD
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: OTRS 5 Can't connect to gmail

Post by pituca »

coolmf wrote:So, perhaps pop/imap needs to be activated in Gmail
Start here: https://support.google.com/mail/topic/3398031
Too bad but it doesnt work. and the issue I have is only with Gmail. What else should I try?
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS 5 Can't connect to gmail

Post by reneeb »

Can you connect to gmail with an application outside OTRS (telnet, other mail application, ...)? Do you have a firewall that blocks outgoing traffic to gmail? Did you double check the setting?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: OTRS 5 Can't connect to gmail

Post by pituca »

Hi reneeb,

I think the problem is that apparently Google is blocking it because I receive a message that says:
someone tried to sign i to your google account from an app that doesnt meet moderm security standards
with the subject
Sign-in attempt prevented
and even though I turn on "Access for less secure apps" in Gmail, it still happen.

Thank you for help.
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS 5 Can't connect to gmail

Post by reneeb »

Can you check if IMAPTLS works? Google may prohibit SSL connections and requires TLS...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked