Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

changing Port in AdvancedSetup has no effect (on Android/iOS) #683

Open
nayooti opened this issue May 22, 2019 · 2 comments
Open

changing Port in AdvancedSetup has no effect (on Android/iOS) #683

nayooti opened this issue May 22, 2019 · 2 comments
Labels
discussion normally disussions should take place at https://support.delta.chat

Comments

@nayooti
Copy link

nayooti commented May 22, 2019

I was implementing a custom Port field in the AdvancedAccount Setup. Changing the port in IMAP to random number still allowed me to receive messages. Login was via oAUTH2.

Same happened on Android.

  • Delta Chat Core Version:
  • Expected behavior:
  • Actual behavior:
  • Steps to reproduce the problem:
  • Screenshots:
  • Logs:
@hpk42
Copy link
Contributor

hpk42 commented May 22, 2019 via email

@r10s
Copy link
Member

r10s commented May 22, 2019

@nayooti thanks for filing the issue. sorry that i could not answer this question in the a/v directly.

just had a look. @hpk42 is right. if you define a port that does not work, dc_configure() checks some different known ports.

this is also logged, if such a fallback happens, some Trying: ... lines are added to the log.

same happens also for the username that is tested with and without the domain-part and for starttls vs. ssl.

in general, i think this is okay. i think the most important thing is to get a connection - wrong parameters may come from autoconfigure/autodiscover for $reasons (outdated, http-subdomain-config does not match mail-config etc.) EDIT: this is not true, if we get an autoconfig, we do not probe at all.

sure, the drawback is that it is harder to debug. but if we stop the probing (which is done only after failures), things may get harder for the user.

@r10s r10s added the discussion normally disussions should take place at https://support.delta.chat label May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
discussion normally disussions should take place at https://support.delta.chat
Projects
None yet
Development

No branches or pull requests

3 participants