Re: [imp] ERR: HORDE IMP is marked as authenticated, but no credentials can be found in the session.

2017-03-01 Thread Andy Dorman

On 02/28/2017 02:07 AM, Alex wrote:


On Mon, Feb 27, 2017 at 11:31 PM, Andy Dorman <ador...@ironicdesign.com
<mailto:ador...@ironicdesign.com>> wrote:

On 02/27/2017 02:27 AM, Simon B wrote:

Please do not top post.

On 27 Feb 2017 04:15, "Alex" <alex9...@gmail.com
<mailto:alex9...@gmail.com>> wrote:


Hi Simon,

Thank you very much for your reply. I had already tried both
links that

you provided. Unfortunately both do not help to solve my problem.


1. Link 1 just states "There currently seem to be some
issues with

sessions and custom session ids via RPC under certain
circumstances that
are yet to be found." It provides no solution. Also the problem is
different: ActiveSync works for me! Its just that I cannot
access the
webinterface for IMP (Kronolith, nag, etc. still working!)

If ActiveSync is working, then Horde is working and your issue
is probably
stale webserver files What does your webserver logs say then?
Have you
cleared the cache?

2. Link 2 refers to database connection on port 3306. I do
not use port

3306 but instead unix sockets. The database connection works for
all other
PHP applications (e.g. adminer) on the same host, so I do not
suspect this
to be an issue.


I do not understand why you stated that "You're also not
installing horde

in a manner recommended by the devs". Of course I followed the
instructions
on


https://www.horde.org/apps/webmail/docs/INSTALL
<https://www.horde.org/apps/webmail/docs/INSTALL>

which should be the recommended way, no?


Yes.  And if you've installed via pear, that's great.  Your
first post
could be interpreted that you were using Ubuntu packages.  Which
is not the
recommended way.

Everything worked without any problems, before I did an apt
upgrade on

the underlying OS. Since all other apps continue to work without
problem, I
think the issue might be specific to Horde and I was just
looking for tips
on how to debug and find a solution.


To your questions:
1. As per default, I use dovecot for authentication. Dovecot is

recommended by Horde.


2. Dovecot version 2.2.22, postfix version 3, PHP version 5.6.30


An OS upgrade, shouldn't affect Horde.  If the web ui is
accessible at all
you could run phpinfo(); from the PHP shell.

In the worst case, you could backup all your Horde config files,
delete the
Horde directory and install it again, copying the config files
back one at
a time.

Simon

Thank you for your support
Alex

On Sun, Feb 26, 2017 at 5:24 PM, Simon B
<simon.buongio...@gmail.com <mailto:simon.buongio...@gmail.com>>

wrote:


On 26 Feb 2017 06:54, "Alex" <alex9...@gmail.com
<mailto:alex9...@gmail.com>> wrote:


Dear all,

using Horde Webmail on Ubuntu 16.04 with mariadb and
php 5.6. Since
updating with apt-get upgrade I cannot use IMP
anymore because I get

the

following error:

IMP is marked as authenticated, but no credentials
can be found in the
session.

The error log shows the following message:

ERR: HORDE [imp] IMP is marked as authenticated, but
no credentials

can be

found in the session. [pid 489 on line 628 of

"/usr/local/share/horde/imp/

lib/Imap.php"]

IMP is version 6.2.17 and horde is 5.2.13

Any idea where I can start looking to solve the
error message? Any help
would be appreciated.


Seems you haven't searched the archives..

https://lists.horde.org/archives/horde/Week-of-Mon-20130805/048873.html

<https://lists.horde.org/archives/horde/Week-of-Mon-20130805/048873.html>
Or perhaps


https://support.plesk.com/hc/en-us/articles/115000573865-Horde-error-IMP-is-marked-as-authenticated-but-no-credentials-can-be-found-in-the-session

<https://support.plesk.com/hc/en-us/articles/115000573865-Horde-error-IMP-is-marked-as-authenticated-but-no-credentials-can-be-found-in-the-session>


Whilst it's more likely to

Re: [imp] ERR: HORDE IMP is marked as authenticated, but no credentials can be found in the session.

2017-02-27 Thread Andy Dorman

On 02/27/2017 02:27 AM, Simon B wrote:

Please do not top post.

On 27 Feb 2017 04:15, "Alex"  wrote:


Hi Simon,

Thank you very much for your reply. I had already tried both links that

you provided. Unfortunately both do not help to solve my problem.


1. Link 1 just states "There currently seem to be some issues with

sessions and custom session ids via RPC under certain circumstances that
are yet to be found." It provides no solution. Also the problem is
different: ActiveSync works for me! Its just that I cannot access the
webinterface for IMP (Kronolith, nag, etc. still working!)

If ActiveSync is working, then Horde is working and your issue is probably
stale webserver files What does your webserver logs say then?  Have you
cleared the cache?


2. Link 2 refers to database connection on port 3306. I do not use port

3306 but instead unix sockets. The database connection works for all other
PHP applications (e.g. adminer) on the same host, so I do not suspect this
to be an issue.


I do not understand why you stated that "You're also not installing horde

in a manner recommended by the devs". Of course I followed the instructions
on


https://www.horde.org/apps/webmail/docs/INSTALL

which should be the recommended way, no?


Yes.  And if you've installed via pear, that's great.  Your first post
could be interpreted that you were using Ubuntu packages.  Which is not the
recommended way.


Everything worked without any problems, before I did an apt upgrade on

the underlying OS. Since all other apps continue to work without problem, I
think the issue might be specific to Horde and I was just looking for tips
on how to debug and find a solution.


To your questions:
1. As per default, I use dovecot for authentication. Dovecot is

recommended by Horde.


2. Dovecot version 2.2.22, postfix version 3, PHP version 5.6.30


An OS upgrade, shouldn't affect Horde.  If the web ui is accessible at all
you could run phpinfo(); from the PHP shell.

In the worst case, you could backup all your Horde config files, delete the
Horde directory and install it again, copying the config files back one at
a time.

Simon


Thank you for your support
Alex

On Sun, Feb 26, 2017 at 5:24 PM, Simon B 

wrote:


On 26 Feb 2017 06:54, "Alex"  wrote:


Dear all,

using Horde Webmail on Ubuntu 16.04 with mariadb and php 5.6. Since
updating with apt-get upgrade I cannot use IMP anymore because I get

the

following error:

IMP is marked as authenticated, but no credentials can be found in the
session.

The error log shows the following message:

ERR: HORDE [imp] IMP is marked as authenticated, but no credentials

can be

found in the session. [pid 489 on line 628 of

"/usr/local/share/horde/imp/

lib/Imap.php"]

IMP is version 6.2.17 and horde is 5.2.13

Any idea where I can start looking to solve the error message? Any help
would be appreciated.


Seems you haven't searched the archives..
https://lists.horde.org/archives/horde/Week-of-Mon-20130805/048873.html
Or perhaps


https://support.plesk.com/hc/en-us/articles/115000573865-Horde-error-IMP-is-marked-as-authenticated-but-no-credentials-can-be-found-in-the-session


Whilst it's more likely to be the first one, you should also not rule

out the second.


Also, it took a while on the dovecot and postfix lists to get you to

provide Version numbers for the software you're seeking help on.  Would be
great if you could do that here too.  No one cares that you're running
Ubuntu, or what version.


You have provided 0 information about the version of horde or imp;

whether you have a user backend, or authenticate with IMAP.


You're also not installing horde in a manner recommended by the devs,

(not that I am one) thus your request for assistance would be directed to
the Ubuntu package maintainer.


Cheers.

Simon




Hey everyone.  An OS upgrade can indeed affect Horde if it includes an 
update to the web server or PHP or any software involved with fetching 
and reading email (ie, IMAP).


For example, I am currently holding our Debian upgrade for Apache from 
2.10 to 2.25.x until I can figure out what is causing IMP to not be able 
to authenticate with the IMAP server when using Apache 2.24.x/2.25.x. 
The issue first popped up last July 2016 with an update to 2.24.x and I 
thought it was fixed with 2.25 (and I believe I told this mailing list 
it was fixed a few weeks ago), but about an hour after I sent the "all 
clear" email to the list, I discovered the fix went away as soon as we 
restarted both Apache and php-fpm.  So I dropped back again until I can 
find time to investigate.


Later,

--
Andy

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] "horde imp" lock out after x failed login attempts

2016-09-08 Thread Andy Dorman

On 09/08/2016 03:53 PM, Michael Martinell wrote:

We have ours configured to use imp for authentication.  Count bad logins is 
checked.  Login_block_count is 5.  Login_block_time is 5.  Login_block is 
checked.

It does not lock the user out even after several bad attempts.

Michael Martinell
Internet Systems Technician
Interstate Telecommunications Coop., Inc.

-Original Message-
From: imp [mailto:imp-boun...@lists.horde.org] On Behalf Of Arjen de Korte
Sent: Thursday, September 08, 2016 3:44 PM
To: imp@lists.horde.org
Subject: Re: [imp] "horde imp" lock out after x failed login attempts

Citeren Michael Martinell <michael.martin...@itctel.com>:


We are looking for a way to lock a user out of webmail after a
configurable amount of failed login attempts.  Preferably this would
redirect the user to a different web page directing them to call
support.  I am unable to locate this information anywhere in the
documentation.  What options exist that would support this?


See the 'Authentication' tab in the Horde configuration. It will allow you to 
set limits on failed logins and how long to block users after this limit has 
been exceeded.


Michael Martinell
Internet Systems Technician



What do your logs say when this happens?

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] message selection in imp

2015-07-20 Thread Andy Dorman

On 07/20/2015 03:10 AM, Michael Menge wrote:


Hi,

some of our users don't like how the message selection in imp is
currently handled.

If you click on es message to view it, the current selection is reset
and the message gets selected.
The following three issues are reported.

1. If you want to delete/move multiple other mails you have to remember
to deselect the message.

2. There is no way to view a mail without deselecting all selected
mails. (e.g. you have selected
some mails to delete them, and you want to check one mail if it should
be deleted or not.)

3. If you miss the selection box, your selection is reset.


One possible solution to these problems would be to make the message
view independent from
the message selections.

Before I create a new feature request I would like to discuss the pro
and cons, and
check if such a feature request  would have a chance to be accepted.


Regards

 Michael



M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:
michael.me...@zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen



I have a couple of questions about how you would want the selection 
process to changed...


 1. If you want to delete/move multiple other mails you have to 
remember to deselect the message.


So, if you have a message selected and you want to select another to 
read, how would you do it?  The expected behavior is that the selected 
email is the one that is viewed.  So you want to be able to select a 
specific email and it NOT be displayed?


In that case you would need another action to tell the system to 
actually display the selected email, roughly doubling the actions needed 
to read your email and that is NOT something we would support.


Or perhaps I do not understand. ;-)

 2. There is no way to view a mail without deselecting all selected
 mails. (e.g. you have selected some mails to delete them, and you
 want to check one mail if it should be deleted or not.)

I simply delete the group above or below the email I have a question 
about and then select the email I want to read...two clicks...Every 
email client I have ever used works this way.  I think changing Imp to 
require MORE user actions to manage their email is the wrong way to go.


 3. If you miss the selection box, your selection is reset.

This one really confused me...so I logged in and tried to reset a group 
I was selecting.


I was at first unable to do what you describe as follows:

1. I selected an email by clicking anywhere on the row containing the 
Selection check box - From - Subject - Date - Size.


2. Then I held down the Shift key (Shift+select and Ctrl+select have 
been GUI standards for inclusive and exclusive list selections 
respectively for over 30 years)


3. Then tried to somehow reset the group by clicking anywhere in the 
email list and I could not loose the selection.


Eventually I figured out that if you do NOT follow GUI standards to hold 
down the Shift key to indicate an inclusive multi-select, then the 
interface correctly sees your selection request as NOT a multi-select 
and behaves as it should.


Again, I may not understand and if I miss your point then I apologize.

Sincere regards,

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Mobile (Smartphone/Tablet) Inbox display fails for email below answered email, Solved

2015-05-21 Thread Andy Dorman

On 05/21/2015 04:18 AM, Jan Schneider wrote:


Zitat von Andy Dorman ador...@ironicdesign.com:


I have searched for anyone else reporting this and could not find
anything...I also looked at the change descriptions after our versions
below at
https://github.com/horde/horde/blob/07246b92f0e7f61b1bfb51315d408feff7ec5a4d/imp/docs/CHANGES
So my apologies if I missed it or this is caused by an incorrect
jQuery version again like happened last January.

We are running Debian packages...Php 5.6.7, Horde 5.2.5, Imp 6.2.2 and
using jquery-mobile 1.3.2

In all web browsers we have tested, in the Mobile (Smartphone/Tablet)
mode, if your Inbox has any email that has been answered, the
answered email and email below it in the list of emails will NOT
display and the js error and trace below can be seen in the js debug
console:

Uncaught TypeError: Failed to execute 'appendChild' on 'Node':
parameter 1 is not of type 'Node'.

s.extend.clean @ jquery.min.js?v=be5cf1cd:4
s.buildFragment @ jquery.min.js?v=be5cf1cd:4
s.fn.extend.domManip @ jquery.min.js?v=be5cf1cd:4
s.fn.extend.append @ jquery.min.js?v=be5cf1cd:3
(anonymous function) @ smartmobile.js?v=78c7e583:641
i.extend.each @ jquery.min.js?v=be5cf1cd:2
ImpMobile.refreshMailbox @ smartmobile.js?v=78c7e583:580
ImpMobile.viewport @ smartmobile.js?v=78c7e583:523
ImpMobile.runTasks @ smartmobile.js?v=78c7e583:1507
s.event.dispatch @ jquery.min.js?v=be5cf1cd:3
s.event.add.u.handle.a @ jquery.min.js?v=be5cf1cd:3
s.event.trigger @ jquery.min.js?v=be5cf1cd:3
(anonymous function) @ jquery.min.js?v=be5cf1cd:3
i.extend.each @ jquery.min.js?v=be5cf1cd:2
i.fn.i.each @ jquery.min.js?v=be5cf1cd:2
s.fn.extend.trigger @ jquery.min.js?v=be5cf1cd:3
HordeMobile.doActionComplete @ smartmobile.js?v=be5cf1cd:110
$.extend.success @ smartmobile.js?v=be5cf1cd:76
s.Callbacks.d @ jquery.min.js?v=be5cf1cd:2
s.Callbacks.v.fireWith @ jquery.min.js?v=be5cf1cd:2
S @ jquery.min.js?v=be5cf1cd:4
s.support.ajax.s.ajaxTransport.send.r @ jquery.min.js?v=be5cf1cd:4


We have at least one user with an Apple iPad that insists that he can
only use Mobile (Smartphone/Tablet) mode.  He has not been happy with
our suggestions to try dynamic or another email client to read his
IMAP email.  ;-)

Thank you for any thoughts about what could be causing this.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Cannot reproduce.



Thanks Jan, that was helpful as it meant the issue was in our install.

Following a hunch I found the problem.   The version of jquery that 
Debian installs is 1.7.2 and I could see in GIT that Horde uses 1.11.2.


For now I took the easy way to fix it, I copied jquery.js and 
jquery.min.js from the Horde GIT repo to our debian jquery directory for 
Horde to pick up from there.


And it works fine.

I will see if I can talk to the Debian maintainer for jquery and see if 
we can get a more current version so I do not have to cheat like this 
to make things work.  ;-)


Have a great week.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


[imp] Mobile (Smartphone/Tablet) Inbox display fails for email below answered email

2015-05-20 Thread Andy Dorman
I have searched for anyone else reporting this and could not find 
anything...I also looked at the change descriptions after our versions 
below at 
https://github.com/horde/horde/blob/07246b92f0e7f61b1bfb51315d408feff7ec5a4d/imp/docs/CHANGES 



So my apologies if I missed it or this is caused by an incorrect jQuery 
version again like happened last January.


We are running Debian packages...Php 5.6.7, Horde 5.2.5, Imp 6.2.2 and 
using jquery-mobile 1.3.2


In all web browsers we have tested, in the Mobile (Smartphone/Tablet) 
mode, if your Inbox has any email that has been answered, the 
answered email and email below it in the list of emails will NOT 
display and the js error and trace below can be seen in the js debug 
console:


Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 
1 is not of type 'Node'.


s.extend.clean @ jquery.min.js?v=be5cf1cd:4
s.buildFragment @ jquery.min.js?v=be5cf1cd:4
s.fn.extend.domManip @ jquery.min.js?v=be5cf1cd:4
s.fn.extend.append @ jquery.min.js?v=be5cf1cd:3
(anonymous function) @ smartmobile.js?v=78c7e583:641
i.extend.each @ jquery.min.js?v=be5cf1cd:2
ImpMobile.refreshMailbox @ smartmobile.js?v=78c7e583:580
ImpMobile.viewport @ smartmobile.js?v=78c7e583:523
ImpMobile.runTasks @ smartmobile.js?v=78c7e583:1507
s.event.dispatch @ jquery.min.js?v=be5cf1cd:3
s.event.add.u.handle.a @ jquery.min.js?v=be5cf1cd:3
s.event.trigger @ jquery.min.js?v=be5cf1cd:3
(anonymous function) @ jquery.min.js?v=be5cf1cd:3
i.extend.each @ jquery.min.js?v=be5cf1cd:2
i.fn.i.each @ jquery.min.js?v=be5cf1cd:2
s.fn.extend.trigger @ jquery.min.js?v=be5cf1cd:3
HordeMobile.doActionComplete @ smartmobile.js?v=be5cf1cd:110
$.extend.success @ smartmobile.js?v=be5cf1cd:76
s.Callbacks.d @ jquery.min.js?v=be5cf1cd:2
s.Callbacks.v.fireWith @ jquery.min.js?v=be5cf1cd:2
S @ jquery.min.js?v=be5cf1cd:4
s.support.ajax.s.ajaxTransport.send.r @ jquery.min.js?v=be5cf1cd:4


We have at least one user with an Apple iPad that insists that he can 
only use Mobile (Smartphone/Tablet) mode.  He has not been happy with 
our suggestions to try dynamic or another email client to read his IMAP 
email.  ;-)


Thank you for any thoughts about what could be causing this.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-11 Thread Andy Dorman

On 02/09/2015 04:30 PM, Andy Dorman wrote:

On 02/09/2015 01:43 PM, Michael M Slusarz wrote:

Quoting Michael M Slusarz slus...@horde.org:


Quoting Andy Dorman ador...@ironicdesign.com:


On 02/09/2015 10:18 AM, Michael J Rubinsky wrote:


Quoting Jan Schneider j...@horde.org:


Zitat von Andy Dorman ador...@ironicdesign.com:


On 02/09/2015 08:26 AM, Andy Dorman wrote:

C: 6 LIST ()  (INBOX * Other Users/* Shared Folders/*)
RETURN
(SUBSCRIBED)
S: 6 BAD Invalid syntax in List command


I have found the problem...not sure of the fix yet.

The problem is that the LIST command needs a space between the
mailbox name and the reference name pattern.

For example, this LIST command works fine while the original above
does not and the only difference is the space after the mailbox
name:

LIST ()  (INBOX * Other Users/*  Shared Folders/* ) RETURN
(SUBSCRIBED)

I have not yet looked at the code where the command is being
assembled.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


I'm pretty sure this has once been reported elsewhere (ticket tracker
or mailing list) but couldn't be reproduced. Please search for the
original report.



Maybe https://bugs.horde.org/ticket/13825



Right, I remember seeing the original issue but did not follow up as
it involved active sync.

However, in reading the bug report it looks like the same issue.  The
addition of the empty reference name pattern  without the
delimiting space between it and the mailbox name appears to be the
problem.

I will add my debug log output and the results of manual testing with
Cyrus to the bug report.


My shot-in-the-dark guess is that this PHP fix is broken (would
explain why 5.5.21 and 5.6.5 break things):

https://bugs.php.net/bug.php?id=68532

But I'm out of country and won't be able to look at this anytime
soon.  The best course of action would be for someone to come up with
a reproducible test case to verify.


Almost positive this is the regression that Jan reported:

https://bugs.php.net/bug.php?id=68948

People should make noise on that ticket to get this fixed.

michael

___
Michael Slusarz [slus...@horde.org]



I voted for it...did not know enough to make an intelligent
comment...but I voted for it and sent the link to several users of our
webmail system to vote for it.

Hopefully others on this list will as well since it is a show stopper
for Horde Imp with the latest PHP 5.5.21  5.6.5.



FWIW, I finally figured out that the issue with the IMAP LIST command 
was NOT that there was a missing space between the mailbox name and the 
empty reference name pattern.  The problem is the empty reference name 
pattern should not be there at all.


I realize this is almost certainly caused by the regression bug 
https://bugs.php.net/bug.php?id=68948


In the meantime I had made a very ugly and possibly very stupid 
temporary fix so our users can read their email.  I modified 
Horde/Imap/Client/Data/Format/Filter/Quote.php to NOT do anything (ie, 
do not add the ) if the length of the incoming bucket data is 0.


I only did this as a last resort and I am uncertain about potential 
side-effects.  I will post more as we learn more in using my ugly hack.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-09 Thread Andy Dorman

On 02/09/2015 08:26 AM, Andy Dorman wrote:

C: 6 LIST ()  (INBOX * Other Users/* Shared Folders/*) RETURN
(SUBSCRIBED)
S: 6 BAD Invalid syntax in List command


I have found the problem...not sure of the fix yet.

The problem is that the LIST command needs a space between the mailbox 
name and the reference name pattern.


For example, this LIST command works fine while the original above does 
not and the only difference is the space after the mailbox name:


LIST ()  (INBOX * Other Users/*  Shared Folders/* ) RETURN 
(SUBSCRIBED)


I have not yet looked at the code where the command is being assembled.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-09 Thread Andy Dorman

On 02/09/2015 10:18 AM, Michael J Rubinsky wrote:


Quoting Jan Schneider j...@horde.org:


Zitat von Andy Dorman ador...@ironicdesign.com:


On 02/09/2015 08:26 AM, Andy Dorman wrote:

C: 6 LIST ()  (INBOX * Other Users/* Shared Folders/*) RETURN
(SUBSCRIBED)
S: 6 BAD Invalid syntax in List command


I have found the problem...not sure of the fix yet.

The problem is that the LIST command needs a space between the
mailbox name and the reference name pattern.

For example, this LIST command works fine while the original above
does not and the only difference is the space after the mailbox name:

LIST ()  (INBOX * Other Users/*  Shared Folders/* ) RETURN
(SUBSCRIBED)

I have not yet looked at the code where the command is being assembled.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


I'm pretty sure this has once been reported elsewhere (ticket tracker
or mailing list) but couldn't be reproduced. Please search for the
original report.



Maybe https://bugs.horde.org/ticket/13825



Right, I remember seeing the original issue but did not follow up as it 
involved active sync.


However, in reading the bug report it looks like the same issue.  The 
addition of the empty reference name pattern  without the delimiting 
space between it and the mailbox name appears to be the problem.


I will add my debug log output and the results of manual testing with 
Cyrus to the bug report.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-09 Thread Andy Dorman

On 02/09/2015 01:43 PM, Michael M Slusarz wrote:

Quoting Michael M Slusarz slus...@horde.org:


Quoting Andy Dorman ador...@ironicdesign.com:


On 02/09/2015 10:18 AM, Michael J Rubinsky wrote:


Quoting Jan Schneider j...@horde.org:


Zitat von Andy Dorman ador...@ironicdesign.com:


On 02/09/2015 08:26 AM, Andy Dorman wrote:

C: 6 LIST ()  (INBOX * Other Users/* Shared Folders/*)
RETURN
(SUBSCRIBED)
S: 6 BAD Invalid syntax in List command


I have found the problem...not sure of the fix yet.

The problem is that the LIST command needs a space between the
mailbox name and the reference name pattern.

For example, this LIST command works fine while the original above
does not and the only difference is the space after the mailbox name:

LIST ()  (INBOX * Other Users/*  Shared Folders/* ) RETURN
(SUBSCRIBED)

I have not yet looked at the code where the command is being
assembled.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


I'm pretty sure this has once been reported elsewhere (ticket tracker
or mailing list) but couldn't be reproduced. Please search for the
original report.



Maybe https://bugs.horde.org/ticket/13825



Right, I remember seeing the original issue but did not follow up as
it involved active sync.

However, in reading the bug report it looks like the same issue.  The
addition of the empty reference name pattern  without the
delimiting space between it and the mailbox name appears to be the
problem.

I will add my debug log output and the results of manual testing with
Cyrus to the bug report.


My shot-in-the-dark guess is that this PHP fix is broken (would
explain why 5.5.21 and 5.6.5 break things):

https://bugs.php.net/bug.php?id=68532

But I'm out of country and won't be able to look at this anytime
soon.  The best course of action would be for someone to come up with
a reproducible test case to verify.


Almost positive this is the regression that Jan reported:

https://bugs.php.net/bug.php?id=68948

People should make noise on that ticket to get this fixed.

michael

___
Michael Slusarz [slus...@horde.org]



I voted for it...did not know enough to make an intelligent 
comment...but I voted for it and sent the link to several users of our 
webmail system to vote for it.


Hopefully others on this list will as well since it is a show stopper 
for Horde Imp with the latest PHP 5.5.21  5.6.5.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-09 Thread Andy Dorman

From: Andy Dorman ador...@ironicdesign.com
Sent: Feb 8, 2015 6:17 PM
To: imp@lists.horde.org
Subject: Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported
by server


On 02/08/2015 05:00 PM, Andy Dorman wrote:

On 02/08/2015 04:34 PM, Andy Dorman wrote:

On 02/08/2015 11:00 AM, Andy Dorman wrote:

We are using the latest debian packages for these apps:

- Cyrus version 2.4.17+caldav~beta10-16
- PHP 5.6.5 (updated yesterday before problem started, changes below)
- Horde 5.2.1, Imp 6.2.2

The PHP updates were described as follows:

php5 (5.6.5+dfsg-1) unstable; urgency=medium

  * New upstream version 5.6.5+dfsg
  * Security vulnerabilities fixed:
   + Core
- Fixed bug #68710 (Use After Free Vulnerability in PHP's
  unserialize()). (CVE-2015-0231)
   + CGI:
- Fixed bug #68618 (out of bounds read crashes
  php-cgi). (CVE-2014-9427)
   + EXIF:
- Fixed bug #68799: Free called on unitialized
  pointer. (CVE-2015-0232)
  * Update patches for 5.6.5 release

The problem is that now when you login to Horde, the portal comes up
with an empty mail block (ie, no inbox display) BUT the block with
Newest Unseen Messages is fine.  If you try to go to Imp to see your
email you are logged out with the onscreen error IMAP error
reported by
server.

IMAP access using other mail clients like Thunderbird and K9 on my
phone
works fine.

I think the problem is somewhere in the new PHP 5.6.5, but so far I
have
not been able to find any sort of smoking gun that points to exactly
which change is the problem.

Syslog in Horde debug mode reports the lines below for HORDE [imp] and
Cyrus. You can see the original login success for IMAP, then several
failures of 'listMailBoxes' as I navigated from the opening portal, to
the config to enable debug logging and back to the portal to click on
the Mail portal block and document the error.  I only included the
relevant Cyrus  Horde log entries (there are a LOT of them) for the
initial login + failure and the debug failure.

FYI, the Cyrus fetching user_deny.db entry for.. log entries are
normal.  I am not a Cyrus guru so I am not sure why they are there,
but
they have always been there before this issue started and are also
there
when checking my IMAP email with Thunderbird or K9.

Opening log lines after initial login
--
Relevant Cyrus log entries
2015-02-08T09:00:11.838713-06:00 yorick cyrus/imap[12713]: accepted
connection
2015-02-08T09:00:11.846537-06:00 yorick cyrus/imap[12713]:
imapd:Loading
hard-coded DH parameters
2015-02-08T09:00:11.896982-06:00 yorick cyrus/imap[12713]: skiplist:
checkpointed /var/lib/cyrus/tls_sessions.db (0 records, 144 bytes)
in 0
seconds
2015-02-08T09:00:11.898033-06:00 yorick cyrus/imap[12713]: TLS Server
Name Indication (SNI) Extension: yorick.ironicdesign.com
2015-02-08T09:00:11.901231-06:00 yorick cyrus/imap[12713]:
SSL_accept()
incomplete - wait
2015-02-08T09:00:11.936647-06:00 yorick cyrus/imap[12713]:
SSL_accept()
succeeded - done
2015-02-08T09:00:11.936718-06:00 yorick cyrus/imap[12713]: starttls:
TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits new) no
authentication
2015-02-08T09:00:11.955812-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:11.955996-06:00 yorick cyrus/imap[12713]: login:
yorick.ironicdesign.com [192.168.0.23] andydor...@comehome.net
PLAIN+TLS
User logged in SESSIONID=cyrus-12713-1423407611-1
2015-02-08T09:00:11.956166-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'

Associated Horde log entry
2015-02-08T09:00:12.786789-06:00 yorick HORDE: [imp] Login success for
andydor...@comehome.net (50.130.11.148) to
{imap://yorick.ironicdesign.com/} [pid 12953 on line 157 of
/usr/share/horde/imp/lib/Auth.php]

Relevant Cyrus log entries
2015-02-08T09:00:21.531238-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:22.979405-06:00 yorick cyrus/imap[12713]: open: user
andydor...@comehome.net opened INBOX
2015-02-08T09:00:22.983673-06:00 yorick cyrus/imap[12713]: SQUAT
returned 278 messages

Associated Horde log entry
2015-02-08T09:00:21.540598-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 12953 on line 726 of
/usr/share/horde/imp/lib/Imap.php]


Horde imp log lines while navigating back to portal
--
2015-02-08T09:01:24.916679-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 13019 on line 726 of
/usr/share/horde/imp/lib/Imap.php]
2015-02-08T09:02:21.096915-06:00 yorick HORDE: [imp] Load config file
(conf.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]
2015-02-08T09:02:21.117365-06:00 yorick HORDE: [imp] Load config file
(hooks.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]

Log lines after Horde debug loging enabled
--

Relevant Cyrus

[imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-08 Thread Andy Dorman
]: skiplist: 
checkpointed /var/lib/cyrus/tls_sessions.db (0 records, 144 bytes) in 0 
seconds
2015-02-08T09:02:32.575039-06:00 yorick cyrus/imap[12975]: TLS Server 
Name Indication (SNI) Extension: yorick.ironicdesign.com
2015-02-08T09:02:32.578300-06:00 yorick cyrus/imap[12975]: SSL_accept() 
incomplete - wait
2015-02-08T09:02:32.616723-06:00 yorick cyrus/imap[12975]: SSL_accept() 
succeeded - done
2015-02-08T09:02:32.616741-06:00 yorick cyrus/imap[12975]: starttls: 
TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits new) no 
authentication
2015-02-08T09:02:32.625185-06:00 yorick cyrus/imap[12975]: fetching 
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:02:32.663492-06:00 yorick cyrus/imap[12975]: login: 
yorick.ironicdesign.com [192.168.0.23] andydor...@comehome.net PLAIN+TLS 
User logged in SESSIONID=cyrus-12975-1423407752-1
2015-02-08T09:02:32.663630-06:00 yorick cyrus/imap[12975]: fetching 
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:02:32.722465-06:00 yorick cyrus/imap[12975]: USAGE 
andydor...@comehome.net user: 0.012000 sys: 0.008000


Associated Horde log entries
2015-02-08T09:02:32.716420-06:00 yorick HORDE: [imp] [listMailboxes] 
IMAP error reported by server. [pid 13019 on line 726 of 
/usr/share/horde/imp/lib/Imap.php]
2015-02-08T09:02:32.716713-06:00 yorick HORDE:  1. require() 
/usr/share/horde/admin/config/index.php:462#012 2. 
Horde_Notification_Handler-notify() 
/usr/share/horde/templates/admin/menu.inc:22#012 3. 
Horde_Core_Notification_Handler_Decorator_Base-notify() 
/usr/share/php/Horde/Notification/Handler.php:317#012 4. 
IMP_Notification_Handler_Decorator_NewmailNotify-_notify() 
/usr/share/php/Horde/Core/Notification/Handler/Decorator/Base.php:100#012 5. 
Horde_Injector-getInstance() 
/usr/share/horde/imp/lib/Notification/Handler/Decorator/NewmailNotify.php:67#012 
6. Horde_Injector-createInstance() 
/usr/share/php/Horde/Injector.php:258#012 7. 
Horde_Injector_Binder_Factory-create() 
/usr/share/php/Horde/Injector.php:224#012 8. IMP_Factory_Ftree-create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:111#012 9. 
IMP_Ftree-__construct() 
/usr/share/horde/imp/lib/Factory/Ftree.php:47#01210. IMP_Ftree-init() 
/usr/share/horde/imp/lib/Ftree.php:111#01211. 
IMP_Ftree_Account_Imap-getList() 
/usr/share/horde/imp/lib/Ftree.php:178#01212. IMP_Imap-listMailboxes() 
/usr/share/horde/imp/lib/Ftree/Account/Imap.php:102#01213. 
IMP_Imap-__call() 
/usr/share/horde/imp/lib/Ftree/Account/Imap.php:102#01214. require() 
/usr/share/horde/admin/config/index.php:462#01215. 
Horde_Notification_Handler-notify() 
/usr/share/horde/templates/admin/menu.inc:22#01216. 
Horde_Core_Notification_Handler_Decorator_Base-notify() 
/usr/share/php/Horde/Notification/Handler.php:317#01217. 
IMP_Notification_Handler_Decorator_NewmailNotify-_notify() 
/usr/share/php/Horde/Core/Notification/Handler/Decorator/Base.php:100#01218. 
Horde_Injector-getInstance() 
/usr/share/horde/imp/lib/Notification/Handler/Decorator/NewmailNotify.php:67#01219. 
Horde_Injector-createInstance() 
/usr/share/php/Horde/Injector.php:258#01220. 
Horde_Injector_Binder_Factory-create() 
/usr/share/php/Horde/Injector.php:224#01221. IMP_Factory_Ftree-create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:111#01222. 
IMP_Ftree-__construct() 
/usr/share/horde/imp/lib/Factory/Ftree.php:47#01223. IMP_Ftree-init() 
/usr/share/horde/imp/lib/Ftree.php:111#01224. 
IMP_Ftree_Account_Imap-getList() 
/usr/share/horde/imp/lib/Ftree.php:178#01225. IMP_Imap-listMailboxes() 
/usr/share/horde/imp/lib/Ftree/Account/Imap.php:102#01226. 
IMP_Imap-__call() 
/usr/share/horde/imp/lib/Ftree/Account/Imap.php:102#01227. 
call_user_func_array() /usr/share/horde/imp/lib/Imap.php:718#01228. 
Horde_Imap_Client_Base-listMailboxes()#01229. 
Horde_Imap_Client_Socket-_listMailboxes() 
/usr/share/php/Horde/Imap/Client/Base.php:1367#01230. 
Horde_Imap_Client_Socket-_getMailboxList() 
/usr/share/php/Horde/Imap/Client/Socket.php:1272#01231. 
Horde_Imap_Client_Socket-_sendCmd() 
/usr/share/php/Horde/Imap/Client/Socket.php:1430#01232. 
Horde_Imap_Client_Socket-_sendCmdChunk() 
/usr/share/php/Horde/Imap/Client/Socket.php:4135#01233. 
Horde_Imap_Client_Socket-_getLine() 
/usr/share/php/Horde/Imap/Client/Socket.php:4205


In summary: I think this is being caused by the PHP update yesterday. 
Cyrus did not change and is working fine with other clients and Horde 
did not change either.  If anyone has any ideas about what I could check 
for in PHP, it would be greatly appreciated.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-08 Thread Andy Dorman

On 02/08/2015 11:00 AM, Andy Dorman wrote:

We are using the latest debian packages for these apps:

- Cyrus version 2.4.17+caldav~beta10-16
- PHP 5.6.5 (updated yesterday before problem started, changes below)
- Horde 5.2.1, Imp 6.2.2

The PHP updates were described as follows:

php5 (5.6.5+dfsg-1) unstable; urgency=medium

   * New upstream version 5.6.5+dfsg
   * Security vulnerabilities fixed:
+ Core
 - Fixed bug #68710 (Use After Free Vulnerability in PHP's
   unserialize()). (CVE-2015-0231)
+ CGI:
 - Fixed bug #68618 (out of bounds read crashes
   php-cgi). (CVE-2014-9427)
+ EXIF:
 - Fixed bug #68799: Free called on unitialized
   pointer. (CVE-2015-0232)
   * Update patches for 5.6.5 release

The problem is that now when you login to Horde, the portal comes up
with an empty mail block (ie, no inbox display) BUT the block with
Newest Unseen Messages is fine.  If you try to go to Imp to see your
email you are logged out with the onscreen error IMAP error reported by
server.

IMAP access using other mail clients like Thunderbird and K9 on my phone
works fine.

I think the problem is somewhere in the new PHP 5.6.5, but so far I have
not been able to find any sort of smoking gun that points to exactly
which change is the problem.

Syslog in Horde debug mode reports the lines below for HORDE [imp] and
Cyrus. You can see the original login success for IMAP, then several
failures of 'listMailBoxes' as I navigated from the opening portal, to
the config to enable debug logging and back to the portal to click on
the Mail portal block and document the error.  I only included the
relevant Cyrus  Horde log entries (there are a LOT of them) for the
initial login + failure and the debug failure.

FYI, the Cyrus fetching user_deny.db entry for.. log entries are
normal.  I am not a Cyrus guru so I am not sure why they are there, but
they have always been there before this issue started and are also there
when checking my IMAP email with Thunderbird or K9.

Opening log lines after initial login
--
Relevant Cyrus log entries
2015-02-08T09:00:11.838713-06:00 yorick cyrus/imap[12713]: accepted
connection
2015-02-08T09:00:11.846537-06:00 yorick cyrus/imap[12713]: imapd:Loading
hard-coded DH parameters
2015-02-08T09:00:11.896982-06:00 yorick cyrus/imap[12713]: skiplist:
checkpointed /var/lib/cyrus/tls_sessions.db (0 records, 144 bytes) in 0
seconds
2015-02-08T09:00:11.898033-06:00 yorick cyrus/imap[12713]: TLS Server
Name Indication (SNI) Extension: yorick.ironicdesign.com
2015-02-08T09:00:11.901231-06:00 yorick cyrus/imap[12713]: SSL_accept()
incomplete - wait
2015-02-08T09:00:11.936647-06:00 yorick cyrus/imap[12713]: SSL_accept()
succeeded - done
2015-02-08T09:00:11.936718-06:00 yorick cyrus/imap[12713]: starttls:
TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits new) no
authentication
2015-02-08T09:00:11.955812-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:11.955996-06:00 yorick cyrus/imap[12713]: login:
yorick.ironicdesign.com [192.168.0.23] andydor...@comehome.net PLAIN+TLS
User logged in SESSIONID=cyrus-12713-1423407611-1
2015-02-08T09:00:11.956166-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'

Associated Horde log entry
2015-02-08T09:00:12.786789-06:00 yorick HORDE: [imp] Login success for
andydor...@comehome.net (50.130.11.148) to
{imap://yorick.ironicdesign.com/} [pid 12953 on line 157 of
/usr/share/horde/imp/lib/Auth.php]

Relevant Cyrus log entries
2015-02-08T09:00:21.531238-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:22.979405-06:00 yorick cyrus/imap[12713]: open: user
andydor...@comehome.net opened INBOX
2015-02-08T09:00:22.983673-06:00 yorick cyrus/imap[12713]: SQUAT
returned 278 messages

Associated Horde log entry
2015-02-08T09:00:21.540598-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 12953 on line 726 of
/usr/share/horde/imp/lib/Imap.php]


Horde imp log lines while navigating back to portal
--
2015-02-08T09:01:24.916679-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 13019 on line 726 of
/usr/share/horde/imp/lib/Imap.php]
2015-02-08T09:02:21.096915-06:00 yorick HORDE: [imp] Load config file
(conf.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]
2015-02-08T09:02:21.117365-06:00 yorick HORDE: [imp] Load config file
(hooks.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]

Log lines after Horde debug loging enabled
--

Relevant Cyrus log entries
2015-02-08T09:02:32.456729-06:00 yorick cyrus/imap[12975]: accepted
connection
2015-02-08T09:02:32.465951-06:00 yorick cyrus/imap[12975]: imapd:Loading
hard-coded DH parameters
2015-02-08T09:02:32.573783-06:00 yorick cyrus/imap[12975

Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-08 Thread Andy Dorman

On 02/08/2015 04:34 PM, Andy Dorman wrote:

On 02/08/2015 11:00 AM, Andy Dorman wrote:

We are using the latest debian packages for these apps:

- Cyrus version 2.4.17+caldav~beta10-16
- PHP 5.6.5 (updated yesterday before problem started, changes below)
- Horde 5.2.1, Imp 6.2.2

The PHP updates were described as follows:

php5 (5.6.5+dfsg-1) unstable; urgency=medium

   * New upstream version 5.6.5+dfsg
   * Security vulnerabilities fixed:
+ Core
 - Fixed bug #68710 (Use After Free Vulnerability in PHP's
   unserialize()). (CVE-2015-0231)
+ CGI:
 - Fixed bug #68618 (out of bounds read crashes
   php-cgi). (CVE-2014-9427)
+ EXIF:
 - Fixed bug #68799: Free called on unitialized
   pointer. (CVE-2015-0232)
   * Update patches for 5.6.5 release

The problem is that now when you login to Horde, the portal comes up
with an empty mail block (ie, no inbox display) BUT the block with
Newest Unseen Messages is fine.  If you try to go to Imp to see your
email you are logged out with the onscreen error IMAP error reported by
server.

IMAP access using other mail clients like Thunderbird and K9 on my phone
works fine.

I think the problem is somewhere in the new PHP 5.6.5, but so far I have
not been able to find any sort of smoking gun that points to exactly
which change is the problem.

Syslog in Horde debug mode reports the lines below for HORDE [imp] and
Cyrus. You can see the original login success for IMAP, then several
failures of 'listMailBoxes' as I navigated from the opening portal, to
the config to enable debug logging and back to the portal to click on
the Mail portal block and document the error.  I only included the
relevant Cyrus  Horde log entries (there are a LOT of them) for the
initial login + failure and the debug failure.

FYI, the Cyrus fetching user_deny.db entry for.. log entries are
normal.  I am not a Cyrus guru so I am not sure why they are there, but
they have always been there before this issue started and are also there
when checking my IMAP email with Thunderbird or K9.

Opening log lines after initial login
--
Relevant Cyrus log entries
2015-02-08T09:00:11.838713-06:00 yorick cyrus/imap[12713]: accepted
connection
2015-02-08T09:00:11.846537-06:00 yorick cyrus/imap[12713]: imapd:Loading
hard-coded DH parameters
2015-02-08T09:00:11.896982-06:00 yorick cyrus/imap[12713]: skiplist:
checkpointed /var/lib/cyrus/tls_sessions.db (0 records, 144 bytes) in 0
seconds
2015-02-08T09:00:11.898033-06:00 yorick cyrus/imap[12713]: TLS Server
Name Indication (SNI) Extension: yorick.ironicdesign.com
2015-02-08T09:00:11.901231-06:00 yorick cyrus/imap[12713]: SSL_accept()
incomplete - wait
2015-02-08T09:00:11.936647-06:00 yorick cyrus/imap[12713]: SSL_accept()
succeeded - done
2015-02-08T09:00:11.936718-06:00 yorick cyrus/imap[12713]: starttls:
TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits new) no
authentication
2015-02-08T09:00:11.955812-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:11.955996-06:00 yorick cyrus/imap[12713]: login:
yorick.ironicdesign.com [192.168.0.23] andydor...@comehome.net PLAIN+TLS
User logged in SESSIONID=cyrus-12713-1423407611-1
2015-02-08T09:00:11.956166-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'

Associated Horde log entry
2015-02-08T09:00:12.786789-06:00 yorick HORDE: [imp] Login success for
andydor...@comehome.net (50.130.11.148) to
{imap://yorick.ironicdesign.com/} [pid 12953 on line 157 of
/usr/share/horde/imp/lib/Auth.php]

Relevant Cyrus log entries
2015-02-08T09:00:21.531238-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:22.979405-06:00 yorick cyrus/imap[12713]: open: user
andydor...@comehome.net opened INBOX
2015-02-08T09:00:22.983673-06:00 yorick cyrus/imap[12713]: SQUAT
returned 278 messages

Associated Horde log entry
2015-02-08T09:00:21.540598-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 12953 on line 726 of
/usr/share/horde/imp/lib/Imap.php]


Horde imp log lines while navigating back to portal
--
2015-02-08T09:01:24.916679-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 13019 on line 726 of
/usr/share/horde/imp/lib/Imap.php]
2015-02-08T09:02:21.096915-06:00 yorick HORDE: [imp] Load config file
(conf.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]
2015-02-08T09:02:21.117365-06:00 yorick HORDE: [imp] Load config file
(hooks.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]

Log lines after Horde debug loging enabled
--

Relevant Cyrus log entries
2015-02-08T09:02:32.456729-06:00 yorick cyrus/imap[12975]: accepted
connection
2015-02-08T09:02:32.465951-06:00 yorick cyrus/imap[12975]: imapd:Loading
hard-coded DH parameters
2015-02-08T09:02

Re: [imp] Imp LDAP Error: [listMailboxes] IMAP error reported by server

2015-02-08 Thread Andy Dorman

On 02/08/2015 05:00 PM, Andy Dorman wrote:

On 02/08/2015 04:34 PM, Andy Dorman wrote:

On 02/08/2015 11:00 AM, Andy Dorman wrote:

We are using the latest debian packages for these apps:

- Cyrus version 2.4.17+caldav~beta10-16
- PHP 5.6.5 (updated yesterday before problem started, changes below)
- Horde 5.2.1, Imp 6.2.2

The PHP updates were described as follows:

php5 (5.6.5+dfsg-1) unstable; urgency=medium

   * New upstream version 5.6.5+dfsg
   * Security vulnerabilities fixed:
+ Core
 - Fixed bug #68710 (Use After Free Vulnerability in PHP's
   unserialize()). (CVE-2015-0231)
+ CGI:
 - Fixed bug #68618 (out of bounds read crashes
   php-cgi). (CVE-2014-9427)
+ EXIF:
 - Fixed bug #68799: Free called on unitialized
   pointer. (CVE-2015-0232)
   * Update patches for 5.6.5 release

The problem is that now when you login to Horde, the portal comes up
with an empty mail block (ie, no inbox display) BUT the block with
Newest Unseen Messages is fine.  If you try to go to Imp to see your
email you are logged out with the onscreen error IMAP error reported by
server.

IMAP access using other mail clients like Thunderbird and K9 on my phone
works fine.

I think the problem is somewhere in the new PHP 5.6.5, but so far I have
not been able to find any sort of smoking gun that points to exactly
which change is the problem.

Syslog in Horde debug mode reports the lines below for HORDE [imp] and
Cyrus. You can see the original login success for IMAP, then several
failures of 'listMailBoxes' as I navigated from the opening portal, to
the config to enable debug logging and back to the portal to click on
the Mail portal block and document the error.  I only included the
relevant Cyrus  Horde log entries (there are a LOT of them) for the
initial login + failure and the debug failure.

FYI, the Cyrus fetching user_deny.db entry for.. log entries are
normal.  I am not a Cyrus guru so I am not sure why they are there, but
they have always been there before this issue started and are also there
when checking my IMAP email with Thunderbird or K9.

Opening log lines after initial login
--
Relevant Cyrus log entries
2015-02-08T09:00:11.838713-06:00 yorick cyrus/imap[12713]: accepted
connection
2015-02-08T09:00:11.846537-06:00 yorick cyrus/imap[12713]: imapd:Loading
hard-coded DH parameters
2015-02-08T09:00:11.896982-06:00 yorick cyrus/imap[12713]: skiplist:
checkpointed /var/lib/cyrus/tls_sessions.db (0 records, 144 bytes) in 0
seconds
2015-02-08T09:00:11.898033-06:00 yorick cyrus/imap[12713]: TLS Server
Name Indication (SNI) Extension: yorick.ironicdesign.com
2015-02-08T09:00:11.901231-06:00 yorick cyrus/imap[12713]: SSL_accept()
incomplete - wait
2015-02-08T09:00:11.936647-06:00 yorick cyrus/imap[12713]: SSL_accept()
succeeded - done
2015-02-08T09:00:11.936718-06:00 yorick cyrus/imap[12713]: starttls:
TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits new) no
authentication
2015-02-08T09:00:11.955812-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:11.955996-06:00 yorick cyrus/imap[12713]: login:
yorick.ironicdesign.com [192.168.0.23] andydor...@comehome.net PLAIN+TLS
User logged in SESSIONID=cyrus-12713-1423407611-1
2015-02-08T09:00:11.956166-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'

Associated Horde log entry
2015-02-08T09:00:12.786789-06:00 yorick HORDE: [imp] Login success for
andydor...@comehome.net (50.130.11.148) to
{imap://yorick.ironicdesign.com/} [pid 12953 on line 157 of
/usr/share/horde/imp/lib/Auth.php]

Relevant Cyrus log entries
2015-02-08T09:00:21.531238-06:00 yorick cyrus/imap[12713]: fetching
user_deny.db entry for 'andydor...@comehome.net'
2015-02-08T09:00:22.979405-06:00 yorick cyrus/imap[12713]: open: user
andydor...@comehome.net opened INBOX
2015-02-08T09:00:22.983673-06:00 yorick cyrus/imap[12713]: SQUAT
returned 278 messages

Associated Horde log entry
2015-02-08T09:00:21.540598-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 12953 on line 726 of
/usr/share/horde/imp/lib/Imap.php]


Horde imp log lines while navigating back to portal
--
2015-02-08T09:01:24.916679-06:00 yorick HORDE: [imp] [listMailboxes]
IMAP error reported by server. [pid 13019 on line 726 of
/usr/share/horde/imp/lib/Imap.php]
2015-02-08T09:02:21.096915-06:00 yorick HORDE: [imp] Load config file
(conf.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]
2015-02-08T09:02:21.117365-06:00 yorick HORDE: [imp] Load config file
(hooks.php; app: imp) [pid 13019 on line 109 of
/usr/share/php/Horde/Registry/Loadconfig.php]

Log lines after Horde debug loging enabled
--

Relevant Cyrus log entries
2015-02-08T09:02:32.456729-06:00 yorick cyrus/imap[12975]: accepted
connection
2015-02-08T09:02:32.465951-06:00 yorick cyrus/imap[12975]: imapd:Loading

Re: [imp] Debian Folders and Email Display Problems in SmartMobile View, resolved, use jquery-mobile shipped with Horde_Core

2015-01-21 Thread Andy Dorman

On 01/20/2015 11:45 PM, Michael M Slusarz wrote:

Quoting Andy Dorman ador...@ironicdesign.com:


On 01/20/2015 05:17 PM, Michael M Slusarz wrote:

Quoting Andy Dorman ador...@ironicdesign.com:


I went to the jquery-mobile site and grabbed the latest version of
jquery-mobile and shoved that onto our dev server where debian loads
it's outdated package (/usr/share/javascript/jquery-mobile/) and Horde
links to files in that directory.  I adjusted the sym links that link
the generic names to specific versions to use the v 1.4.5 files and
everything works now.


jquery mobile v1.4 will NOT work with Horde's smartmobile view.  All
sorts of things are broken.

In short:
  - jquery mobile does handle dynamic pages well at all.
  - We had to custom write a bunch of localized Horde code to support
dynamic pages
  - The way jquery mobile loads pages changed between 1.3 - 1.4,
breaking this custom code

michael

___
Michael Slusarz [slus...@horde.org]



Thanks for the information Michael. I did not find anywhere where the
jquery-mobile version requirement was specified, so I grabbed the latest.

I will switch to using v 1.3.2 which is still available at
jquerymobile.com/download


That's the version shipped with (the latest version of) Horde_Core, FWIW.

michael



OK, so it sounds like the best solution is for the debian php-horde-core 
package to use the jqery-mobile shipped in Horde_Core instead of setting 
up sym links that point to the Debian javascript/jquery-mobile package.


I will see about filing a bug report with Debian about this.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


[imp] IMAP Folders and Email Display Problems in SmartMobile View

2015-01-20 Thread Andy Dorman
We have a very strange problem that I have been unable to trace and I 
wonder if anyone recognizes this and can tell me what I need to change 
to fix this.  I will file a bug report if I can determine this is not a 
configuration issue.


We are running a Debian install with PHP 5.6.4, Horde 5.2.1, IMP 6.2.2,
and the latest Debian package for jquery.mobile.js loads version 1.2.0.

When using the smartmobile view we are able to login and use all apps 
except IMP.  With IMP we are seeing the following behavior in all mobile 
or desktop browsers (Safari, K9, IE, FF, Chrome) that we have tested so far:


I watched firebug during all page loads and everything is being loaded 
as it should be.  Based on the error below I made certain that 
jquery.mobile.min.js (v1.2.0) is loading, about 100ms after smartmobile.js.


No Horde or PHP errors are being logged to syslog when these problems 
happen.


- After login we click on Mail (mailbox display pref set to display 
folders after login and Use IMAP mailbox subscriptions? is UNchecked) 
and get an empty mail Folders display with menu bars top and bottom.


In firebug on Chrome we get the following console error for line 316 of 
smartmobile.js: Uncaught TypeError: undefined is not a function


...
314   onPageChange: function(e, data)
315   {
316$.mobile.navigate(data.options.dataUrl || ('#' + 
HordeMobile.currentPage()), {}, true);

317   },
...

In firebug on FF the reported error for line 316 is TypeError: 
$.mobile.navigate is not a function


Clicking on Refresh in the bottom menu at this point does nothing (does 
not even show the busy icon.)


- If we click on Show All we see all our IMAP folders.  If we click on 
Show Polled we see only Inbox, Drafts, Sent, Templates, and Trash.


- When I click on a folder I again get menu bars top and bottom with an 
empty display between them.  I also get two console errors for line 316 
of smartmobile.js (same as above)


- Clicking on Refresh bring up the list of emails in the selected folder.

- Click on an email brings up top  bottom menu bars, the same line 316 
error and no email.  This time however there is no refresh option that 
will display the email without running into the $.mobile.navigate is 
not a function error.  So we can not see email in smartmobile view.


So I am going to investigate the possibility of a version problem with 
jquery.mobile.js 1.2.0.  I would really appreciate it if anyone can 
confirm the version issue or knows of something else I should look at.


Thanks for your assistance.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMAP Folders and Email Display Problems in SmartMobile View, resolved

2015-01-20 Thread Andy Dorman

On 01/20/2015 04:19 PM, Andy Dorman wrote:

We have a very strange problem that I have been unable to trace and I
wonder if anyone recognizes this and can tell me what I need to change
to fix this.  I will file a bug report if I can determine this is not a
configuration issue.

We are running a Debian install with PHP 5.6.4, Horde 5.2.1, IMP 6.2.2,
and the latest Debian package for jquery.mobile.js loads version 1.2.0.

When using the smartmobile view we are able to login and use all apps
except IMP.  With IMP we are seeing the following behavior in all mobile
or desktop browsers (Safari, K9, IE, FF, Chrome) that we have tested so
far:

I watched firebug during all page loads and everything is being loaded
as it should be.  Based on the error below I made certain that
jquery.mobile.min.js (v1.2.0) is loading, about 100ms after smartmobile.js.

No Horde or PHP errors are being logged to syslog when these problems
happen.

- After login we click on Mail (mailbox display pref set to display
folders after login and Use IMAP mailbox subscriptions? is UNchecked)
and get an empty mail Folders display with menu bars top and bottom.

In firebug on Chrome we get the following console error for line 316 of
smartmobile.js: Uncaught TypeError: undefined is not a function

...
314   onPageChange: function(e, data)
315   {
316$.mobile.navigate(data.options.dataUrl || ('#' +
HordeMobile.currentPage()), {}, true);
317   },
...

In firebug on FF the reported error for line 316 is TypeError:
$.mobile.navigate is not a function

Clicking on Refresh in the bottom menu at this point does nothing (does
not even show the busy icon.)

- If we click on Show All we see all our IMAP folders.  If we click on
Show Polled we see only Inbox, Drafts, Sent, Templates, and Trash.

- When I click on a folder I again get menu bars top and bottom with an
empty display between them.  I also get two console errors for line 316
of smartmobile.js (same as above)

- Clicking on Refresh bring up the list of emails in the selected folder.

- Click on an email brings up top  bottom menu bars, the same line 316
error and no email.  This time however there is no refresh option that
will display the email without running into the $.mobile.navigate is
not a function error.  So we can not see email in smartmobile view.

So I am going to investigate the possibility of a version problem with
jquery.mobile.js 1.2.0.  I would really appreciate it if anyone can
confirm the version issue or knows of something else I should look at.

Thanks for your assistance.



I went to the jquery-mobile site and grabbed the latest version of 
jquery-mobile and shoved that onto our dev server where debian loads 
it's outdated package (/usr/share/javascript/jquery-mobile/) and Horde 
links to files in that directory.  I adjusted the sym links that link 
the generic names to specific versions to use the v 1.4.5 files and 
everything works now.


So now to see if I can help the Debian package maintainer upgrade the 
Debian package somehow (I am NOT a Debian Package person) or just monkey 
patch all our prod servers until the Debian package catches up.


Sorry if I wasted anyone's time looking into this.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMAP Folders and Email Display Problems in SmartMobile View, resolved, use jquery-mobile v 1.3.2

2015-01-20 Thread Andy Dorman

On 01/20/2015 05:17 PM, Michael M Slusarz wrote:

Quoting Andy Dorman ador...@ironicdesign.com:


I went to the jquery-mobile site and grabbed the latest version of
jquery-mobile and shoved that onto our dev server where debian loads
it's outdated package (/usr/share/javascript/jquery-mobile/) and Horde
links to files in that directory.  I adjusted the sym links that link
the generic names to specific versions to use the v 1.4.5 files and
everything works now.


jquery mobile v1.4 will NOT work with Horde's smartmobile view.  All
sorts of things are broken.

In short:
   - jquery mobile does handle dynamic pages well at all.
   - We had to custom write a bunch of localized Horde code to support
dynamic pages
   - The way jquery mobile loads pages changed between 1.3 - 1.4,
breaking this custom code

michael

___
Michael Slusarz [slus...@horde.org]



Thanks for the information Michael. I did not find anywhere where the 
jquery-mobile version requirement was specified, so I grabbed the latest.


I will switch to using v 1.3.2 which is still available at 
jquerymobile.com/download


Thanks again for all your help.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP Login Issues With Internet Explorer

2015-01-19 Thread Andy Dorman

On 01/19/2015 11:12 AM, Adam Tauno Williams wrote:

Horde 5.2.3 / IMP 6.2.4
Firefox 31.20.0
Internet Explorer 11.0.13

Logging into my instance with Firefox [or Epiphany] works without
incident.

Logging into Internet Explorer fails, it just says authentication fails
and goes back to the login page.

Anyone else seen this?  There appears to be no errors, warnings, etc...



Try clearing all your cookies for the login domain.  We will see this 
often in Chrome  FF when testing subdomains like beta.mydomain.com and 
then trying to login at mydomain.com.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Various meaningful IMP default settings

2014-12-23 Thread Andy Dorman

On 12/23/2014 05:29 AM, Daniel Vollbrecht wrote:

Am 23.12.14 um 01:07 schrieb Michael M Slusarz:


(Obviously, if you look at any individual phone contact log, or for
incoming calls, it might show both name and number.  But that's
irrelevant because we've been talking about what should be show in LIST
views).


Then there's a misunderstanding. I was talking about the actual mail
view when I click on an email (see attached screenshot) the whole time.
Currently, I have to

1. click to open the email
2. click again to the small triangle on the left to expand the view
3. click again on each of the names (to see the email addresses)

Now I even think that the average user doesn't imagine that (3) is
possible because he already expanded the view. And my point was that the
current view doesn't do a favor for neither the average nor the advanced
users. In this example, I would've easily been deluded if you had sent
to 'CC: imp someb...@roundcube.org' as I only see 'imp' until (3).
Thus, the sender addresses can't be trusted argument doesn't apply
here. Also it is industry standard in other clients not to require (2)
and (3).

After opening the email (1), I should get the

From: Some unverified name email@host

and the GeoIP country flag displayed next to it to avoid steps 2 and 3.

Would this be considerable?


Best, Daniel



FWIW, on my installation (Horde Groupware 5.2.2), once I click the arrow 
to see the header addresses for an email and I do NOT shrink it back 
down, all future emails are displayed with the full header view...and it 
retains that setting between sessions.


So IMHO an explicit configuration option is really not needed.

Granted, you have to hover your mouse over the To or From name to notice 
that you can see the actual email address, but personally I think this 
is a far cleaner look AND looks better on a smaller laptop or netbook 
screen.


I suppose it all comes down to the fact that developers do NOT have 
unlimited resources and time and have to decide what is most important 
to spend time working on.


The idea that a configuration option for an expanded display of the 
email header address fields is valid, but not critical enough to spend 
considerable time working on at this time (unless you want to fund 
development of such an option and pay someone to add that feature). 
Indeed, it appears it has already been implemented to a limited degree 
as mentioned above.


Sincere regards,

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Login Problem after update to 5.2.2

2014-10-24 Thread Andy Dorman

On 10/24/2014 02:23 AM, Kein Name wrote:

Hello List,

I was running Horde Webmail 5.2.1 since the release without any trouble.
After updating Horde Webmail to 5.2.2 I have a strange problem every
other day (roughly one in 7 days).
I go to the login page and can see the login boxes, I enter
username/password and the log files show a login success for horde and
imp, so does the imap server.
BUT then I am not redirected to my mail box URL like this
https://webmail.example.net/imp/dynamic.php?page=mailbox#mbox:SU5CT1g
instead the login screen stays, with no error message on it and the URL
changes to something like
https://webmail.example.net/login.php?url=https%3A%2F%2Fwebmail.example.net%2Fimp%2Fdynamic.php%3Fpage%3Dmailboxhorde_logout_token=0JgcLt-y2mhIAbF5FgqIEQ3
and thats about it. I am not seeing my mailbox, I cannot re-try logging
in, as I always see the login boxes.

Does someone have an idea?

Thanks!

Bye
Stefan König



This has happened to me a few times in the past with Chrome.  Try 
clearing your cookies and browser history before logging in again.


I am not sure what the actual problem is, but clearing cookies and my 
browser history for my horde login URL has always fixed it for me.


Good luck.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Search results of more than 100 messages cause 'error communicating with the server'

2014-08-28 Thread Andy Dorman

On 08/28/2014 11:37 AM, Jan Schneider wrote:

There's actually yet another option. PHP itself is about to ship a
replacement extension that doesn't use the original JSON library.


Excellent!  Our dev server is running right on the bleeding edge with 
PHP 5.6 RC4+whatever, so hopefully we will see it shortly.


In the meantime I still need to work on experimenting with the 
stream_set_timeout to see if we can get IMAP  SMTP tls working again.


Thank you again for your help and patience.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Search results of more than 100 messages cause 'error communicating with the server'

2014-08-27 Thread Andy Dorman

On 08/27/2014 02:09 PM, Michael M Slusarz wrote:

Quoting Jens Pranaitis pranai...@phil.hhu.de:


FYI to others: this turned out to be a bug with Debian (and Ubuntu's)
PHP package.  Namely, the JSON-C package is broken.  Very frustrating
since there is nothing wrong with *PHP's* JSON decoding code.


Could you elaborate on this? Is this
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687269 ? I think I'm
seeing the same issue with some users loading messages from search
results.


Debian has an issue with the line Use this software for good, not evil
in the source code for the PHP JSON code.  (This is real.  I am not
making this up.)  So they replaced this stable code that works perfectly
fine with a replacement that is broken in several areas - mainly dealing
with null characters.  We use null characters a bunch in IMP data for
technical reasons I won't go into here.  So Debian ships with broken
JSON code with known bugs (which, I should mention, have been known for
a year and *still* aren't fixed).



Well the issue is not quite that simple and Debian isn't the only distro 
that has a problem with a morality clause in software.


From the discussion at https://bugs.php.net/bug.php?id=63520
-
*The morality clause The Software shall be used for Good, not Evil. 
violates software freedom 0 and point 6 of the open source definition 
and the license will therefore _never_ be free or open source by 
definition. This is not a license some fanatics don't like, it is a 
manifestly proprietary license.


*The original author of the license has purposely chosen this form of 
license to trick open source projects into mistaking it as an open 
source license. He did this to prove the point that those open source 
guys are entitled kids and plays the issue for amusement: 
http://www.youtube.com/watch?v=-hCimLnIsDA

-

Unfortunately the simplest solution, removing the morality clause was 
turned down by the license author Douglas Crockford with the reply The 
license looks fine to me.  He either has no idea of the problems his 
cute prank has caused or just doesn't care of the people and companies 
it hurts.


The real twist is Mr Crawford granted IBM an exception, as a joke.  Too 
bad he won't do the same for the open source community.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Search results of more than 100 messages cause 'error communicating with the server'

2014-08-27 Thread Andy Dorman

On 08/27/2014 04:57 PM, Michael M Slusarz wrote:

Quoting Andy Dorman ador...@ironicdesign.com:


On 08/27/2014 02:09 PM, Michael M Slusarz wrote:

Quoting Jens Pranaitis pranai...@phil.hhu.de:


FYI to others: this turned out to be a bug with Debian (and Ubuntu's)
PHP package.  Namely, the JSON-C package is broken.  Very frustrating
since there is nothing wrong with *PHP's* JSON decoding code.


Could you elaborate on this? Is this
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687269 ? I think I'm
seeing the same issue with some users loading messages from search
results.


Debian has an issue with the line Use this software for good, not evil
in the source code for the PHP JSON code.  (This is real.  I am not
making this up.)  So they replaced this stable code that works perfectly
fine with a replacement that is broken in several areas - mainly dealing
with null characters.  We use null characters a bunch in IMP data for
technical reasons I won't go into here.  So Debian ships with broken
JSON code with known bugs (which, I should mention, have been known for
a year and *still* aren't fixed).



Well the issue is not quite that simple and Debian isn't the only
distro that has a problem with a morality clause in software.


This has been covered before.  Regardless of what anyone feels
personally/morally about the clause, *legally* the clause causes no
substantial issues - or at least no more substantial issues than any
other supposed free license.

I really don't care that Debian gets the whole legal argument wrong.
Whatever - that pissing contest is not my idea of intellectual stimulation.

What I do care is that they ship BROKEN software that claims to be PHP,
when it really isn't.  In other words: Debian PHP 5.x.y !== PHP 5.x.y.

michael
___
Michael Slusarz [slus...@horde.org]



Michael, I agree, but the lawyer I checked with disagrees with you that 
the clause causes no substantial issues.


But I definitely agree this line of discussion is a complete waste of 
all of our time.


However, we still need a solution...So I gather that the options for 
anyone using a Debian distro are:


1. Switch to a non-debian distro...really not feasible for us as our 
many debian servers are already running other services with thousands of 
users and we do not have the resources nor expertise to switch distros.


2. Live with the bug caused by the Debian PHP JSON-C package not 
handling null (and apparently some other) characters.


3. Recompile our own version of PHP with Mr Crockford's 
morality-constrained package and use it on our servers.  Again we do 
not have the expertise nor time to maintain our own PHP version.


4. Are the two JSON-C packages so incompatible that end software (ie 
Horde) could not be modified to work with either one?  I expect the 
Horde team has already considered this and that means it is not feasible 
nor should they have to.  If this is really a bug in the free version of 
PHP JSON-C, then the best thing would be to fix the bug.


and that leads us to

5. See if we could help fund added development in the Debian JSON-C 
package to resolve the null (and other) character handling bugs.


6. See if we can get Mr Crockford to grant Debian and PHP the same 
exception to his morality clause that he granted to IBM.  Based on his 
treating this as a funny joke, I expect not.


So it looks to me like #5 is the best and possibly only way to proceed 
at this time.


Toward that end, is this the problem bug?

json_decode: strings cut off after first null-byte
https://github.com/remicollet/pecl-json-c/issues/7

If so then I will be happy to see if we can accelerate getting the code 
with the bug fix into Debian PHP ASAP.


Thanks,

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Disk Quota prevents login

2014-07-23 Thread Andy Dorman

On 07/22/2014 05:23 PM, Andy Dorman wrote:

On 07/22/2014 04:14 PM, Art Stephens wrote:

I installed and turned on quotas on our email server running ubuntu.
With quota enabled I am unable to log in.

The login page just re-presents itself every time I click log in.
My quota was set to unlimited.

Was not able to log in until I turned off quota.

Horde groupware 5.2.0
Operating system Ubuntu Linux 12.04.4
Linux 3.11.0-24-generic on x86_64
Mail (imp) 6.2.0

Any help



Are you sure quotas are set up on your IMAP server?

What are your Horde  IMAP server log messages when this happens?

We have the same versions of Horde  IMP and use quotas all the time
with Cyrus with no problem.



FWIW, displaying IMAP quotas for horde 5.2/imp 6.2 is enabled in our 
system using the default config in imp/config/backends.php for the 
advanced IMAP server:


'quota' = array(
'driver' = 'imap',
'params' = array(
'hide_when_unlimited' = true,
'unit' = 'MB'
)
),

Then we enable the advanced server and disable the base imap server 
in our imp/config/backends.local.php


$servers ['imap']['disabled'] = true;
$servers ['advanced']['disabled'] = false;

This works fine with a Cyrus IMAP server.  Our signup web server sets 
the IMAP quotas in the Cyrus IMAP server when an address is added. 
System administrators can modify the Cyrus IMAP quotas as needed using 
our admin console.


Hope this helps.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Disk Quota prevents login

2014-07-22 Thread Andy Dorman

On 07/22/2014 04:14 PM, Art Stephens wrote:

I installed and turned on quotas on our email server running ubuntu.
With quota enabled I am unable to log in.

The login page just re-presents itself every time I click log in.
My quota was set to unlimited.

Was not able to log in until I turned off quota.

Horde groupware 5.2.0
Operating system Ubuntu Linux 12.04.4
Linux 3.11.0-24-generic on x86_64
Mail (imp) 6.2.0

Any help



Are you sure quotas are set up on your IMAP server?

What are your Horde  IMAP server log messages when this happens?

We have the same versions of Horde  IMP and use quotas all the time 
with Cyrus with no problem.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Horde (IMP) email problems

2014-05-08 Thread Andy Dorman

On 05/08/2014 03:25 PM, Louis-Philippe Allard wrote:

550 OU-002 (COL0-MC6-F27) Unfortunately, messages from XX.XX.XX.XX
weren't sent. Please contact your Internet service provider since part of
their network is on our block list. You can also refer your provider to
http://mail.live.com/mail/troubleshooting.aspx#errors.


Hotmail (mail.live.com) tells you all about it in the error message you 
provided above.  For whatever reason, they (Hotmail) are blocking/not 
accepting email from the IP address block that your IP is in.


A lot of overly simplistic spam filters try to solve the problem of spam 
by just refusing to accept email from whole swaths of IP addresses. 
These are often dynamic IP addresses assigned to residential users.


It is likely that another residential user with an IP from your ISP has 
an infected PC that is spewing spam and/or viruses and Hotmail has just 
blocked a bunch of IPs on either side of the offending IP and you have 
been caught in the same net block.


You may be able to send your outgoing email through your ISP's smtp 
server.  You can check on this when you contact them to explain that 
their IPs are blocked and can they contact Hotmail to get them 
unblocked.  Of course then they may tell you you should not be sending 
email out from a dynamic IP and that is when you ask them how to relay 
your email out through their smtp server.


Good luck.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP and Gollem

2014-04-29 Thread Andy Dorman

On 04/29/2014 04:50 PM, Michael M Slusarz wrote:

Quoting Art Stephens asteph...@ptera.com:


We want to switch our email users over to Horde but since we have a 50M
limit on email storage we do not want people using gollem to store
files on
the server. I have googled for a way to remove File Manager from the
Others
menu at the top of Groupware 5.1.4 but can not find a way.


Set gollem's status to 'inactive' in horde/config/registry.local.php
(see registry.php for documentation).

michael

___
Michael Slusarz [slus...@horde.org]


 Like this in horde/config/registry.local.php ...

// do not enable Gollem, the file storage app
$this-applications['gollem']['status'] = 'inactive';
$this-applications['gollem-menu']['status'] = 'inactive';


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Mail printing - confirmation of my guess...

2014-03-25 Thread Andy Dorman

On 03/25/2014 04:23 AM, Simon B wrote:

On 25 Mar 2014 09:04, ANANT S ATHAVALE a...@isac.gov.in wrote:


Dear List,

I want the Bcc field contents also to get printed, when print icon is

used for printing (the print icon available in body).  As per my
understanding commenting the following line


unset($basic_headers['bcc'], $basic_headers['reply-to']);

in horde/imp/lib/Contents/View.php (function printAttach) should do the

job.


Can someone confirm this please.


In most clients bcc is not even shown in the sent folder, and is certainly
not printed.  So what you're trying to do is break email standards.

Simon



Actually, I use Thunderbird/Icedove and if the BCC exists, I can see it 
(and print it) by default.


BCC is removed by the MTA and handled separately so that the To/CC 
recipients never see the BCC address.  So the BCC address will ONLY be 
present in the copy that the mail client sees when that mail was written 
by the user or the user was the BCC recipient.


In all cases I can think of it is entirely appropriate for the mail 
client to display AND print the BCC address if it is present.  It will 
just not be present if you were not the BCC recipient or the sender.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP 6.2 release date

2014-02-26 Thread Andy Dorman

On 02/26/2014 10:24 AM, Aria Bamdad wrote:

Od: azurIt azu...@pobox.sk
Komu: imp@lists.horde.org
Dátum: 18.02.2014 21:51
Predmet: [imp] IMP 6.2 release date

Any news? thnx

azur


Really nothing? Is there anything which prevents doing a release?

azur
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Guys, this is just another open source software (a superb one).  Let's all 
understand what we doing here.  Those developers who dedicate their time 
(time=life) to writing this code and making it available to you and me are not 
doing it because they are great friends of ours or that they owe us something.  
They are doing it because they love the product they are developing and they 
want the world to benefit from it (and other reasons I am sure).

Let's not be so demanding as to suggest that if they take too long to put a 
release out, we are going to fire them.

They do have a donation link and they also have a way for us to fund the 
implementation of features.  If you feel strongly that releases should happen 
in a timely manner, then fund that.  If you feel strongly that a feature should 
exist, then fund that!  Other than that, all we can do as users of this product 
is to spread the word as to how good it is, keep using it and assist in helping 
others with their problems on this list.  Not to pester them about adding 
features and the like.  Do I agree with everything in the product and how it is 
implemented? No. But you can never find any product that everyone likes and 
agrees with.  All I can do is support the product by using it, and support the 
developers by funding them and if I can't fund them, then tell the what a good 
job they are doing once in a while.

Thanks for listening.

Aria




+10

Good words Aria.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] IMP 6.2 release date

2014-02-26 Thread Andy Dorman

On 02/26/2014 11:24 AM, azurIt wrote:

Od: Andy Dorman ador...@ironicdesign.com
Komu: imp@lists.horde.org
Dátum: 26.02.2014 18:00
Predmet: Re: [imp] IMP 6.2 release date

On 02/26/2014 10:24 AM, Aria Bamdad wrote:

Od: azurIt azu...@pobox.sk
Komu: imp@lists.horde.org
Dátum: 18.02.2014 21:51
Predmet: [imp] IMP 6.2 release date

Any news? thnx

azur


Really nothing? Is there anything which prevents doing a release?

azur
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Guys, this is just another open source software (a superb one).  Let's all 
understand what we doing here.  Those developers who dedicate their time 
(time=life) to writing this code and making it available to you and me are not 
doing it because they are great friends of ours or that they owe us something.  
They are doing it because they love the product they are developing and they 
want the world to benefit from it (and other reasons I am sure).

Let's not be so demanding as to suggest that if they take too long to put a 
release out, we are going to fire them.

They do have a donation link and they also have a way for us to fund the 
implementation of features.  If you feel strongly that releases should happen 
in a timely manner, then fund that.  If you feel strongly that a feature should 
exist, then fund that!  Other than that, all we can do as users of this product 
is to spread the word as to how good it is, keep using it and assist in helping 
others with their problems on this list.  Not to pester them about adding 
features and the like.  Do I agree with everything in the product and how it is 
implemented? No. But you can never find any product that everyone likes and 
agrees with.  All I can do is support the product by using it, and support the 
developers by funding them and if I can't fund them, then tell the what a good 
job they are doing once in a while.

Thanks for listening.

Aria




+10

Good words Aria.


Guys, i already donated $100 to one of the new functions which will be included 
in this release and this is way i was asking this question - i just can't wait 
to start using it. I didn't want to mention it like this but  Aria, who 
probably never donated a cent to OSS, is trying to make me a troll here..

azur



Excellent then!  Is this the release with the multiple accounts feature 
that I donated to as well (I forget how much)?  Cause we are also very 
excited about that feature.  Although I am assuming that it will still 
need some beta testing before we release to our real users.  ;-)


But I do not think her words were necessarily directed at you personally 
as much as to anyone in the list that might forget the enormous benefits 
of OSS and the option to help pay the developers.


FWIW, I think once 6.2 is out, we can ALL really help by providing some 
detailed test reports if we see any problems.  Good testing and detailed 
problem reports are so important and not easy to do.


Have a great week everyone.

--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Some of our users are loosing their mails.

2014-02-20 Thread Andy Dorman
: http://wiki.horde.org/FAQTo unsubscribe,
mail: imp-unsubscr...@lists.horde.org


- End message from Jan Schneider j...@horde.org -

OK.  I am understandingBut, is the following logic worth implementing?

Option 1: If more than 1 message is selected, clicking on delete should not
delete the message which has also been opened for viewing.  It should
exclude the mail which has been opened for viewing.

Option 2: If only 1 message is selected and irrespective of whether it is
also opened for viewing or not, clicking delete button, should delete that
mail.

Sorry to trouble you with my ideas and it may not be feasible also.  But,
I think, this may solve our users issue of unknowingly deleting the mail
which was basically opened for viewing and not for deleting purpose.


I feel this logic is neither intuitive, expected nor needed.

You selected the message in the window, so any action you apply should 
be applied to the displayed message regardless of if you have selected 
additional messages.  If you do NOT want the action to be applied to the 
message you selected in the viewing window, then unselect it.


FWIW, I just went to imp in horizontal view, selected an email to view, 
scrolled down and selected a new email.  When I selected the second 
email the first email disappeared from the view and was replaced with a 
message...2 messages selected.


So it was blindly obvious that two emails are selected and now when I 
click delete, TWO emails are going to be deleted.  And this is as it 
should be because two emails were selected and the computer has NO way 
to know that I do not want to delete one of them.


Of course we all make mistakes, so the logical solution is to give them 
a way to recover.  So every new user automatically gets a Trash folder 
and the default action when deleting email is to move deleted email to 
trash.  Then we have set imp up to default to clearing the trash folder 
monthly.  The user can turn this off if they are not worried about disk 
space limits.


--
Andy Dorman
FanMail.com

CONFIDENTIALITY NOTICE: This message is for the named person's use only. 
It may contain confidential, proprietary or legally privileged 
information. No confidentiality or privilege is waived or lost by any 
erroneous transmission. If you receive this message in error, please 
immediately destroy it and notify the sender. You must not, directly or 
indirectly, use, disclose, distribute, or copy any part of this message 
if you are not the intended recipient.


--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Ability to send “Copy Protected” mail

2013-09-12 Thread Andy Dorman

On 09/12/2013 06:52 AM, Vikas Parashar wrote:

Hi,

Since last some days, i am searching a web-clients for mail server. HOrde
is one of feature rich web-client that i found.

Could any body please let me know how can i achieve

Ability to send “Copy Protected” mail that cannot be forwarded, printed, or
cut/copy and paste.

Looking fwd to hear from you soon.



An email is just a file, mostly text, with special bits like images, 
pdfs and zip files sent via smtp.  There is no way you can stop the 
recipient from doing anything they want with that file once they have it 
on their computer.


You can encrypt part of the file (the email body) to make it 
unreadable by anyone without the proper decryption tool (or a very fast 
quantum computer code breaker)...but once they have the file in their 
possession, you have NO control or say over what they can do with it.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Ability to send “Copy Protected” mail

2013-09-12 Thread Andy Dorman

On 09/12/2013 08:52 AM, Michael J Rubinsky wrote:


Quoting Andy Dorman ador...@ironicdesign.com:


On 09/12/2013 06:52 AM, Vikas Parashar wrote:

Hi,

Since last some days, i am searching a web-clients for mail server.
HOrde
is one of feature rich web-client that i found.

Could any body please let me know how can i achieve

Ability to send “Copy Protected” mail that cannot be forwarded,
printed, or
cut/copy and paste.

Looking fwd to hear from you soon.



An email is just a file, mostly text, with special bits like images,
pdfs and zip files sent via smtp.  There is no way you can stop the
recipient from doing anything they want with that file once they have
it on their computer.

You can encrypt part of the file (the email body) to make it
unreadable by anyone without the proper decryption tool (or a very
fast quantum computer code breaker)...but once they have the file in
their possession, you have NO control or say over what they can do
with it.


The original poster may be referring to features such as Exchange's
Information Rights Management. This allows exactly this level of
control, but obviously only works within a controlled MS Exchange
environment. This type of feature, as already stated, is not going to be
available in a groupware stack built upon open standards such as IMAP,
SMTP etc...




Good point.  I forgot that today you can send an email encrypted by one 
of the several proprietary Information Rights Management (IRM) systems 
(Oracle, Adobe, Microsoft, etc) and that email can only be decrypted and 
used appropriately by someone with the same IRM system.


I did a bit of searching and did not find anything discussing any open 
IRM standards that could be used by Horde or any other open source 
application.  But if such standards exist, I would hope we, the horde 
community, could eventually expand the system to be able to offer it.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Ability to send “Copy Protected” mail

2013-09-12 Thread Andy Dorman

On 09/12/2013 11:24 AM, azurIt wrote:

Quoting Andy Dorman ador...@ironicdesign.com:


I did a bit of searching and did not find anything discussing any
open IRM standards that could be used by Horde or any other open
source application.  But if such standards exist, I would hope we,
the horde community, could eventually expand the system to be able
to offer it.


This is extremely unlikely to ever happen in IMP.  For about a billion
different reasons.



Name the one thousand please.

azur



Azur, if it is important enough to the community then we, the community, 
can step up and either pay the horde team to add it or one of us can do 
it ourselves and give it back to the community.


I would certainly not expect something of this potential complexity to 
be added for free or soon though.  And the first step would have to be 
some sort of open IRM standards which I have not yet found to exist or 
even be in discussion.


Also, too many big companies (with well paid lawyers) are making big $ 
off it right now.  Because of that I bet Open Source IRM would probably 
be dragged into court on patent claims if it began to threaten their 
income in any way.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Handling multiple domains with IMP 6.1.4

2013-09-09 Thread Andy Dorman

On 09/09/2013 10:17 AM, Odhiambo Washington wrote:

Hello,

Google does not seem to help so I decided I'll ask here.

How do I configure this version of IMP to handle multiple domains? I have a
couple virtual domains in MySQL and would love to have the domain users
only enter their username, select their domain from a dropdown list and
enter their password.

For now they have to enter their full e-mail address as username.



We have supported multiple domains with Horde/Imp for several years.

Our users have found it much simpler and faster to enter their full 
email address to login the first time and tell their browser save the login.



--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Others and Other - suggestion.

2013-09-07 Thread Andy Dorman

On 09/07/2013 04:53 AM, ANANT S ATHAVALE wrote:

Dear List,

When we are using Dynamic interface, and when a mailbox is opened, we have
one 'OTHERS' Menu under which, bookmarks and password application are
listed.

And there is one OTHER, where Vertical Layout/Horizonal
Layout/Blacklist/Undelete, Show Deleted etc are listed.

This is may slightly confusing while handling support queries from our
users.  Can one of them be called with some other heading?

Your opinion please.


Our users (a couple thousand) have never asked a question about it.

The OTHER menu is pretty obviously related to the email display while 
OTHERS (and all the rest of the top menu bar) is for separate apps.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


[imp] Interest in Sponsoring Fetchmail feature for Horde 5/Imp 6

2013-08-01 Thread Andy Dorman
I am not sure if this is more appropriate for the imp or horde mailing 
lists.  I apologize in advance if I got it wrong.


FanMail is upgrading our email service to the current Horde Webmail 
service suite.


We have been testing with the latest Debian packaged versions and one 
thing we have really missed is the ability to fetch email from other 
accounts.  I personally have to keep bouncing back to our current 
production service and run FetchMail to pull in my Gmail and cable 
company email so I don't have to log into and read three separate email 
accounts.


So, I have a question for all you awesome Horde developers...do any of 
you have the time to work on updating the old fetchmail feature to work 
with the latest horde/imp, and do you have any sort of estimate as to 
the cost?


We are not a big company, but we need fetchmail (or something that will 
check and pull in email from multiple accounts), are not going to have 
the time to develop it ourselves, and would like to be able to 
contribute something back to the excellent Horde project.


Please feel free to respond off list with your thoughts and feedback.

Sincerely,

--
Andy Dorman
FanMail.com
Ironic Design, Inc.
AnteSpam.com, HomeFreeMail.com, ComeHome.net

CONFIDENTIALITY NOTICE: This message is for the named person's use only. 
It may contain confidential, proprietary or legally privileged 
information. No confidentiality or privilege is waived or lost by any 
erroneous transmission. If you receive this message in error, please 
immediately destroy it and notify the sender. You must not, directly or 
indirectly, use, disclose, distribute, or copy any part of this message 
if you are not the intended recipient.


--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Interest in Sponsoring fetchmail capability for Horde 5/Imp 6

2013-08-01 Thread Andy Dorman

On 08/01/2013 12:56 PM, Michael M Slusarz wrote:

Quoting Andy Dorman ador...@ironicdesign.com:


So, I have a question for all you awesome Horde developers...do any of
you have the time to work on updating the old fetchmail feature to
work with the latest horde/imp, and do you have any sort of estimate
as to the cost?


The old fetchmail functionality is not coming back. It simply doesn't
work coherently/properly in a PHP environment with limited process times
(and is non-threaded).

The replacement MUST be the ability to access multiple accounts within a
single session. But this is not a trivial change, and thus far nobody
has ponied up the funding needed to accomplish this (this would probably
require week(s) of work, as opposed to hours).

michael


Michael, thanks for the info.

I should have stated my query differently.  We need the capability to 
access multiple accounts.  It just happens that is what fetchmail did, 
so I used it as a shorthand description of the Use Case..


FWIW, I have used fetchmail for about 6 years, once or twice a day, and 
never had any trouble with it (even used it last night on our production 
system to fetch over 300 emails from gmail).  But I am a sample size of 
1 and I honestly do not know who else in our user base uses it.


So, weeks of work.  I wonder if anyone else on the list needs the 
ability to access email in multiple accounts through the web interface? 
 Perhaps several companies could get together and pledge enough?


Is there anyone else on this list that would be willing to help fund 
development of a fetchmail capability ? (ie, same end result as the 
old fetchmail, only done differently)


--
Andy Dorman
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] attachments larger than 100 KB are corrupted

2013-05-22 Thread Andy Dorman

On 05/22/2013 10:06 AM, Cooper Self wrote:

On 05/22/2013 03:35 AM, Jan Schneider wrote:


Zitat von Cooper Self coo...@goldrush.com:


Hello,

I recently brought a new server online running Groupware 5.0.4 and
Imp 6.0.4 I have come across a strange issue. Any attachments over
100 KB are corrupted. I am not seeing any errors on the server.
Larger files around a 1MB stall while uploading. I've check my
php.ini and my upload_max_filesize is 25MB post_max_size is 50MB and
memory_limit in 128MB. I'm not sure what else to check at this point.
any help would be greatly appreciated


Where do you store attachments? If in VFS, which backend do you use?


Thank you for the response.

I am using VFS and the backend is MySQL/PDO



FWIW, we are testing the same Groupware/Imp versions using the local FS 
for the VFS backend and not having any difficulties with large (1MB+) 
attachments.


--
Andy Dorman
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] 6.1.0-git

2013-05-17 Thread Andy Dorman
 the option of using a good VCS 
like Git to develop and maintain your own local changes and just merge 
in upstream changes in all other areas.


--
Andy Dorman
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Spam Problem ... close to a solution ... may be you could help?

2011-05-25 Thread Andy Dorman

On 05/24/2011 01:05 PM, Arjen de Korte wrote:


Something very similar is already available in Horde through the Permission
system where you can add IMP, specify the number of recipients per message
(max_recipients) and total recipients per time unit (max_timelimit). You need to
have the Outgoing Email Logging enabled for this to work though.

Best regards, Arjen



Arjen, thank you.  I had forgotten about that feature.  We did not use it 
because we do not use MySQL and I believe it requires the SQL db, no?.


--
Andy Dorman
Ironic Design, Inc.
AnteSpam.com, HomeFreeMail.com, ComeHome.net
--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Spam Problem ... close to a solution ... may be you could help?

2011-05-24 Thread Andy Dorman

On 05/24/2011 07:53 AM, � wrote:

Hi,

I did not find the compromised account yet, but I see a lot off messages
like the following one in our logs:

/var/log/httpd/ssl_request_log.1:[21/May/2011:01:10:54 +0200]
74.82.171.30 TLSv1 RC4-MD5 POST
/horde/imp/compose.php?uniq=721hskg326yc HTTP/1.1 92

/var/log/httpd/ssl_request_log.1:[21/May/2011:01:14:38 +0200]
74.82.171.30 TLSv1 RC4-MD5 POST
/horde/imp/compose.php?uniq=6khanz8ousab HTTP/1.1 92

/var/log/httpd/ssl_request_log.1:[21/May/2011:01:24:41 +0200]
74.82.171.30 TLSv1 RC4-MD5 POST
/horde/imp/compose.php?uniq=2bcbqsb503hi HTTP/1.1 92


May be anyone has an idea how to protect against such direct postings...
if it is possible anyway?

Any suggestion is welcome



OK, you said any suggestion...

We use two techniques to stop outgoing spam.  The first is pretty complex and 
not for everyone.  You must use version control like Git or Bazaar to keep your 
local code changes safe when you do upstream updates (and using PEAR is out). 
The second technique is simple but not free.


1. We run memcache on the horde servers.  We then added local code to 
horde/imp/lib/Compose.php to save and update a 24 hour count of recipients in 
memcache for a sender.


Then when a sender hits the 24 hr limit or a limit for the number of addresses 
in a single email (spammers love to send to 40 or 50 BCC addresses), we 
deactivate the sender (so they can not send any more until an admin has taken 
action) and send a note to an admin so someone can follow up and decide if this 
is a spammer OR a valid user whose account was stolen.


I am sure someone like Chuck or Jan could write a patch for you on a consulting 
basis.  I have been trying to get our code organized and clean enough that we 
could submit it as something just about anyone could use.  But right now it is 
tied pretty closely to our LDAP user store which is pretty complicated.


2. This is not free...For the horde mailer config item we use smtp and point it 
to antespam.com.  AnteSpam checks the outgoing email for spam and viruses.  When 
it finds either, it quarantines the email and sends a note to the user and the 
domain admin.  The user can manually free the email from quarantine.  But since 
a spammer needs to send a large quantity of spam, needing to release emails from 
quarantine quickly kills his/her profits.  Also, the domain admin can also look 
at the email and if it is really spam, they can quickly shut down the spammer.


I wish I had a better idea to suggest.  But we have found that spammers are 
clever and persistent and hard to stop.


Good luck,

--
Andy Dorman
FanMail.com
--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Fwd: Verbage in Horde Program..

2010-05-19 Thread Andy Dorman

On 05/18/2010 09:10 PM, Chuck Hagenbuch wrote:

- Forwarded message from Lorretta Woodbury
lorre...@woodburybydesign.com -
Date: Tue, 18 May 2010 12:34:48 -0700
From: Lorretta Woodbury lorre...@woodburybydesign.com
Subject: Verbage in Horde Program..
To: ch...@horde.org

Hi Chuck,

I imagine you would have heard this before, but I am going to run it by
you anyway. I received a number of complaints from my clients, many
non-profit, about whitelist and blacklist. They are stating it implies
black is bad and white is good. Just think it over and perhaps you and
your team could change it to redlist and greenlist..

At first I was hotheaded about it, but when I thought about it I
realized they may have a point.. Even though the use of those two colors
was not meant to be hurtful or discriminatory.

Thanks for listening...

Sincerely,
Lorretta Woodbury



In AnteSpam we use Block and Pass lists based on the functions the lists serve. 
 And it has seemed to catch on among our users.


--
Andy Dorman
FanMail.com
Ironic Design, Inc.
AnteSpam.com, HomeFreeMail.com, ComeHome.net
--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org