Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom-login-mapping does not work #1012

Open
darnokb opened this issue Apr 27, 2016 · 9 comments
Open

custom-login-mapping does not work #1012

darnokb opened this issue Apr 27, 2016 · 9 comments

Comments

@darnokb
Copy link

darnokb commented Apr 27, 2016

Hello,

I have installed plugin custom-login-mapping v1.0 from admin panel and... it does not work.
I have mapped as follows:

user@domain.tld:user

and in log file:

[20:42:43.359][51abd159] INFO[DATA]: [DATE:27.04.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:20747][nginx/1.2.1][fpm-fcgi]
[20:42:43.359][51abd159] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[20:42:43.359][51abd159] REQUEST[NOTE]: [POST] https://domain.tld/index.php/apps/rainloop/app/?/Ajax/&q[]=/0/
[20:42:43.361][51abd159] AJAX[NOTE]: Action: DoAdminPluginSettingsUpdate
[20:42:43.362][51abd159] POST[DATA]: {"Name":"custom-login-mapping","_mapping":"usr@domain.tld:user","Action":"AdminPluginSettingsUpdate","XToken":"31ac7615dde67fda4de7f70b7ba5c05d"}
[20:42:43.368][51abd159] AJAX[DATA]: {"Action":"AdminPluginSettingsUpdate","Result":true,"Time":27}
[20:42:43.371][51abd159] INFO[MEMORY]: Memory peak usage: 6MB
[20:42:43.371][51abd159] INFO[TIME]: Time delta: 0.028517961502075

[20:42:50.872][1136c6fc] INFO[DATA]: [DATE:27.04.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:20747][nginx/1.2.1][fpm-fcgi]
[20:42:50.872][1136c6fc] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[20:42:50.873][1136c6fc] REQUEST[NOTE]: [GET] https://domain.tld/index.php/apps/rainloop/app/?OwnCloudAuth
[20:42:50.874][1136c6fc] LOGIN[DATA]: The email address "user" is not complete
[20:42:51.876][1136c6fc] INFO[NOTICE]: exception 'RainLoop\Exceptions\ClientException' with message 'InvalidInputArgument[903]' in /media/c58a500a-c7fe-4ca7-a15b-24ee7fe94bfd/ownCloud/apps/rainloop/app/rainloop/v/1.9.4.402/app/libraries/RainLoop/Actions.php:2152

I am using ownCloud with Rainloop and I want to achive logging with ownCloud login (user) to rainloop. I do not want to use email address as login in ownCloud and cannot set default domain in RainLoop because people who are using RainLoop has got different domains with their emails account.

Could you please help or fix custom-login-mapping? It seems that this plugin is not working properly :(

@ervee
Copy link
Contributor

ervee commented May 3, 2016

If I remember correctly, the plug-in works the other way around. Login with email address in RainLoop is mapped to an IMAP user.

You want to login with a user, mapped to an IMAP email login.

I don't think that's possible.

@darnokb
Copy link
Author

darnokb commented May 3, 2016

@ervee , thank you for your response. Appreciate it.
Unfortunately, it does not make any sense, because in RainLoop, in admin panel, within Domain section, when you edit domain there is "Use short login" and hint "user@domain.com → user".
As I understood this is what you are saying.

Maybe I am wrong, I am not RainLoop expert :(
But what I would like to achive is use just login such as "user1" and I would like that it will be bind to e-mail "user1@domain1.tld" and "user2" bind to "user2@domain2.tld"
What is more - I am using RainLoop as app for ownCloud.
Maybe e-mail address from Personal tab of ownCloud can be used somehow as login for RainLoop?

Anybody has got any idea how to do it?
@RainLoop maybe you can help me?

@ervee
Copy link
Contributor

ervee commented May 3, 2016

Hi, the "Use short login" just strips the @domain.tld from the login email address and passes the part before @domain.tld to the IMAP Server for login.

The Plugin goes a step further. If you put this in the plugin config:
user.name@domain.tld:useralias
Then when a user uses "user.name@domain.tld" to login, RainLoop will NOT pass user.name@domain.tld (or user.name if you use "short login") to IMAP, but useralias.

What if you disable "short login" and put this in the plugin:
user1:user1@domain1.tld
user2:user2@domain2.tld
?

@darnokb
Copy link
Author

darnokb commented May 3, 2016

@ervee , thank you for your fast response!
Unfortunately, it does not help. Still problem with logging in.

Logs from RainLoop:
[11:51:29.087][391a6145] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18992][nginx/1.2.1][fpm-fcgi]
[11:51:29.088][391a6145] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:29.088][391a6145] REQUEST[NOTE]: [POST] https://domain0.tld/index.php/apps/rainloop/app/?/Ajax/&q[]=/0/
[11:51:29.090][391a6145] AJAX[NOTE]: Action: DoAdminPluginSettingsUpdate
[11:51:29.091][391a6145] POST[DATA]: {"Name":"custom-login-mapping","_mapping":"user1:user1@domain1.tld\nuser2:user2@domain2.tld","Action":"AdminPluginSettingsUpdate","XToken":"31ac7615dde67fda4de7f70b7ba5c05d"}
[11:51:29.097][391a6145] AJAX[DATA]: {"Action":"AdminPluginSettingsUpdate","Result":true,"Time":27}
[11:51:29.100][391a6145] INFO[MEMORY]: Memory peak usage: 5.75MB
[11:51:29.100][391a6145] INFO[TIME]: Time delta: 0.028472900390625

[11:51:33.875][ef3baaba] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18815][nginx/1.2.1][fpm-fcgi]
[11:51:33.876][ef3baaba] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:33.876][ef3baaba] REQUEST[NOTE]: [GET] https://domain0.tld/index.php/apps/rainloop/app/?admin
[11:51:33.948][ef3baaba] INFO[MEMORY]: Memory peak usage: 5.75MB
[11:51:33.948][ef3baaba] INFO[TIME]: Time delta: 0.088051080703735

[11:51:34.713][d7796480] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18968][nginx/1.2.1][fpm-fcgi]
[11:51:34.714][d7796480] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:34.714][d7796480] REQUEST[NOTE]: [GET] https://domain0.tld/index.php/apps/rainloop/app/?/AdminAppData/0/10060215605750755/
[11:51:34.730][d7796480] APPDATA[DATA]: window.rainloopAppData={"Version":"1.9.4.402","Auth":true,"AccountHash":"","WebPath":"/apps/rainloop/app/","WebVersionPath":"/apps/rainloop/app/rainloop/v/1.9.4.402/","AccountSignMe":false,"AuthAccountHash":"","MailToEmail":"","Email":"","DevEmail":"","DevPassword":"","Title":"domain0.tld","LoadingDescription":"domain0.tld","LoadingDescriptionEsc":"domain0.tld","FaviconUrl":"","LoginDescription":"","LoginPowered":true,"LoginLogo":"","LoginBackground":"","LoginCss":"","UserLogo":"","UserLogoTitle":"","UserLogoMessage":"","UserCss":"","WelcomePageUrl":"","WelcomePageDisplay":"none","IncludeCss":"","IncludeBackground":"","Token":"31ac7615dde67fda4de7f70b7ba5c05d","InIframe":false,"AllowAdminPanel":true,"AllowHtmlEditorSourceButton":false,"AllowHtmlEditorBitiButtons":false,"AllowCtrlEnterOnCompose":false,"UseRsaEncryption":false,"RsaPublicKey":"","CustomLoginLink":"","CustomLogoutLink":"","LoginDefaultDomain":"","DetermineUserLanguage":true,"DetermineUserDomain":false,"UseLoginWelcomePage":false,"ForgotPasswordLinkUrl":"","RegistrationLinkUrl":"","ContactsIsAllowed":false,"ChangePasswordIsAllowed":false,"RequireTwoFactor":false,"JsHash":"cb475dd7f490d682c2a69256b442675b","UseImapThread":true,"UseImapSubscribe":true,"AllowAppendMessage":false,"MaterialDesign":true,"FolderSpecLimit":50,"StartupUrl":"","FaviconStatus":true,"Filtered":false,"Community":true,"PremType":false,"Admin":[],"Capa":["FOLDERS","MESSAGELIST_ACTIONS","DANGEROUS_ACTIONS","RELOAD","QUOTA","SETTINGS","ADDITIONAL_ACCOUNTS","IDENTITIES","THEMES","USER_BACKGROUND","FILTERS","SIEVE","HELP","ATTACHMENTS_ACTIONS","MESSAGE_ACTIONS","COMPOSER","CONTACTS","SEARCH","SEARCH_ADV","GRAVATAR","ATTACHMENT_THUMBNAILS","PREFETCH"],"AttachmentsActions":["zip","owncloud"],"Plugins":{"video-on-login-screen":{"mp4_file":"","webm_file":"","ogv_file":"","playback_rate":"100%","muted":true}},"AllowDropboxSocial":false,"DropboxApiKey":"","AdminDomain":"domain0.tld","AdminLogin":"admin","UseTokenProtection":true,"EnabledPlugins":true,"VerifySslCertificate":false,"AllowSelfSigned":true,"MySqlIsSupported":true,"SQLiteIsSupported":true,"PostgreSqlIsSupported":true,"ContactsEnable":false,"ContactsSharing":true,"ContactsSync":false,"ContactsPdoType":"sqlite","ContactsPdoDsn":"mysql:host=127.0.0.1;port=3306;dbname=rainloop","ContactsPdoUser":"root","ContactsPdoPassword":"********","AllowGoogleSocial":false,"AllowGoogleSocialAuth":false,"AllowGoogleSocialAuthFast":false,"AllowGoogleSocialDrive":false,"AllowGoogleSocialPreview":false,"GoogleClientID":"","GoogleClientSecret":"","GoogleApiKey":"","AllowFacebookSocial":false,"FacebookAppID":"","FacebookAppSecret":"","AllowTwitterSocial":false,"TwitterConsumerKey":"","TwitterConsumerSecret":"","SubscriptionEnabled":true,"WeakPassword":false,"CoreAccess":true,"PhpUploadSizes":{"upload_max_filesize":"10G","post_max_size":"10G"},"SupportedFacebookSocial":true,"ProjectHash":"33f2eebcc5b3a558862b38b94d762ce9","Themes":["Default","A","Blurred","DarkShine","Linen","Love","Snow","Squares","SquaresDark","Stripes","Wood","Xv","Clear"],"Languages":["ar_SA","bg_BG","cs_CZ","de_DE","en_GB","en_US","es_ES","fr_FR","hu_HU","is_IS","it_IT","ja_JP","ko_KR","lt_LT","lv_LV","nb_NO","nl_NL","pl_PL","pt_BR","pt_PT","ro_RO","ru_RU","sk_SK","sv_SE","tr_TR","uk_UA","zh_CN","zh_TW"],"LanguagesAdmin":["de_DE","en_US","fr_FR","it_IT","nb_NO","nl_NL","pl_PL","pt_BR","ru_RU"],"AllowLanguagesOnSettings":true,"AllowLanguagesOnLogin":true,"AttachmentLimit":104857600,"SignMe":"DefaultOff","UseLocalProxyForExternalImages":false,"ShowImages":false,"MPP":20,"SoundNotification":false,"DesktopNotifications":false,"Layout":1,"EditorDefaultType":"Html","UseCheckboxesInList":true,"AutoLogout":30,"UseThreads":false,"ReplySameFolder":false,"ContactsAutosave":true,"EnableTwoFactor":false,"ParentEmail":"","InterfaceAnimation":true,"UserBackgroundName":"","UserBackgroundHash":"","Theme":"Default","NewThemeLink":"./?/Css/0/Admin/-/Default/-/33f2eebcc5b3a558862b38b94d762ce9/Hash/-/","Language":"pl_PL","LanguageAdmin":"pl_PL","UserLanguageRaw":"pl_PL","UserLanguage":"pl_PL","UserLanguageAdmin":"pl_PL","LangLink":"./?/Lang/0/Admin/pl_PL/33f2eebcc5b3a558862b38b94d762ce9/","TemplatesLink":"./?/Templates/0/Admin/33f2eebcc5b3a558862b38b94d762ce9/","PluginsLink":""};if(window.__rlah_set){__rlah_set()};
[11:51:34.733][d7796480] INFO[MEMORY]: Memory peak usage: 6MB
[11:51:34.734][d7796480] INFO[TIME]: Time delta: 0.036495208740234

[11:51:35.118][a0e07e51] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18992][nginx/1.2.1][fpm-fcgi]
[11:51:35.118][a0e07e51] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:35.119][a0e07e51] REQUEST[NOTE]: [GET] https://domain0.tld/index.php/apps/rainloop/app/?/Css/0/Admin/-/Default/-/33f2eebcc5b3a558862b38b94d762ce9/Hash/-/
[11:51:35.126][a0e07e51] INFO[MEMORY]: Memory peak usage: 5.75MB
[11:51:35.126][a0e07e51] INFO[TIME]: Time delta: 0.023694038391113

[11:51:35.314][455fbdd5] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18815][nginx/1.2.1][fpm-fcgi]
[11:51:35.315][455fbdd5] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:35.315][455fbdd5] REQUEST[NOTE]: [GET] https://domain0.tld/index.php/apps/rainloop/app/?/Templates/0/Admin/33f2eebcc5b3a558862b38b94d762ce9/
[11:51:35.436][455fbdd5] INFO[MEMORY]: Memory peak usage: 6.5MB
[11:51:35.436][455fbdd5] INFO[TIME]: Time delta: 0.13141894340515

[11:51:35.620][ce0ddda3] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18968][nginx/1.2.1][fpm-fcgi]
[11:51:35.621][ce0ddda3] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:35.621][ce0ddda3] REQUEST[NOTE]: [GET] https://domain0.tld/index.php/apps/rainloop/app/?/Lang/0/Admin/pl_PL/33f2eebcc5b3a558862b38b94d762ce9/
[11:51:35.823][ce0ddda3] INFO[MEMORY]: Memory peak usage: 6MB
[11:51:35.823][ce0ddda3] INFO[TIME]: Time delta: 0.21293997764587

[11:51:36.983][36133277] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18992][nginx/1.2.1][fpm-fcgi]
[11:51:36.984][36133277] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:36.984][36133277] REQUEST[NOTE]: [POST] https://domain0.tld/index.php/apps/rainloop/app/?/Ajax/&q[]=/0/
[11:51:36.986][36133277] AJAX[NOTE]: Action: DoAdminPluginList
[11:51:36.987][36133277] POST[DATA]: {"Action":"AdminPluginList","XToken":"31ac7615dde67fda4de7f70b7ba5c05d"}
[11:51:36.993][36133277] AJAX[DATA]: {"Action":"AdminPluginList","Result":[{"Name":"custom-login-mapping","Enabled":true,"Configured":false},{"Name":"add-x-originating-ip-header","Enabled":true,"Configured":false},{"Name":"video-on-login-screen","Enabled":true,"Configured":false},{"Name":"cpanel-change-password","Enabled":true,"Configu...
[11:51:36.995][36133277] INFO[MEMORY]: Memory peak usage: 5.75MB
[11:51:36.996][36133277] INFO[TIME]: Time delta: 0.027680158615112

[11:51:38.784][da221e47] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:18815][nginx/1.2.1][fpm-fcgi]
[11:51:38.784][da221e47] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:51:38.784][da221e47] REQUEST[NOTE]: [GET] https://domain0.tld/index.php?logout=true&requesttoken=I04rW3AKOz5OHk47M2FVElcxKQoUCTUBQTQVYR46%3Ak%2Bli5rPWxzzyx2ehovYdQlrLqFO%2Bgq
[11:51:38.786][da221e47] INFO[MEMORY]: Memory peak usage: 5.25MB
[11:51:38.787][da221e47] INFO[TIME]: Time delta: 0.018029928207397

[11:52:11.485][fda45d4d] INFO[DATA]: [DATE:03.05.16][RL:1.9.4.402][PHP:5.4.45-0+deb7u2][IP:::ffff:10.0.0.59][PID:19016][nginx/1.2.1][fpm-fcgi]
[11:52:11.485][fda45d4d] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][ownCloud:true][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[11:52:11.486][fda45d4d] REQUEST[NOTE]: [GET] https://domain0.tld/index.php/apps/rainloop/app/?OwnCloudAuth
[11:52:11.488][fda45d4d] LOGIN[DATA]: The email address "user1" is not complete
[11:52:12.491][fda45d4d] INFO[NOTICE]: exception 'RainLoop\Exceptions\ClientException' with message 'InvalidInputArgument[903]' in /media/c58a500a-c7fe-4ca7-a15b-24ee7fe94bfd/ownCloud/apps/rainloop/app/rainloop/v/1.9.4.402/app/libraries/RainLoop/Actions.php:2152

Configuration of plugin-custom-login-mapping:
[plugin]
mapping = "user1:user1@domain1.tld
user2:user2@domain2.tld"

Any ideas?

Thank you!

@ervee
Copy link
Contributor

ervee commented May 3, 2016

[11:52:11.488][fda45d4d] LOGIN[DATA]: The email address "user1" is not complete

So the plugin does not work for user to email mapping. Too bad. Then I'm out of ideas. Other than have users login to OwnCloud with the email address. But you don't want that.

Perhaps RainLoop can use the user e-mail address from OwnCloud, I don't know. @RainLoop will have to comment on that.

@darnokb
Copy link
Author

darnokb commented May 3, 2016

RainLoop is also available from ownCloud site: https://apps.owncloud.com/content/show.php/RainLoop+Webmail?content=165254

There is information:

  • ownCloud (user):
    In the Settings > Personal > Type your mail server email (login) and password for autologin

I have provided my e-mail addres in the e-mail section of ownCloud, but still no luck.
As you saw from logs it is always taking my login name in ownCloud - user1.

@RainLoop is something wrong with my ownCloud instance or am I doing somethin wrong?
I have ownCloud 8.2.2.2

@RainLoop
Copy link
Owner

RainLoop commented May 3, 2016

First, a quick explanation of how RainLoop works in your case:

  1. You enter login: user1
  2. RainLoop try to append domain part of email from "Login / Default Domain" setting.
    user1 + @ + "Default Domain configuration"

or if "Try to determine user domain" is enabled RainLoop try to append "web domain" to your login.

So, if you do not want to use Default Domain configuration you cannot login into RainLoop.


"custom-login-mapping" plugin uses for other things:

For example, if your email: "user1@domain.com", but IMAP waits "user_1_domain_com" from you.

@darnokb
Copy link
Author

darnokb commented May 3, 2016

@RainLoop thank you for your response. Now it is clear for me.
What about this point:

ownCloud (user): In the Settings > Personal > Type your mail server email (login) and password for autologin

Is it possible to use credentials from ownCloud to log in to RainLoop? For example use e-mail address from Personal tab instead of using username? I saw in logs that ownCloud tries to pass login as email address to RainLoop.

@tomas4
Copy link

tomas4 commented Oct 23, 2020

I think I have the meaning of the plugin right, but it still does not work. The situation:
My e-mail address is in the form of Jan.Novak@example.com, IMAP username is in the form jano1234@example.com (actual email and user differs). The e-mail server is in fact outlook.com corporate account. I have added settings for the example.com domain.

Without using the plugin, I am able to get into my account and read and send e-mails, if I actually use jano1234@example.com as e-mail address when adding the account to RainLoop. But in this case jano1234@example.com is also the From: address in the sent e-mails. I can set the Reply-To: to the correct address, but many e-mail clients do not respect this and even in cases when they do, the recipient still sees my email as received from nonexistent address jano1234@example.com.

So I installed the plugin and set the rule according the hint in the window (email:user) to:
Jan.Novak@example.com:jano1234@example.com

But when I try to add the account by the address Jan.Novak@example.com with the plugin configured, I always get authentication failed, so it seems the plugin just does not work as stated in the issue title. If I use the username jano1234@example.com to create the account (but it surely is not right, since you are asked to fill e-mail, not username), then the situation is exactly the same as without the plugin as described above, i.e. wrong from: address - so the plugin has no effect either.
I also enabled logging during attempt to add the account with the Jan.Novak@example.com email and the jano1234 string is not in the logs anywhere. It seems the e-mail is being sent to the imap server as login name (email changed,plain text password replaced by "HIDDEN"):

`
[09:19:22.594][7d49b9df] INFO[DATA]: [DATE:23.10.20][OFFSET:-00][RL:1.12.1][PHP:7.3.19-1~deb10u1][IP:::1][PID:4008][nginx/1.14.2][fpm-fcgi]
[09:19:22.594][7d49b9df] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2]
[09:19:22.594][7d49b9df] REQUEST[NOTE]: [POST] http://localhost/rainloop/?/Ajax/&q[]=/_jyaic-lxRaQGmcaiKhZfyL63GmujeLyomb_11rcN-E-sM5YtQlSRzi5jNcjhrU-plEPvwdFYwH572FEbsOV7tTnlQQj051jdR8K72qS4EmhstEmxNTEtb9h-ZTDWJ_GI6LybjkQ9k8zh809JnDC5Bs-TSWYoBZntM1-ZMyj6rYZqKpMU7eTZe7BPJLwtJ9xWI8kTFKCv3vrei6UcYW2zxVM9cx8joX5LyKWWzgSVJgrviIXnh9IjlKqhLCtN9mVc88yyDCBbODJvBk9X2H8g_4tv6W3peq4iAmS-QvnGPRtr8GzmNV0X-Lx6SN2uW6evKyC9THjt-LIPs-fkZi8uUVoVe55KbtFKTgh72iPf_2DJDwXfojgiyE9WreoIWCkV/
[09:19:22.594][7d49b9df] AJAX[NOTE]: Action: DoAccountSetup
[09:19:22.594][7d49b9df] POST[DATA]: {"Email":"Jan.Novak@upce.cz","Password":"HIDDEN","New":"1","Action":"AccountSetup","XToken":"c4e6607fb4129d203ec2292b13470009"}
[09:19:22.595][7d49b9df] PLUGIN[NOTE]: Hook: filter.login-credentials
[09:19:22.595][7d49b9df] IMAP[NOTE]: Start connection to "ssl://imap-mail.outlook.com:993"
[09:19:22.652][7d49b9df] IMAP[NOTE]: Connected (success)
[09:19:22.701][7d49b9df] IMAP[DATA]: < * OK The Microsoft Exchange IMAP4 service is ready. [QQBNADAAUABSADAAMgBDAEEAMAAxADAAMgAuAGUAdQByAHAAcgBkADAAMgAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]\r\n
[09:19:22.701][7d49b9df] IMAP[DATA]: > TAG1 CAPABILITY\r\n
[09:19:22.718][7d49b9df] IMAP[DATA]: < * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+\r\n
[09:19:22.718][7d49b9df] IMAP[DATA]: < TAG1 OK CAPABILITY completed.\r\n
[09:19:22.718][7d49b9df] IMAP[DATA]: > TAG2 AUTHENTICATE PLAIN\r\n
[09:19:22.734][7d49b9df] IMAP[DATA]: < + \r\n
[09:19:22.735][7d49b9df] IMAP[SECURE]: > \r\n
[09:19:23.794][7d49b9df] IMAP[DATA]: < TAG2 NO AUTHENTICATE failed.\r\n
[09:19:23.794][7d49b9df] IMAP[WARNING]: MailSo\Imap\Exceptions\NegativeResponseException: MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1874) in /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php:1874
Stack trace:
#0 /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php(1951): MailSo\Imap\ImapClient->validateResponse(Array)
#1 /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php(281): MailSo\Imap\ImapClient->parseResponseWithValidation()
#2 /usr/share/rainloop/app/libraries/MailSo/Mail/MailClient.php(92): MailSo\Imap\ImapClient->Login('Jan.Novak@...', '
', '', true, false)
#3 /usr/share/rainloop/app/libraries/RainLoop/Model/Account.php(451): MailSo\Mail\MailClient->Login('Jan.Novak@...', '', '', true, false)
#4 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2078): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#5 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2329): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
#6 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2861): RainLoop\Actions->LoginProcess('Jan.Novak@...', '
', '', '', false, true)
#7 /usr/share/rainloop/app/libraries/RainLoop/ServiceActions.php(172): RainLoop\Actions->DoAccountSetup()
#8 /usr/share/rainloop/app/libraries/RainLoop/Service.php(146): RainLoop\ServiceActions->ServiceAjax('')
#9 /usr/share/rainloop/app/libraries/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#10 /usr/share/rainloop/app/libraries/RainLoop/Service.php(79): RainLoop\Service->__construct()
#11 /usr/share/rainloop/app/handle.php(94): RainLoop\Service::Handle()
#12 /usr/share/rainloop/include.php(228): include('/usr/share/rain...')
#13 /usr/share/rainloop/index.php(13): include('/usr/share/rain...')
#14 {main}
[09:19:23.794][7d49b9df] IMAP[NOTICE]: MailSo\Imap\Exceptions\NegativeResponseException: MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1874) in /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php:1874
Stack trace:
#0 /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php(1951): MailSo\Imap\ImapClient->validateResponse(Array)
#1 /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php(281): MailSo\Imap\ImapClient->parseResponseWithValidation()
#2 /usr/share/rainloop/app/libraries/MailSo/Mail/MailClient.php(92): MailSo\Imap\ImapClient->Login('Jan.Novak@...', '', '', true, false)
#3 /usr/share/rainloop/app/libraries/RainLoop/Model/Account.php(451): MailSo\Mail\MailClient->Login('Jan.Novak@...', '
', '', true, false)
#4 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2078): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#5 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2329): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
#6 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2861): RainLoop\Actions->LoginProcess('Jan.Novak@...', '*******', '', '', false, true)
#7 /usr/share/rainloop/app/libraries/RainLoop/ServiceActions.php(172): RainLoop\Actions->DoAccountSetup()
#8 /usr/share/rainloop/app/libraries/RainLoop/Service.php(146): RainLoop\ServiceActions->ServiceAjax('')
#9 /usr/share/rainloop/app/libraries/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#10 /usr/share/rainloop/app/libraries/RainLoop/Service.php(79): RainLoop\Service->__construct()
#11 /usr/share/rainloop/app/handle.php(94): RainLoop\Service::Handle()
#12 /usr/share/rainloop/include.php(228): include('/usr/share/rain...')
#13 /usr/share/rainloop/index.php(13): include('/usr/share/rain...')
#14 {main}

Next MailSo\Imap\Exceptions\LoginBadCredentialsException: MailSo-Imap-Exceptions-LoginBadCredentialsException (ImapClient.php ~ 312) in /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php:312
Stack trace:
#0 /usr/share/rainloop/app/libraries/MailSo/Mail/MailClient.php(92): MailSo\Imap\ImapClient->Login('Jan.Novak@...', '', '', true, false)
#1 /usr/share/rainloop/app/libraries/RainLoop/Model/Account.php(451): MailSo\Mail\MailClient->Login('Jan.Novak@...', '
', '', true, false)
#2 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2078): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#3 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2329): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
#4 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2861): RainLoop\Actions->LoginProcess('Jan.Novak@...', '', '', '', false, true)
#5 /usr/share/rainloop/app/libraries/RainLoop/ServiceActions.php(172): RainLoop\Actions->DoAccountSetup()
#6 /usr/share/rainloop/app/libraries/RainLoop/Service.php(146): RainLoop\ServiceActions->ServiceAjax('')
#7 /usr/share/rainloop/app/libraries/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#8 /usr/share/rainloop/app/libraries/RainLoop/Service.php(79): RainLoop\Service->__construct()
#9 /usr/share/rainloop/app/handle.php(94): RainLoop\Service::Handle()
#10 /usr/share/rainloop/include.php(228): include('/usr/share/rain...')
#11 /usr/share/rainloop/index.php(13): include('/usr/share/rain...')
#12 {main}
[09:19:23.795][7d49b9df] INFO[ERROR]: MailSo\Imap\Exceptions\NegativeResponseException: MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1874) in /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php:1874
Stack trace:
#0 /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php(1951): MailSo\Imap\ImapClient->validateResponse(Array)
#1 /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php(281): MailSo\Imap\ImapClient->parseResponseWithValidation()
#2 /usr/share/rainloop/app/libraries/MailSo/Mail/MailClient.php(92): MailSo\Imap\ImapClient->Login('Jan.Novak@...', '
', '', true, false)
#3 /usr/share/rainloop/app/libraries/RainLoop/Model/Account.php(451): MailSo\Mail\MailClient->Login('Jan.Novak@...', '', '', true, false)
#4 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2078): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#5 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2329): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
#6 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2861): RainLoop\Actions->LoginProcess('Jan.Novak@...', '
', '', '', false, true)
#7 /usr/share/rainloop/app/libraries/RainLoop/ServiceActions.php(172): RainLoop\Actions->DoAccountSetup()
#8 /usr/share/rainloop/app/libraries/RainLoop/Service.php(146): RainLoop\ServiceActions->ServiceAjax('')
#9 /usr/share/rainloop/app/libraries/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#10 /usr/share/rainloop/app/libraries/RainLoop/Service.php(79): RainLoop\Service->__construct()
#11 /usr/share/rainloop/app/handle.php(94): RainLoop\Service::Handle()
#12 /usr/share/rainloop/include.php(228): include('/usr/share/rain...')
#13 /usr/share/rainloop/index.php(13): include('/usr/share/rain...')
#14 {main}

Next MailSo\Imap\Exceptions\LoginBadCredentialsException: MailSo-Imap-Exceptions-LoginBadCredentialsException (ImapClient.php ~ 312) in /usr/share/rainloop/app/libraries/MailSo/Imap/ImapClient.php:312
Stack trace:
#0 /usr/share/rainloop/app/libraries/MailSo/Mail/MailClient.php(92): MailSo\Imap\ImapClient->Login('Jan.Novak@...', '', '', true, false)
#1 /usr/share/rainloop/app/libraries/RainLoop/Model/Account.php(451): MailSo\Mail\MailClient->Login('Jan.Novak@...', '
', '', true, false)
#2 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2078): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#3 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2329): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
#4 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2861): RainLoop\Actions->LoginProcess('Jan.Novak@...', '*******', '', '', false, true)
#5 /usr/share/rainloop/app/libraries/RainLoop/ServiceActions.php(172): RainLoop\Actions->DoAccountSetup()
#6 /usr/share/rainloop/app/libraries/RainLoop/Service.php(146): RainLoop\ServiceActions->ServiceAjax('')
#7 /usr/share/rainloop/app/libraries/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#8 /usr/share/rainloop/app/libraries/RainLoop/Service.php(79): RainLoop\Service->__construct()
#9 /usr/share/rainloop/app/handle.php(94): RainLoop\Service::Handle()
#10 /usr/share/rainloop/include.php(228): include('/usr/share/rain...')
#11 /usr/share/rainloop/index.php(13): include('/usr/share/rain...')
#12 {main}

Next RainLoop\Exceptions\ClientException: AuthError[102] in /usr/share/rainloop/app/libraries/RainLoop/Actions.php:2097
Stack trace:
#0 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2329): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
#1 /usr/share/rainloop/app/libraries/RainLoop/Actions.php(2861): RainLoop\Actions->LoginProcess('Jan.Novak@...', '*******', '', '', false, true)
#2 /usr/share/rainloop/app/libraries/RainLoop/ServiceActions.php(172): RainLoop\Actions->DoAccountSetup()
#3 /usr/share/rainloop/app/libraries/RainLoop/Service.php(146): RainLoop\ServiceActions->ServiceAjax('')
#4 /usr/share/rainloop/app/libraries/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#5 /usr/share/rainloop/app/libraries/RainLoop/Service.php(79): RainLoop\Service->__construct()
#6 /usr/share/rainloop/app/handle.php(94): RainLoop\Service::Handle()
#7 /usr/share/rainloop/include.php(228): include('/usr/share/rain...')
#8 /usr/share/rainloop/index.php(13): include('/usr/share/rain...')
#9 {main}
[09:19:23.795][7d49b9df] AJAX[DATA]: {"Action":"AccountSetup","Result":false,"ErrorCode":102,"ErrorMessage":"","ErrorMessageAdditional":"","Time":1213}
[09:19:23.796][7d49b9df] INFO[MEMORY]: Memory peak usage: 2MB
[09:19:23.796][7d49b9df] INFO[TIME]: Time delta: 1.2145619392395
[09:19:23.797][7d49b9df] IMAP[NOTE]: Disconnected from "ssl://imap-mail.outlook.com:993" (success)

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants