krono | 23 May 12:50 2016

Call to a member function write() on null

Hello dev list,
[already sent to koronolith list]

I have an installation of horde using
bitnami-horde-5.2.14-1-linux-x64-installer.run on ubuntu 16.04.
As for the custom mail server I toggle between 2 almost identical setups:
1. dovecot/postfix on ubuntu 12.04
2. dovecot/postfix on ubuntu 16.04
The toggling is done by updating the hostspec and host in imap section of
/opt/horde-5.2.14-1/apps/horde/htdocs/imp/config/backends.php and
restarting the stack - everything works fine.

I was creating an event in the calendar of a user while connected to the
mail server of ubuntu 12.04.
When I update the horde backend to the ubuntu 16.04 installation, and
try to login, I get the following web message:

A fatal error has occurred
Call to a member function write() on null
Details have been logged for the administrator.

and a message pops up on the console:
HORDE[15202]: [imp] Call to a member function write() on null [pid 15202
on line 4429 of
"/opt/horde-5.2.14-1/php/lib/php/Horde/Imap/Client/Socket.php"]

This happens only when I try to login to that specific user while
connected to the 16.04.
No problem when the backend points to the 12.04 and no problem to login
to other users when the backend points to 16.04. I also created a
(Continue reading)

Jan Schneider | 17 May 10:37 2016
Gravatar

Fwd: Hi Jan, I have a question regarding the use of Horde_Stream_Temp when fetching headers

----- Weitergeleitete Nachricht von Herr Klaus Leithoff Stylite AG -----
  Datum: Tue, 17 May 2016 10:24:46 +0200
Betreff: Hi Jan, I have a question regarding the use of  
Horde_Stream_Temp when fetching headers
     An: Jan Schneider <jan <at> horde.org>

Hi Jan,
I have a question regarding the use of Horde_Stream_Temp when fetching  
headers.
Outline:
In our EGroupare-Mail-Module, we implemented the possibility to have a  
"preview"
of the first few lines of a mail (like most mobile apps do it) in the  
list of available
mails. To achieve that, together with an
fquery = new Horde_Imap_Client_Fetch_Query();
fquery->headers(...)
we query for
fquery->fullText(peek=>true, length=>5000, start=>0)

when actually retrieving the headers, I bump into a Fatal, when accessing my
googlemail-account.Imap/Client/Data/Fetch.php Line 628 Call to  
undefined method Horde_Stream_Temp::toString() (this is within  
_getHeaders(...) ) we use pear-pear.horde.org/Horde_Imap_Client
Version 2.29.6

I worked around the problem with:
Horde_Imap_Client/Horde/Imap/Client/Data/Fetch.php Line 607
return 

(Continue reading)

Kambey L. Kisambu | 13 May 08:51 2016
Picon

Problem with Horde: Guest user is not authorized for Mail

Hello team,
Greetings,
I've recently upgraded my horde to 5.2.14 ruunning in OpenBSD +Nginx.

I'm facing the following issue:-
1) For some users, after login, the logs shows that the user logged
successfully but followed by "Guest user is not authorized for Government
Mailing System (Host: x.x.x.x). [pid 10705 on line 324 of
"/usr/local/share/pear/Horde/Registry.php"]"

That user also get error "502 Bad gateway " if he try to open the specific
email.

I thought its session related thing and after goggling, i set my
configuration as suggested to:-
 $conf['session']['use_only_cookies'] = false;.
$conf['cookie']['path']="/";
session.auto_start =0; (i php.ini)
hordeauth=true; (imp/config/backend.local.php)

Hooks are also set to login with either full email address or user_id
(without domain part) and no problem in login.
Other settings in nginx templates are:
               fastcgi_buffer_size 256k;
                fastcgi_buffers 256 32k;
                fastcgi_busy_buffers_size 256k;
                fastcgi_temp_file_write_size 256k;
                fastcgi_intercept_errors on;

Kindly assist me if anyone have idea of this issue.
(Continue reading)

Quinn Comendant | 6 Apr 18:08 2016
Gravatar

Anybody else experience this namespace bug?

Hello horde-dev,

I have had difficulty setting the IMAP path prefix in horde webmail 5.2 on a CentOS 6 server running
Courier-IMAP 4.1.2. When creating folders I was getting the error, "The mailbox 'New folder' was not
created. This is what the server said: IMAP error reported by server."

The imp_imap debug log shows that it is trying to create folders  
without the `INBOX.` prefix, which I think is the reason it is failing:

	S: * OK [CAPABILITY IMAP4rev1] Courier-IMAP ready. Copyright 1998-2005  
	Double Precision, Inc.  See COPYING for distribution information.
	C: 1 LOGIN quinn <at> example.com [PASSWORD]
	S: 1 OK LOGIN Ok.
	C: 2 LSUB "" New folder
	S: 2 OK LSUB completed
	C: 3 LIST "" New folder
	S: 3 OK LIST completed
	C: 4 CREATE New folder
	S: 4 NO Invalid mailbox name.
	C: 5 LOGOUT
	S: * BYE Courier-IMAP server shutting down
	S: 5 OK LOGOUT completed

I *am* able to create a folder if I manually include the IMAP prefix  
to its name, i.e. I go to Folder Actions > Create Mailbox and then use  
a folder name literally as `INBOX.New folder`. The new folder is created  
with that name literally and `INBOX.New folder` is created on the server and  
is displayed in IMP's sidebar. =\

As far as I can tell, this is configured using the 'namespace' option  
(Continue reading)

Sebastian Birnbach | 6 Apr 10:20 2016
Picon

user-changeable password

Hi all,

this may have been covered before but I was unable to find a solution on
the net. I am running Horde with SQL authentication and would like to
permit my users to change their passwords. As far as I can see the user can
chose between

a.) asking the admin to let him use the admin console and change the PW
or
b.) having his password reset to a random (?) value and mailed to him.

I am surprised that there seems to be no better solution, i.e. permitting
the user to change his password secretly and to a string he prefers.

Kind regards

  Sebastian
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Remi Collet | 21 Mar 15:58 2016

Horde_Mapi 1.0.7


This new version have no changelog.

It uses new Horde_Date::getTimezoneAlias()
which was introduced in Horde_Date 2.3.0
so dependency need to be updated

Regards,

remi
Quinn Comendant | 18 Feb 04:34 2016
Gravatar

IMAP path prefix not set in horde webmail 5.2

Hello horde-dev,

I have had difficulty setting the IMAP path prefix in horde webmail 5.2 on a CentOS 6 server running
Courier-IMAP 4.1.2. When creating folders I was getting the error, "The mailbox 'New folder' was not
created. This is what the server said: IMAP error reported by server."

The imp_imap debug log shows that it is trying to create folders  
without the `INBOX.` prefix, which I think is the reason it is failing:

	S: * OK [CAPABILITY IMAP4rev1] Courier-IMAP ready. Copyright 1998-2005  
	Double Precision, Inc.  See COPYING for distribution information.
	C: 1 LOGIN quinn <at> example.com [PASSWORD]
	S: 1 OK LOGIN Ok.
	C: 2 LSUB "" New folder
	S: 2 OK LSUB completed
	C: 3 LIST "" New folder
	S: 3 OK LIST completed
	C: 4 CREATE New folder
	S: 4 NO Invalid mailbox name.
	C: 5 LOGOUT
	S: * BYE Courier-IMAP server shutting down
	S: 5 OK LOGOUT completed

I *am* able to create a folder if I manually include the IMAP prefix  
to its name, i.e. I go to Folder Actions > Create Mailbox and then use  
a folder name literally as `INBOX.New folder`. The new folder is created  
with that name literally and `INBOX.New folder` is created on the server and  
is displayed in IMP's sidebar. =\

As far as I can tell, this is configured using the 'namespace' option  
(Continue reading)

Michael J Rubinsky | 21 Jan 22:36 2016
Gravatar

Changing start time of a recurring event series.

In working on EAS 16 support, I've come across an issue that needs addressing.

The main purpose of EAS 16 is to improve reliability in calendar  
synchronization - especially with respect to recurrence.  One of the  
changes in the protocol (paraphrased from the specs):

"In protocol version 16.0, changing the start or end time of a  
recurring series will delete any exceptions
present on the calendar item."

Indeed, when using a 16.0 capable client, editing the series on the  
client does remove all the exceptions on the event. While this *does*  
make sense to me, since the exceptions were made based on a different  
original event - it's not how kronolith currently works.

Exceptions are keyed to the base event by the "exceptionOriginalDate"  
- which is basically the timestamp of when the event would have  
normally occured before it was added as an exception (this is true in  
both Kronolith and ActiveSync clients).

I think we should change Kronolith to behave the same as EAS 16 - that  
is changing the recurrence series start/end times should remove all  
exceptions. This is why:

1) While we currently make an attempt to update the  
exceptionOriginalDate when events are modified in Kronolith, this only  
works if the start/end times haven't moved to a different day and the  
recurring series type hasn't changed. E.g., see Bug: 13512. This  
"fixed" the issue, but only because the events don't change days and  
the series hasn't otherwise drastically changed (like going from every  
(Continue reading)

Remi Collet | 21 Jan 17:23 2016

BC break in PHP 5.6.18RC1 and 7.0.3RC1


I just discover a BC break in session extension which breaks (at
least) Horde_SessionHandler and Symfony.

See: http://news.php.net/php.internals/90792

Please, have a look and comment there.

Regards,
Remi.

Hendrik | 11 Jan 02:29 2016

Best practice to add my changes and keep the ability to install future updates

Hello List,

thank you very much for all of your efforts, creating and maintaining
this amazing software project.

I am new to Horde and its components. Setting it up was easier than
expected and things work just fine.

Now I would like to extend and change some functionality, but I am
lacking information about the best practices.
And that is why I am writing to you.

For example, I would like to change this function:

Horde_Auth::genRandomPassword()

found in php/Horde/Auth.php at line 316:

    /**
     * Generates a random, hopefully pronounceable, password. This can
be used
     * when resetting automatically a user's password.
     *
     *  <at> return string A random password
     */
    public static function genRandomPassword()
    {
        /* Alternate consonant and vowel random chars with two random
numbers
         * at the end. This should produce a fairly pronounceable
(Continue reading)

Ralf Lang | 16 Dec 12:40 2015
Picon

Horde Dynamic view application example/barebone

Hallo,

based on hermes and the "skeleton" application I have created a minimal
dummy application for "dynamic view" for educational purposes.

I hope I got it more or less right.

https://github.com/ralflang/horde-boneyard
http://wiki.horde.org/Doc/Dev/HordeAjaxApplications/Example

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang <at> b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Gmane