Giter Club home page Giter Club logo

Comments (25)

User10987654321 avatar User10987654321 commented on May 28, 2024 1

If I interpreted what you said correctly, you have the hydroxide server on a different IP address? If so, you'll have to modify and recompile in order to change the listening IP addresses until it says 0.0.0.0.

it's running on the same ip address - that's why I'm able to query it for password

from hydroxide.

Staubgeborener avatar Staubgeborener commented on May 28, 2024 1

Line 222 and line 226, change "127.0.0.1" to "0.0.0.0"

Make sure to recompile

no luck, after changing those two lines, compiling everything with go build ./cmd/hydroxide/main.go and re-creating a bridge password it's still showing me 127.0.0.1 instead 0.0.0.0. Changing this manual by my own in thunderbird leads to an error.

Edit: oh, but ./hydroxide serve shows the correct one, it's only wrong in thunderbird.

2023/05/12 09:03:47 CardDAV server listening on 127.0.0.1:8080
2023/05/12 09:03:47 IMAP server listening on 0.0.0.0:1143
2023/05/12 09:03:47 SMTP server listening on 0.0.0.0:1025
2023/05/12 09:03:47 listen tcp 127.0.0.1:8080: bind: address already in use

But my problem is still the same, doesn't matter if i try 127.0.0.1, 0.0.0.0 or 192.168.178.34, i'll get the same error message.

@User10987654321 This is what i was talking about before. You have to change connection security to none instead STARTTLS.
5

Edit 2: Ok, found the issue. I run hydroxide right now on my working station with powershell. Running .\main.exe serve (main.exe = hydroxide) is leaving the hydroxide server open and listening. On the other hand, running these commands on my home server like ./hydroxide serve, i only get a small output of the open ports and that the server is listening but immediately after that the server seems to close and i can enter other stuff in my terminal. In powershell, i can see the server logs the whole time. But even after running hydroxide like ./hydroxide serve & to leave the server open, i still can't connect to thunderbird. But on the other hand, running hydroxide on my working station works flawlessly and i can synchronize my emails.

from hydroxide.

Staubgeborener avatar Staubgeborener commented on May 28, 2024

I have the same issue. A lot of people say, you have to get rid of the @protonmail.com appendix for the username for icmp/smtp. So for example, if your email address is [email protected] you should use mymail as the username for icmp/smtp.
Also, you have to choose "no security" instead of TLS/whatever.

I tried this, still no luck, but maybe it's working for you?

from hydroxide.

User10987654321 avatar User10987654321 commented on May 28, 2024

I have the same issue. A lot of people say, you have to get rid of the @protonmail.com appendix for the username for icmp/smtp. So for example, if your email address is [email protected] you should use mymail as the username for icmp/smtp. Also, you have to choose "no security" instead of TLS/whatever.

I tried this, still no luck, but maybe it's working for you?

So is it possible to sign into proton on a self-hosted mail reader using hydroxide, or is this more closely related to thunderbird?
Is hydroxide even functioning properly for emersion? If this issue really is because of thunderbird, I could consider just using another email client. Otherwise, I don't think it can be said that hydroxide is remotely functional.

from hydroxide.

recanman avatar recanman commented on May 28, 2024

Thunderbird works for me, do you have connection logs from the server?
I changed the SMTP and IMAP servers to listen on 0.0.0.0 instead of 127.0.0.1 because I have it running in a container, but I connect to the IP address with the standard ports (it will tell you when you run hydroxide serve), with security set to automatic. I use the full [email protected] and the bridge password.

Make sure your advanced configuration is actually saving and you're not connecting to protonmail.com.

from hydroxide.

Staubgeborener avatar Staubgeborener commented on May 28, 2024

@recanman

Make sure your advanced configuration is actually saving and you're not connecting to protonmail.com.

Maybe you can explain this more with screenshots?

In my case, the most annoying stuff: I run hydroxide on my home server (native, not inside a container), i can reach this home server and all it's service by it's ip address. Let's say the ip address is 192.168.178.34.
Now of course i can't use 127.0.0.1 or 0.0.0.0 on my working station, but i have to use 192.168.178.34 instead.

Port 8080 is truly used right now, but right now i don't want to use CardDAV anyway.

1
2
3
4

from hydroxide.

User10987654321 avatar User10987654321 commented on May 28, 2024

thunderbirderror
I get this error when trying to connect to my hydroxide server that's running on $ ./hydroxide/main serve 2023/05/12 02:16:55 IMAP server listening on 127.0.0.1:1143 2023/05/12 02:16:55 SMTP server listening on 127.0.0.1:1025 2023/05/12 02:16:55 CardDAV server listening on 127.0.0.1:8080
I don't see logs for hydroxide in journalctl - if they're existent somewhere else I suppose that could be helpful. arch btw
It hangs on 'checking password' for a few minutes before throwing 'Unable to log in at server. Probably wrong configuration, username or password'. This occurs every time I run with main serve running. If 'main serve` isn't running, I get 'Thunderbird failed to find settings for your email account'.

from hydroxide.

recanman avatar recanman commented on May 28, 2024

You don't click "Re-test", you click "Advanced config". It's pretty weird.

Make sure that you have the settings on the right for the second screenshot. There is no encryption.

from hydroxide.

recanman avatar recanman commented on May 28, 2024

If I interpreted what you said correctly, you have the hydroxide server on a different IP address? If so, you'll have to modify and recompile in order to change the listening IP addresses until it says 0.0.0.0.

from hydroxide.

recanman avatar recanman commented on May 28, 2024

thunderbirderror

I get this error when trying to connect to my hydroxide server that's running on `$ ./hydroxide/main serve

2023/05/12 02:16:55 IMAP server listening on 127.0.0.1:1143

2023/05/12 02:16:55 SMTP server listening on 127.0.0.1:1025

2023/05/12 02:16:55 CardDAV server listening on 127.0.0.1:8080`

I don't see logs for hydroxide in journalctl - if they're existent somewhere else I suppose that could be helpful. arch btw

It hangs on 'checking password' for a few minutes before throwing 'Unable to log in at server. Probably wrong configuration, username or password'. This occurs every time I run with main serve running. If 'main serve` isn't running, I get 'Thunderbird failed to find settings for your email account'.

Make sure to click Advanced config, it is unusual but worked for me.

from hydroxide.

Staubgeborener avatar Staubgeborener commented on May 28, 2024

@recanman

Make sure that you have the settings on the right for the second screenshot. There is no encryption.

I mean, yeah sure, i'm in the advanced settings. But what next? I already changed connection security to None instead STARTTLS.

If I interpreted what you said correctly, you have the hydroxide server on a different IP address?

Yes, hydroxide is running on a different ip address. There are two computers: My home server with 192.168.178.24 (which is running hydroxide) and my working station, which is running thunderbird.

If so, you'll have to modify and recompile in order to change the listening IP addresses until it says 0.0.0.0.

Is there a command to do so or which line in which files has to be changed?

from hydroxide.

recanman avatar recanman commented on May 28, 2024

Line 222 and line 226, change "127.0.0.1" to "0.0.0.0"

Make sure to recompile

from hydroxide.

User10987654321 avatar User10987654321 commented on May 28, 2024

and what are you supposed to do in 'advanced config' once you click it?

from hydroxide.

recanman avatar recanman commented on May 28, 2024

It should save the configuration, as opposed to clicking "re-test" which doesn't use the advanced configuration.

from hydroxide.

User10987654321 avatar User10987654321 commented on May 28, 2024

It should save the configuration, as opposed to clicking "re-test" which doesn't use the advanced configuration.

if I do that and try to send an email, I get Sending of the message failed. An error occurred while sending mail: Unable to establish a secure link with Outgoing server (SMTP) 127.0.0.1 using STARTTLS since it doesn't advertise that feature. Switch off STARTTLS for that server or contact your service provider

from hydroxide.

User10987654321 avatar User10987654321 commented on May 28, 2024

Okay - when I set the outgoing server connection security to 'None' I get 'Login to server 127.0.0.1 with username [email protected] failed.' and
imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer imap/server: 2023/05/12 02:55:34 cannot send response: write tcp 127.0.0.1:1143->127.0.0.1:58518: write: connection reset by peer
in the terminal messages of ./main serve

This is what happens when I try to send an email.

from hydroxide.

User10987654321 avatar User10987654321 commented on May 28, 2024

Also, when I try to 'get messages' from my inbox, I get the error: Non-overridable TLS error occurred. Handshake error or probably the TLS version or certificate used by server 127.0.0.1 is incompatible

from hydroxide.

recanman avatar recanman commented on May 28, 2024

Make sure to set ingoing server to None, both SMTP and IMAP should not have any encryption applied.

from hydroxide.

User10987654321 avatar User10987654321 commented on May 28, 2024

Make sure to set ingoing server to None, both SMTP and IMAP should not have any encryption applied.

If I set both to none and try to send a message, I get Login to server 127.0.0.1 with username [email protected] failed. and once I press cancel on that message, I get the message Sending of message failed. Unable to authenticate Outgoing server (SMTP) 127.0.0.1. Please check the password and verify the 'Authentication method' in 'Account Settings | Outgoing server (SMTP)'.

from hydroxide.

acheong08 avatar acheong08 commented on May 28, 2024

I got it working today after some trial and error.

image

Make sure @protonmail.com isn't part of the username in manual configuration.

from hydroxide.

acheong08 avatar acheong08 commented on May 28, 2024

image

Make sure this is set so you don't get annoying errors when Sent folder does not exist

from hydroxide.

HyperCriSiS avatar HyperCriSiS commented on May 28, 2024

I have the same issue and tried everything. I just always get the message that no preferences for my e-Mail account.

  • The bridge runs on a Raspberry.
  • UFW ports are open.
  • In the advanced settings I set "no connection security" and "auto detect authentication method."
  • Host is the Raspberry IP.
  • I run the hydroxide IMAP server with:
  • ./hydroxide -imap-host 0.0.0.0 imap - so it listens for connections from all IPs.
  • I tried with just username and also with [email protected]

hydroxide status shows 1 logged in user.

Any ideas what could be wrong?

Thanks
Hyper

from hydroxide.

HyperCriSiS avatar HyperCriSiS commented on May 28, 2024

ok, WTF, it does work when creating the new account instead of test connection. Really strange TB bug.
BTW. The login e-mail address is case sensitive!

from hydroxide.

ma-04 avatar ma-04 commented on May 28, 2024

Had similar issue and as noted by @HyperCriSiS , hydroxide is CASE SENSITIVE!!
@emersion Can you add this to the doc?

from hydroxide.

Jirido avatar Jirido commented on May 28, 2024

I have same problem but only with addresses with a dot "." in the user name like [email protected]
It is probably quite easy to fix.

from hydroxide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.