pop3 not working on gmail

Moderator: crythias

Locked
waelkd
Znuny newbie
Posts: 62
Joined: 18 May 2012, 11:53
Znuny Version: 3.1.5

pop3 not working on gmail

Post by waelkd »

i went step by step, with guide, enabled pop on gmail, wrote password on text file then copy pasted it into fields and still same propblem, pop3,pop3s,imap all not working.


i mean i dont understand,ive enabled all of them on gmail and i tried a different domain and it worked , it works perfectly except on gmail.

any ideas? is it a gmail otrs conflict thingy?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: pop3 not working on gmail

Post by jojo »

what error do you get?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
waelkd
Znuny newbie
Posts: 62
Joined: 18 May 2012, 11:53
Znuny Version: 3.1.5

Re: pop3 not working on gmail

Post by waelkd »

POP3S: Auth for user xx@gmail.com/pop.gmail.com failed!

and all my credinatials are right i quadruple checked them
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: pop3 not working on gmail

Post by crythias »

Make sure pop is enabled in your settings.
Make sure you don't need application specific password (sounds like you don't.)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Davero
Znuny newbie
Posts: 4
Joined: 14 Jun 2012, 15:47
Znuny Version: 3.1.4

Re: pop3 not working on gmail

Post by Davero »

I had the same issue, the error message is misleading: "POP3S: Auth for user xx@gmail.com/pop.gmail.com failed!" as the connection itself could not be established.

I found out, that the perl library IO::Socket::SSL uses both IPv6 and IPv4. Since google activated IPv6 the DNS entry for pop.googlemail.com mostly returns an IPv6 address not working for the socket connection.

As a workaround I copied /opt/otrs/Kernel/System/MailAccount/POP3S.pm to /opt/otrs/Custom/Kernel/System/MailAccount and made the following change:

POP3S.pm
from

Code: Select all

use IO::Socket::SSL;
to

Code: Select all

use IO::Socket::SSL 'inet4';
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: pop3 not working on gmail

Post by jojo »

can you open a bug? I think it should be configurable then
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Davero
Znuny newbie
Posts: 4
Joined: 14 Jun 2012, 15:47
Znuny Version: 3.1.4

Re: pop3 not working on gmail

Post by Davero »

How and where can I open a bug?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: pop3 not working on gmail

Post by crythias »

click the link in my signature.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Davero
Znuny newbie
Posts: 4
Joined: 14 Jun 2012, 15:47
Znuny Version: 3.1.4

Re: pop3 not working on gmail

Post by Davero »

Thank you. I opened a bug.
stormfox
Znuny newbie
Posts: 4
Joined: 24 Feb 2012, 21:53
Znuny Version: 31100
Real Name: Rikwin de Vos
Company: LBi Netherlands
Location: The Netherlands
Contact:

Re: pop3 not working on gmail

Post by stormfox »

We managed to use Gmail with the following settings:

Type : IMAPS
username : xxx@gmail.com
password : password
Host : 74.125.79.109
Thrusted : No


Rikwin
LBi
Davero
Znuny newbie
Posts: 4
Joined: 14 Jun 2012, 15:47
Znuny Version: 3.1.4

Re: pop3 not working on gmail

Post by Davero »

Yes, thank you. I forgot to mention this workaround, it worked for us too. Entering the ip address for the gmail server makes DNS obsolete. You would have to monitor any ip change by google to use it in prod environments, so this is not a workaround I wanted to use.
Locked