[popfetcher] login not possible

Found a bug? Tell us!!
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

[popfetcher] login not possible

Post by bernd_d »

Today i tried to set up serendipity_event_popfetcher, but it can't be used because it can not login to my pop3-account :(
FEHLER: Login war nicht möglich (falsches Passowrt?).: POP3 user: Error []
username and password seems to be correct, i can fetch mails trough thunderbird with same settings.

mail server: pop.googlemail.com
port: 995

Serendipity 1.7.3
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [popfetcher] login not possible

Post by garvinhicking »

Hi!

Port 995 is encrypted,I believe. The popfetcher AFAIK only supports plain POP3.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [popfetcher] login not possible

Post by garvinhicking »

Hi!

No, it uses the a pop3 classfile which does not seem to be able to parse encrypted protocols. We would need to use a completely different POP3 library, however I don't think there's a compatible API to the one used, so also the whole plugin would need to be adapted to a new library.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: [popfetcher] login not possible

Post by kleinerChemiker »

ups, you were a few seconds fster than me ;)
is it possible with php to use encrypted connections? maybe i'll have a look at it then.
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: [popfetcher] login not possible

Post by bernd_d »

Why shouldn't it use encrypted connections?!?
POP3 Service Port. Falls auf 995 eingestellt, dann wird POP3 über SSL probiert. Voreinstellung ist 110.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [popfetcher] login not possible

Post by garvinhicking »

Hi!

You are right. Seems I had tomatoes on my eyes. In fact the pop3 library does utilize ssl:// protocal ports.

Does your PHP installation have the "openssl" module compiled in and active? You should see taht in a phpinfo() output...?

The error message you get seems to happen if the connect() is possible, but the login() is rejected. Are you absolutely sure that your username&passwords are properly entered? Do you maybe have special characters (Umlauts, Spaces, ...) in either username or password? Maybe the cannot get transmitted properly due to charset issues.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: [popfetcher] login not possible

Post by bernd_d »

garvinhicking wrote:Does your PHP installation have the "openssl" module compiled in and active? You should see taht in a phpinfo() output...?
Yes, it is. We have already checked this (i think for my ssl-pingback-problem).
garvinhicking wrote:The error message you get seems to happen if the connect() is possible, but the login() is rejected. Are you absolutely sure that your username&passwords are properly entered?
Copy&Paste from KeePassX. So everything should be ok with them.
garvinhicking wrote:Do you maybe have special characters (Umlauts, Spaces, ...) in either username or password? Maybe the cannot get transmitted properly due to charset issues.
Just upper- and lowercase letters, digits, minus and underscore. And of course @ and point within username (e-mail). No umlauts or spaces.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [popfetcher] login not possible

Post by yellowled »

bernd_d wrote:Copy&Paste from KeePassX. So everything should be ok with them.
C&P'ing passwords to web forms sometimes does not work because for some weird reason (no idea what it is, actually), the browser or the C&P mechanism adds a trailing space. Not sure if that's the case here, but I thought I'd mention it.

YL
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: [popfetcher] login not possible

Post by bernd_d »

Hmmmm. Today, there has been an Update for POPfetcher. Don't know, why it hasn't been there yesterday :shock:
version: 1.36; Aktuelle version 1.43
With this new 1.43 there is a new setting "use APOP?" which should be set to "no" by default. In my case (i don't know why) it has been set to "yes". I have switched back to "no" and now i can fetch Gmail.

Don't know what has been changed in meantime, changelog is only for 1.36 but nothing newer :(
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [popfetcher] login not possible

Post by Timbalu »

Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: [popfetcher] login not possible

Post by bernd_d »

garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [popfetcher] login not possible

Post by garvinhicking »

Hi!

That's odd, this version should've been there a long time...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [popfetcher] login not possible

Post by Timbalu »

Could be this:
http://board.s9y.org/viewtopic.php?f=3& ... #p10435683

I always thought this would be good to have been fixed, since their might be some more users out there not being notified about updates...
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [popfetcher] login not possible

Post by garvinhicking »

But once the plugin would be enabled again, the spartacus update would be able to update the plugin... I don't think this is a real concern...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply