Author Topic: Cyrus IMAP login problem  (Read 5872 times)

panos

  • Newbie
  • *
  • Posts: 2
Cyrus IMAP login problem
« on: June 26, 2017, 12:56:02 am »
Hi!, I bought a new phone and after I installed aqua mail I can't login any more into my private email server.

I use Cyrus IMAP with sasl_mech_list: plain login.

My logs is: plaintext (user@address) SASL(-13): authentication failure: cross-realm login (user@address) denied
But with Thunderbird I was able to login: user plain+TLS User logged in SESSIONID=<......>

Also from the aqua mail log:
Sending: SASL PLAIN (user@address)  ***
Data is <33>: kman2 NO authentication failure
Result for kman2: 1 authentication failure, traffic: 37 read, 88 write

The problem is on my side or aqua mail?

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Cyrus IMAP login problem
« Reply #1 on: June 26, 2017, 01:38:59 am »
It sounds like your server is expecting the login in the form of "user" (where you e-mail address is user@domain.com).
Aquamail by default puts the entire e-mail address in the "user" field. (It is easier to erase something then to type.. - I am guessing...)

When you are creating/setting up an account, erase the domain portion and "@".

panos

  • Newbie
  • *
  • Posts: 2
Re: Cyrus IMAP login problem
« Reply #2 on: June 26, 2017, 04:34:53 am »
It sounds like your server is expecting the login in the form of "user" (where you e-mail address is user@domain_com).
Aquamail by default puts the entire e-mail address in the "user" field. (It is easier to erase something then to type.. - I am guessing...)

When you are creating/setting up an account, erase the domain portion and "@".

Thank you! Your information's helped me to find the problem.
I added loginrealms: hostname_address to my imapd.conf and now everything are working perfect!
Also it was a nice opportunity to add some more settings...

It took me a minute to realize aqua mail defaults sync only the inbox folder.
After enable all of my folders my accounts is complete.

Thanks again.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Cyrus IMAP login problem
« Reply #3 on: June 26, 2017, 04:30:45 pm »
I am glad it helped you solving the problem.
Yes, configuring that realm on the server side is a possible alternative.

As for the folders, - not all people have multiple folders, and for those who have, not all folders need to be synced. E.g., for one of the accounts, I have over 500 folders. Many of them are sitting there for historic/archival reasons, so, that I could go back to one of them if/when needed, but those "projects" are closed. Besides, syncing 500 folders would bring my phone to its knees.
So, Aquamail doesn't link any other folders beyond the Inbox and a handful of other "special" ones.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Cyrus IMAP login problem
« Reply #4 on: June 27, 2017, 08:40:18 pm »
Quote
Aquamail by default puts the entire e-mail address in the "user" field. (It is easier to erase something then to type.. - I am guessing...)

It just works better with large providers -- which allow foo@domain1 and foo@domain2 ... foo@domian3 and those are all distinct users / accounts, but the mail servers are the same. This can only possibly work with "full" logins.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/