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

sieve-Addon cannot connect to sieve server after TB update to version 24 #26

Closed
HolySephi opened this Issue Sep 19, 2013 · 40 comments

Comments

Projects
None yet
@HolySephi

HolySephi commented Sep 19, 2013

Connection worked right before the update. After the update to version 24 the sieve window just tries to connect forever (or loads forever)

There are no messages in the debug console even after turning all sieve debug settings on.

@lkraav

This comment has been minimized.

Show comment
Hide comment
@lkraav

lkraav Sep 19, 2013

Yes, seeing the same thing

lkraav commented Sep 19, 2013

Yes, seeing the same thing

@manuelm

This comment has been minimized.

Show comment
Hide comment
@manuelm

manuelm commented Sep 19, 2013

👍

@tborgans

This comment has been minimized.

Show comment
Hide comment
@tborgans

tborgans Sep 19, 2013

same problem here

tborgans commented Sep 19, 2013

same problem here

@thsmi

This comment has been minimized.

Show comment
Hide comment
@thsmi

thsmi Sep 19, 2013

Owner

Thunderbird introduced numerous API changes which broke Thunderbird's backward compatibility. So everything above Thunderbird 20 is incompatible with the addons 0.2.2 release.

Try the extensions most recent nightly build. You get it at https://github.com/thsmi/sieve/tree/master/nightly .

There is one outstanding bug ( Issue 4) which needs to be fixed before 0.2.3 will be accepted by Mozilla. The addon uses Thunderbirds restartless api. But this api suffers from a design flaw. It does not implement an asynchronous cleanup method. But such a method is needed when dealing with protocols. Which makes a workaround difficult...

As there's no quick fix it's unlikely that 0.2.3 will be release within the next month. So just stick with the nightly build. It should update automatically to 0.2.3 upon release. I leave this bug open until 0.2.3 is released.

Owner

thsmi commented Sep 19, 2013

Thunderbird introduced numerous API changes which broke Thunderbird's backward compatibility. So everything above Thunderbird 20 is incompatible with the addons 0.2.2 release.

Try the extensions most recent nightly build. You get it at https://github.com/thsmi/sieve/tree/master/nightly .

There is one outstanding bug ( Issue 4) which needs to be fixed before 0.2.3 will be accepted by Mozilla. The addon uses Thunderbirds restartless api. But this api suffers from a design flaw. It does not implement an asynchronous cleanup method. But such a method is needed when dealing with protocols. Which makes a workaround difficult...

As there's no quick fix it's unlikely that 0.2.3 will be release within the next month. So just stick with the nightly build. It should update automatically to 0.2.3 upon release. I leave this bug open until 0.2.3 is released.

@tborgans

This comment has been minimized.

Show comment
Hide comment
@tborgans

tborgans Sep 19, 2013

works for me, thx

tborgans commented Sep 19, 2013

works for me, thx

@cmur2

This comment has been minimized.

Show comment
Hide comment
@cmur2

cmur2 Oct 3, 2013

Great, the nightly works! Keep up your good work!

cmur2 commented Oct 3, 2013

Great, the nightly works! Keep up your good work!

@WhyCantIUseMyEmailAddress

This comment has been minimized.

Show comment
Hide comment
@WhyCantIUseMyEmailAddress

WhyCantIUseMyEmailAddress Oct 8, 2013

Also doesn't work on Seamonkey 2.21 and the nightly is apparently not compatible.

WhyCantIUseMyEmailAddress commented Oct 8, 2013

Also doesn't work on Seamonkey 2.21 and the nightly is apparently not compatible.

@thsmi

This comment has been minimized.

Show comment
Hide comment
@thsmi

thsmi Oct 8, 2013

Owner

Seamokey support was dropped years ago. Because the user base was tiny / non existent (less than 20 active users) and lots of code e.g. the tabbed interface is incompatible to Thunderbird.

But its an open source project, so feel free to submit a patch to restore Seamonkey compatibility.

Owner

thsmi commented Oct 8, 2013

Seamokey support was dropped years ago. Because the user base was tiny / non existent (less than 20 active users) and lots of code e.g. the tabbed interface is incompatible to Thunderbird.

But its an open source project, so feel free to submit a patch to restore Seamonkey compatibility.

@stroobandt

This comment has been minimized.

Show comment
Hide comment
@stroobandt

stroobandt Oct 11, 2013

Thanks for the nightly build. This also resolved this issue over here.

stroobandt commented Oct 11, 2013

Thanks for the nightly build. This also resolved this issue over here.

@Merlin90

This comment has been minimized.

Show comment
Hide comment
@Merlin90

Merlin90 Oct 14, 2013

Please fix the addon for TB 24, we use this addon at work and can't use a nightly build :/

Merlin90 commented Oct 14, 2013

Please fix the addon for TB 24, we use this addon at work and can't use a nightly build :/

@dererk

This comment has been minimized.

Show comment
Hide comment
@dererk

dererk Nov 2, 2013

I confirm nightly build 0.2.3d (at least) has fix this issue, that is present as for 0.2.2 respects.

Thanks!

dererk commented Nov 2, 2013

I confirm nightly build 0.2.3d (at least) has fix this issue, that is present as for 0.2.2 respects.

Thanks!

@cladmi

This comment has been minimized.

Show comment
Hide comment
@cladmi

cladmi Nov 24, 2013

Thank you, the nightly builds works fine. I installed the release version for the fist time a few days ago, and kept looking at what was broken on my server configuration.

This correction should be made available as soon as possible as it may happen to new users, as it happened to me.

cladmi commented Nov 24, 2013

Thank you, the nightly builds works fine. I installed the release version for the fist time a few days ago, and kept looking at what was broken on my server configuration.

This correction should be made available as soon as possible as it may happen to new users, as it happened to me.

@TabTwo

This comment has been minimized.

Show comment
Hide comment
@TabTwo

TabTwo Dec 2, 2013

build 0.2.3d did the trick with v.24.1.1 on OSX

TabTwo commented Dec 2, 2013

build 0.2.3d did the trick with v.24.1.1 on OSX

@wconley

This comment has been minimized.

Show comment
Hide comment
@wconley

wconley Jan 30, 2014

Build 0.2.3d worked for me also, using Thunderbird 24.2.0 on OpenSuse 11.4. Thanks for the good work!

wconley commented Jan 30, 2014

Build 0.2.3d worked for me also, using Thunderbird 24.2.0 on OpenSuse 11.4. Thanks for the good work!

@dschuermann

This comment has been minimized.

Show comment
Hide comment
@dschuermann

dschuermann Feb 17, 2014

0.2.3d works for me too. Thunderbird 24.3.0 (own install) on Debian stable. Please release a new version as soon as possible to addons.mozilla to fix the current situation :)

dschuermann commented Feb 17, 2014

0.2.3d works for me too. Thunderbird 24.3.0 (own install) on Debian stable. Please release a new version as soon as possible to addons.mozilla to fix the current situation :)

@aletheia7

This comment has been minimized.

Show comment
Hide comment
@aletheia7

aletheia7 Mar 21, 2014

sieve-0.2.3d.xpi worked fine for Thunderbird 24.4.0 on Debian testing/jessie.

Please release addon to mozilla.org.

aletheia7 commented Mar 21, 2014

sieve-0.2.3d.xpi worked fine for Thunderbird 24.4.0 on Debian testing/jessie.

Please release addon to mozilla.org.

@ToM-MaS

This comment has been minimized.

Show comment
Hide comment
@ToM-MaS

ToM-MaS May 4, 2014

thmsi, is there any progress in the development of the Sieve extension since the release of sieve-0.2.3d ?
As I understand 0.2.3d will not get accepted by Mozilla until something with shutdown of Thunderbird/Sieve is fixed.
Is there anything the community can do to speed up a solution?
Maybe you can tell us the bug number and URL at Thunderbirds bugzilla for the problem with the missing asynchronous cleanup method for the restartless api.
We all could vote THERE for a fix instead of get on YOUR nerves with this issue.

ToM-MaS commented May 4, 2014

thmsi, is there any progress in the development of the Sieve extension since the release of sieve-0.2.3d ?
As I understand 0.2.3d will not get accepted by Mozilla until something with shutdown of Thunderbird/Sieve is fixed.
Is there anything the community can do to speed up a solution?
Maybe you can tell us the bug number and URL at Thunderbirds bugzilla for the problem with the missing asynchronous cleanup method for the restartless api.
We all could vote THERE for a fix instead of get on YOUR nerves with this issue.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost May 18, 2014

Does not work on Iceweasel 24.5.0 (Debian Wheezy's version of Thunderbird 24.5.0).
No messages appear in error console and no actions are performed when 'Edit Filter's button is pressed, and the buttons that show up when you do 'Sieve Message Filters' and get the message that the account is not managed by Sieve (even this it is/does support Sieve and is configured to use Sieve in Iceweasel) have no effect.

ghost commented May 18, 2014

Does not work on Iceweasel 24.5.0 (Debian Wheezy's version of Thunderbird 24.5.0).
No messages appear in error console and no actions are performed when 'Edit Filter's button is pressed, and the buttons that show up when you do 'Sieve Message Filters' and get the message that the account is not managed by Sieve (even this it is/does support Sieve and is configured to use Sieve in Iceweasel) have no effect.

@bjarnek

This comment has been minimized.

Show comment
Hide comment
@bjarnek

bjarnek Jul 18, 2014

Can't get it working on Thunderbird 24.6.0 at all. Just hangs on loading even with the nightly release :(

bjarnek commented Jul 18, 2014

Can't get it working on Thunderbird 24.6.0 at all. Just hangs on loading even with the nightly release :(

@HolySephi

This comment has been minimized.

Show comment
Hide comment
@HolySephi

HolySephi Jul 18, 2014

Works fine for me on 24.6.0 - check your sieve server settings

HolySephi commented Jul 18, 2014

Works fine for me on 24.6.0 - check your sieve server settings

@bjarnek

This comment has been minimized.

Show comment
Hide comment
@bjarnek

bjarnek Jul 18, 2014

Sounds plausible but i don't see how i can get some output. Any way of testing it via logs ect to find out if it's the server ?

bjarnek commented Jul 18, 2014

Sounds plausible but i don't see how i can get some output. Any way of testing it via logs ect to find out if it's the server ?

@bjarnek

This comment has been minimized.

Show comment
Hide comment
@bjarnek

bjarnek Jul 22, 2014

I can test Managesieve works just fine from what i can tell in my Telnet session. However the plugin still seems to be non-functional. Will give it a try on another machine shortly, but seems to be just hanging without anything happening.. logs on both server and thunderbird show no activity.

Next step for me is to do a sniff for packages to confirm if the plugin is even trying to connect.

bjarnek commented Jul 22, 2014

I can test Managesieve works just fine from what i can tell in my Telnet session. However the plugin still seems to be non-functional. Will give it a try on another machine shortly, but seems to be just hanging without anything happening.. logs on both server and thunderbird show no activity.

Next step for me is to do a sniff for packages to confirm if the plugin is even trying to connect.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jul 22, 2014

I can tell you that in iceweasel the client doesn't work, but the
command line client I have (sieve-connect) does.

Definitely is a client issue.

Regards,

Danel

On Tue, 2014-07-22 at 03:59 -0700, bjarnek wrote:

I can test Managesieve works just fine from what i can tell in my
Telnet session. However the plugin still seems to be non-functional.
Will give it a try on another machine shortly, but seems to be just
hanging without anything happening.. logs on both server and
thunderbird show no activity.

Next step for me is to do a sniff for packages to confirm if the
plugin is even trying to connect.


Reply to this email directly or view it on GitHub.

ghost commented Jul 22, 2014

I can tell you that in iceweasel the client doesn't work, but the
command line client I have (sieve-connect) does.

Definitely is a client issue.

Regards,

Danel

On Tue, 2014-07-22 at 03:59 -0700, bjarnek wrote:

I can test Managesieve works just fine from what i can tell in my
Telnet session. However the plugin still seems to be non-functional.
Will give it a try on another machine shortly, but seems to be just
hanging without anything happening.. logs on both server and
thunderbird show no activity.

Next step for me is to do a sniff for packages to confirm if the
plugin is even trying to connect.


Reply to this email directly or view it on GitHub.

@mfn

This comment has been minimized.

Show comment
Hide comment
@mfn

mfn Jul 25, 2014

May I suggest to mention this information at https://addons.mozilla.org/en-US/thunderbird/addon/sieve/ if possibly? Basically, the version there downloadable for everyone does not work at all. Only the nightlies do.

mfn commented Jul 25, 2014

May I suggest to mention this information at https://addons.mozilla.org/en-US/thunderbird/addon/sieve/ if possibly? Basically, the version there downloadable for everyone does not work at all. Only the nightlies do.

@maiksd

This comment has been minimized.

Show comment
Hide comment
@maiksd

maiksd Aug 4, 2014

With TB 31, I can't connect to the sieve server any more, even with 0.2.3d. "Server terminated unepectedly the connection, click on reconnect to try again", which doesn't work of course.

maiksd commented Aug 4, 2014

With TB 31, I can't connect to the sieve server any more, even with 0.2.3d. "Server terminated unepectedly the connection, click on reconnect to try again", which doesn't work of course.

@psychophoniac

This comment has been minimized.

Show comment
Hide comment
@psychophoniac

psychophoniac Sep 25, 2014

this is still unfixed on thunderbird 31.1.0 (fedora 20), even with the sieve-0.2.3d.xpi nightly build.
My sieve-setup seems to be fine, i can connect via ncat and edit the rules locally on the server.
I get the same error message as maiksd:
"Server terminated unexpectedly the connection, click on reconnect to try again."
It used to work with previous thunderbird versions when you turned off TLS, no it doesn't work anymore, at all.
If you open the debug window you see this:

[...]
----------------------------------
[14:42:47.209 server1] Server -> Client
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] Messaging Multiplexor (Oracle Communications Messaging Exchange Server PtLjSbeu (built n96))
----------------------------------
[14:42:47.209 server1] Parsing Warning in libManageSieve/Sieve.js:
(new String("Implementation expected"))
----------------------------------

...and then it disconnects.
Seems like there is some code not implemented yet, which causes it to close the connection?!

psychophoniac commented Sep 25, 2014

this is still unfixed on thunderbird 31.1.0 (fedora 20), even with the sieve-0.2.3d.xpi nightly build.
My sieve-setup seems to be fine, i can connect via ncat and edit the rules locally on the server.
I get the same error message as maiksd:
"Server terminated unexpectedly the connection, click on reconnect to try again."
It used to work with previous thunderbird versions when you turned off TLS, no it doesn't work anymore, at all.
If you open the debug window you see this:

[...]
----------------------------------
[14:42:47.209 server1] Server -> Client
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] Messaging Multiplexor (Oracle Communications Messaging Exchange Server PtLjSbeu (built n96))
----------------------------------
[14:42:47.209 server1] Parsing Warning in libManageSieve/Sieve.js:
(new String("Implementation expected"))
----------------------------------

...and then it disconnects.
Seems like there is some code not implemented yet, which causes it to close the connection?!

@thsmi

This comment has been minimized.

Show comment
Hide comment
@thsmi

thsmi Sep 25, 2014

Owner

@psychophoniac :
Please do not hijack bugs. This issues describes that newer Thunderbird version do not connect at all, without any log messages or debug traces. Neither of the previous it true in your case. So please open a new one and attach a full log.

Concerning your issue:
"Implementation expected" does not mean that code is missing. This message indicates, that the server did not respond with the IMPLEMENTATION capability where it should have to.

The ManageSieve RFC defines the following:

Server capabilities are sent automatically by the server upon a
client connection, or after successful STARTTLS and AUTHENTICATE
(which establishes a Simple Authentication and Security Layer (SASL))
commands. 
[...]
Clients MAY request the capabilities at a later time by issuing the
CAPABILITY command described later
[...]
IMPLEMENTATION - Name of implementation and version.  This capability
MUST always be returned by the server.

I can not see from your log sniplet which command caused the OK response but I assume it was the STARTTLS command. If so, your server failed to include his implementation and addon terminated the connection as suggested in the RFC.

Owner

thsmi commented Sep 25, 2014

@psychophoniac :
Please do not hijack bugs. This issues describes that newer Thunderbird version do not connect at all, without any log messages or debug traces. Neither of the previous it true in your case. So please open a new one and attach a full log.

Concerning your issue:
"Implementation expected" does not mean that code is missing. This message indicates, that the server did not respond with the IMPLEMENTATION capability where it should have to.

The ManageSieve RFC defines the following:

Server capabilities are sent automatically by the server upon a
client connection, or after successful STARTTLS and AUTHENTICATE
(which establishes a Simple Authentication and Security Layer (SASL))
commands. 
[...]
Clients MAY request the capabilities at a later time by issuing the
CAPABILITY command described later
[...]
IMPLEMENTATION - Name of implementation and version.  This capability
MUST always be returned by the server.

I can not see from your log sniplet which command caused the OK response but I assume it was the STARTTLS command. If so, your server failed to include his implementation and addon terminated the connection as suggested in the RFC.

@HolySephi

This comment has been minimized.

Show comment
Hide comment
@HolySephi

HolySephi Sep 25, 2014

Still works fine on Windows with Thunderbird 31.1.2 and dovecot 2.0.9 on CentOS 6

HolySephi commented Sep 25, 2014

Still works fine on Windows with Thunderbird 31.1.2 and dovecot 2.0.9 on CentOS 6

@IlariExove

This comment has been minimized.

Show comment
Hide comment
@IlariExove

IlariExove Jun 22, 2015

After updating to TB 38 on OS X Sieve add-on can no longer connect to Manaagesieve server. It doesn't even do a TCP SYN. Just loads forever.

IlariExove commented Jun 22, 2015

After updating to TB 38 on OS X Sieve add-on can no longer connect to Manaagesieve server. It doesn't even do a TCP SYN. Just loads forever.

@IlariExove

This comment has been minimized.

Show comment
Hide comment
@IlariExove

IlariExove Jun 23, 2015

An update to my yesterday's comment: updating Sieve to development build 0.2.3f fixes the issue I had with TB 38.

IlariExove commented Jun 23, 2015

An update to my yesterday's comment: updating Sieve to development build 0.2.3f fixes the issue I had with TB 38.

@k0ste

This comment has been minimized.

Show comment
Hide comment
@k0ste

k0ste Jul 22, 2015

Move company (~220 collaborators) from Thunderbird Filters to Sieve (with Dovecot 2.2). Use Thunderbird 31...38 with plugin version 0.2.3g. All works like a charm, no any bug.

k0ste commented Jul 22, 2015

Move company (~220 collaborators) from Thunderbird Filters to Sieve (with Dovecot 2.2). Use Thunderbird 31...38 with plugin version 0.2.3g. All works like a charm, no any bug.

@TheJJ

This comment has been minimized.

Show comment
Hide comment
@TheJJ

TheJJ Aug 6, 2015

How's the progress on a new official release? Not many people will want to install the nightly manually.

TheJJ commented Aug 6, 2015

How's the progress on a new official release? Not many people will want to install the nightly manually.

@hasufell

This comment has been minimized.

Show comment
Hide comment
@hasufell

hasufell Oct 1, 2015

this is still a problem which is currently rendering the officially released version broken

hasufell commented Oct 1, 2015

this is still a problem which is currently rendering the officially released version broken

@shoeper

This comment has been minimized.

Show comment
Hide comment
@shoeper

shoeper Oct 3, 2015

The nightlys in this repo do work.

shoeper commented Oct 3, 2015

The nightlys in this repo do work.

@hasufell

This comment has been minimized.

Show comment
Hide comment
@hasufell

hasufell Oct 4, 2015

The nightlys in this repo do work.

which is not an officially released version, see
https://github.com/thsmi/sieve/releases
https://addons.mozilla.org/en-US/thunderbird/addon/sieve/?src=search

hasufell commented Oct 4, 2015

The nightlys in this repo do work.

which is not an officially released version, see
https://github.com/thsmi/sieve/releases
https://addons.mozilla.org/en-US/thunderbird/addon/sieve/?src=search

@thsmi

This comment has been minimized.

Show comment
Hide comment
@thsmi

thsmi Oct 4, 2015

Owner

@hasufell Please stop trolling and bug spamming! I do not accept bug spamming.

There is a detailed explanation in this bug, why there are no releases.Until bug #4 is not fixed there can't be a new release.

It is free and open software. Either help to fix bug #4 or stick with the nightly builds.
If this is not an option for you, stop using it and stop annoying others.

Owner

thsmi commented Oct 4, 2015

@hasufell Please stop trolling and bug spamming! I do not accept bug spamming.

There is a detailed explanation in this bug, why there are no releases.Until bug #4 is not fixed there can't be a new release.

It is free and open software. Either help to fix bug #4 or stick with the nightly builds.
If this is not an option for you, stop using it and stop annoying others.

@ToM-MaS

This comment has been minimized.

Show comment
Hide comment
@ToM-MaS

ToM-MaS Oct 18, 2015

@thsmi
This bug "Exception upon addon unload #4 - Open - thsmi opened this Issue on 12 Oct 2012" is open for 3 years, is there any progress?
Is progress even possible without this async cleanup method in the Thunderbird API?
Can the community here vote for Thunderbird bug fixing at bugzilla.mozilla.org ?

ToM-MaS commented Oct 18, 2015

@thsmi
This bug "Exception upon addon unload #4 - Open - thsmi opened this Issue on 12 Oct 2012" is open for 3 years, is there any progress?
Is progress even possible without this async cleanup method in the Thunderbird API?
Can the community here vote for Thunderbird bug fixing at bugzilla.mozilla.org ?

@Rocologo

This comment has been minimized.

Show comment
Hide comment
@Rocologo

Rocologo Oct 26, 2015

Version Sieve-0.2.3h.xpi worked fine for me.

Rocologo commented Oct 26, 2015

Version Sieve-0.2.3h.xpi worked fine for me.

@mattelacchiato

This comment has been minimized.

Show comment
Hide comment
@mattelacchiato

mattelacchiato Nov 16, 2015

Version Sieve-0.2.3h.xpi worked fine for me.

Same here.

mattelacchiato commented Nov 16, 2015

Version Sieve-0.2.3h.xpi worked fine for me.

Same here.

@thsmi

This comment has been minimized.

Show comment
Hide comment
@thsmi

thsmi Nov 12, 2017

Owner

Starting with the 0.2.4 release the addon is selfhosted. Which means it is not listed at addons.mozilla.org and has to be installed from the github page but it will update automatically to newer releases.

You can find the 0.2.4 release here: https://github.com/thsmi/sieve/releases

So it seems to be time to close this bug.

Owner

thsmi commented Nov 12, 2017

Starting with the 0.2.4 release the addon is selfhosted. Which means it is not listed at addons.mozilla.org and has to be installed from the github page but it will update automatically to newer releases.

You can find the 0.2.4 release here: https://github.com/thsmi/sieve/releases

So it seems to be time to close this bug.

@thsmi thsmi closed this Nov 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment