avelsieve problem switching mail servers

View: New views
5 Messages — Rating Filter:   Alert me  

avelsieve problem switching mail servers

by Maria McKinley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

I recently moved my mail server to a new server, and have managed to get
everything working except for sieve access through squirrelmail. I hope
this mail isn't too confusing, but wanted to lay out a few different
possibilities for what might be going on.

Initially, when I tried to go to filters after logging into
squirrelmail, squirrelmail would hang, and eventually time out with no
error messages (just a reset by peer, I think). I tried going into
imapd.conf and turning off tls for sieve to see if there was an
authentication problem:

sieve_tls_cert_file: disable

When I do this, then I get an error message when I click on filters:

Warning: stream_socket_enable_crypto()
[function.stream-socket-enable-crypto]: SSL operation failed with code
1. OpenSSL Error messages: error:1408F10B:SSL
routines:SSL3_GET_RECORD:wrong version number in
/usr/share/squirrelmail/plugins/avelsieve/include/managesieve.lib.php on
line 514
ERROR:
Could not log on to timsieved daemon on your IMAP server localhost:2000.
Error Encountered: 255
Please contact your administrator.

I looked at the managesieve.lib.php script, and I noticed that it uses
php4, but I am using php5. But, it seems kind of strange that it would
require php4, since this is the stable package for debian, and I didn't
have any issues installing, so I'm not sure this is the problem.

squirrelmail                        2:1.4.15-4+lenny2
avelsieve                           1.9.7-6+lenny1

TLS/SSL works for eveything else, so I'm a little bit suspicious for
that being the problem.

Something I did notice was that in the previous installation, we seemed
to be using something called websieve, although we also had the
avelsieve plugin installed. I copied the websieve directory, but I
haven't found any documentation about how websieve is different from
avelsieve or whether you can use both, or how
squirrelmail/avelsieve/websieve interact. I think I need to get rid of
websieve, and just use avelsieve, but I'm not sure about this. Would I
run into problems if I just got rid of the websieve directory? How is
avelsieve suppose to interact with squirrelmail?

thanks for any hints,
maria

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Re: avelsieve problem switching mail servers

by Alexandros Vellis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 02 Nov 2009 11:21:41 -0800
Maria McKinley <maria@...> wrote:


> Initially, when I tried to go to filters after logging into
> squirrelmail, squirrelmail would hang, and eventually time out with
> no error messages (just a reset by peer, I think). I tried going into
> imapd.conf and turning off tls for sieve to see if there was an
> authentication problem:
>
> sieve_tls_cert_file: disable
>
> When I do this, then I get an error message when I click on filters:
>
> Warning: stream_socket_enable_crypto()
> [function.stream-socket-enable-crypto]: SSL operation failed with
> code 1. OpenSSL Error messages: error:1408F10B:SSL
> routines:SSL3_GET_RECORD:wrong version number in
> /usr/share/squirrelmail/plugins/avelsieve/include/managesieve.lib.php
> on line 514

I'm not sure about the "wrong version number" SSL error, but you could
disable tls altogether in squirrelmail with the $avelsieve_disabletls
configuration option.


> I looked at the managesieve.lib.php script, and I noticed that it
> uses php4

What do you mean the script uses php4? Avelsieve simply uses whatever
PHP is enabled in the web server.

Since version 1.9.9, avelsieve does not support PHP4 any more.

>
> Something I did notice was that in the previous installation, we
> seemed to be using something called websieve, although we also had
> the avelsieve plugin installed. I copied the websieve directory, but
> I haven't found any documentation about how websieve is different
> from avelsieve or whether you can use both, or how
> squirrelmail/avelsieve/websieve interact. I think I need to get rid
> of websieve, and just use avelsieve, but I'm not sure about this.
> Would I run into problems if I just got rid of the websieve
> directory? How is avelsieve suppose to interact with squirrelmail?

Websieve: standalone Sieve web client.

Avelsieve: plugin for Squirrelmail.

Both are Sieve script generators, not parsers. (AFAIK).

The way avelsieve interacts with Squirrelmail:

* Uses Squirrelmail's functions to get IMAP folder list. Uses
  Squirrelmail's authenticated user & password.

* Link from Squirrelmail header menu.

* Reminder in first screen, when user first logs in, if there is a
  vacation message.

* Links to create a filter, while reading a message in Squirrelmail.
  Will auto-detect List-Id: headers for mailing lists.


HTH,
Alexandros

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Re: avelsieve problem switching mail servers

by Hans-Juergen Beie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexandros Vellis schrieb am 02.11.2009 22:08 Uhr:

> On Mon, 02 Nov 2009 11:21:41 -0800
> Maria McKinley <maria@...> wrote:
>
>
>> Initially, when I tried to go to filters after logging into
>> squirrelmail, squirrelmail would hang, and eventually time out with
>> no error messages (just a reset by peer, I think). I tried going into
>> imapd.conf and turning off tls for sieve to see if there was an
>> authentication problem:
>>
>> sieve_tls_cert_file: disable
>>
>> When I do this, then I get an error message when I click on filters:
>>
>> Warning: stream_socket_enable_crypto()
>> [function.stream-socket-enable-crypto]: SSL operation failed with
>> code 1. OpenSSL Error messages: error:1408F10B:SSL
>> routines:SSL3_GET_RECORD:wrong version number in
>> /usr/share/squirrelmail/plugins/avelsieve/include/managesieve.lib.php
>> on line 514
>
> I'm not sure about the "wrong version number" SSL error, but you could
> disable tls altogether in squirrelmail with the $avelsieve_disabletls
> configuration option.
>
>
>> I looked at the managesieve.lib.php script, and I noticed that it
>> uses php4
>
> What do you mean the script uses php4? Avelsieve simply uses whatever
> PHP is enabled in the web server.
>
> Since version 1.9.9, avelsieve does not support PHP4 any more.
>
>> Something I did notice was that in the previous installation, we
>> seemed to be using something called websieve, although we also had
>> the avelsieve plugin installed. I copied the websieve directory, but
>> I haven't found any documentation about how websieve is different
>> from avelsieve or whether you can use both, or how
>> squirrelmail/avelsieve/websieve interact. I think I need to get rid
>> of websieve, and just use avelsieve, but I'm not sure about this.
>> Would I run into problems if I just got rid of the websieve
>> directory? How is avelsieve suppose to interact with squirrelmail?
>
> Websieve: standalone Sieve web client.
>
> Avelsieve: plugin for Squirrelmail.
>
> Both are Sieve script generators, not parsers. (AFAIK).
>
> The way avelsieve interacts with Squirrelmail:
>
> * Uses Squirrelmail's functions to get IMAP folder list. Uses
>   Squirrelmail's authenticated user & password.
>
> * Link from Squirrelmail header menu.
>
> * Reminder in first screen, when user first logs in, if there is a
>   vacation message.
>
> * Links to create a filter, while reading a message in Squirrelmail.
>   Will auto-detect List-Id: headers for mailing lists.
>
>
> HTH,
> Alexandros

Just to complete this:
Maria posted this problem on the info-xyrus mailing list, too.
She finally found that this
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547648
is the problem.

Greetings,
hjb :-?
--
Hans-Juergen Beie
mailto:hjb@...


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Re: avelsieve problem switching mail servers

by Maria McKinley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hans-Juergen Beie wrote:

> Alexandros Vellis schrieb am 02.11.2009 22:08 Uhr:
>> On Mon, 02 Nov 2009 11:21:41 -0800
>> Maria McKinley <maria@...> wrote:
>>
>>
>>> Initially, when I tried to go to filters after logging into
>>> squirrelmail, squirrelmail would hang, and eventually time out with
>>> no error messages (just a reset by peer, I think). I tried going into
>>> imapd.conf and turning off tls for sieve to see if there was an
>>> authentication problem:
>>>
>>> sieve_tls_cert_file: disable
>>>
>>> When I do this, then I get an error message when I click on filters:
>>>
>>> Warning: stream_socket_enable_crypto()
>>> [function.stream-socket-enable-crypto]: SSL operation failed with
>>> code 1. OpenSSL Error messages: error:1408F10B:SSL
>>> routines:SSL3_GET_RECORD:wrong version number in
>>> /usr/share/squirrelmail/plugins/avelsieve/include/managesieve.lib.php
>>> on line 514
>> I'm not sure about the "wrong version number" SSL error, but you could
>> disable tls altogether in squirrelmail with the $avelsieve_disabletls
>> configuration option.
>>
>>
>>> I looked at the managesieve.lib.php script, and I noticed that it
>>> uses php4
>> What do you mean the script uses php4? Avelsieve simply uses whatever
>> PHP is enabled in the web server.
>>
>> Since version 1.9.9, avelsieve does not support PHP4 any more.
>>
>>> Something I did notice was that in the previous installation, we
>>> seemed to be using something called websieve, although we also had
>>> the avelsieve plugin installed. I copied the websieve directory, but
>>> I haven't found any documentation about how websieve is different
>>> from avelsieve or whether you can use both, or how
>>> squirrelmail/avelsieve/websieve interact. I think I need to get rid
>>> of websieve, and just use avelsieve, but I'm not sure about this.
>>> Would I run into problems if I just got rid of the websieve
>>> directory? How is avelsieve suppose to interact with squirrelmail?
>> Websieve: standalone Sieve web client.
>>
>> Avelsieve: plugin for Squirrelmail.
>>
>> Both are Sieve script generators, not parsers. (AFAIK).
>>
>> The way avelsieve interacts with Squirrelmail:
>>
>> * Uses Squirrelmail's functions to get IMAP folder list. Uses
>>   Squirrelmail's authenticated user & password.
>>
>> * Link from Squirrelmail header menu.
>>
>> * Reminder in first screen, when user first logs in, if there is a
>>   vacation message.
>>
>> * Links to create a filter, while reading a message in Squirrelmail.
>>   Will auto-detect List-Id: headers for mailing lists.
>>
>>
>> HTH,
>> Alexandros
>
> Just to complete this:
> Maria posted this problem on the info-xyrus mailing list, too.
> She finally found that this
>    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547648
> is the problem.
>
> Greetings,
> hjb :-?

Thanks. Not sure how I missed the post from Alexandros, but thanks for
the info, it is still useful. And thanks to hjb for posting the solution.

cheers,
maria

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Re: avelsieve problem switching mail servers

by Hans-Juergen Beie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Mi, 11.11.2009, 01:16, schrieb Maria McKinley:
> Hans-Juergen Beie wrote:
>> Alexandros Vellis schrieb am 02.11.2009 22:08 Uhr:
>>> On Mon, 02 Nov 2009 11:21:41 -0800
>>> Maria McKinley <maria@...> wrote:

[...]

>> Just to complete this:
>> Maria posted this problem on the info-xyrus mailing list, too.
>> She finally found that this
>>    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547648
>> is the problem.
>>
>> Greetings,
>> hjb :-?
>
> Thanks. Not sure how I missed the post from Alexandros, but thanks for
> the info, it is still useful. And thanks to hjb for posting the solution.

This was not a solution. It was just a hint for the list.
When you read the comments of the debian package maintainer in this bug
report, you will see that this bug has not been fixed up to now (at least
in the debian/lenny package).

My personal workaround was to downgrade to the last working version. I'm
just waiting and hoping that this issue will be solved, sooner or later.

> cheers,
> maria

Greetings,
hjb :-?



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins