Page 1 of 2

[popfetcher] login not possible

Posted: Tue Oct 01, 2013 9:04 am
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

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 9:46 am
by garvinhicking
Hi!

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

Regards,
Garvin

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 9:47 am
by kleinerChemiker
does this plugin support encrypted connections?

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 9:54 am
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

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 9:57 am
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.

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 10:18 am
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.

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 4:29 pm
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

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 8:15 pm
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.

Re: [popfetcher] login not possible

Posted: Tue Oct 01, 2013 8:20 pm
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

Re: [popfetcher] login not possible

Posted: Wed Oct 02, 2013 7:45 am
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 :(

Re: [popfetcher] login not possible

Posted: Wed Oct 02, 2013 9:14 am
by Timbalu

Re: [popfetcher] login not possible

Posted: Wed Oct 02, 2013 10:04 am
by bernd_d

Re: [popfetcher] login not possible

Posted: Wed Oct 02, 2013 3:18 pm
by garvinhicking
Hi!

That's odd, this version should've been there a long time...

Re: [popfetcher] login not possible

Posted: Wed Oct 02, 2013 3:43 pm
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...

Re: [popfetcher] login not possible

Posted: Wed Oct 02, 2013 3:47 pm
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...