Re: [imp] php-imap dropped from Fedora....

2021-04-28 Thread Arjen de Korte

Citeren Brent :


Apparently Fedora 34 dropped the php-imap package due to lack of any
upgrades to libc-client provided by uw-imap.

https://bugzilla.redhat.com/show_bug.cgi?id=1933406

So...what to do if one wants to run Horde/Imp?


Horde uses its own builtin IMAP client. There is no need for php-imap  
at all. See https://dev.horde.org/imap_client/



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


Re: [imp] IMP H5 (6.2.25) (final)

2020-06-28 Thread Arjen de Korte

Citeren Michael J Rubinsky :


The Horde Team is pleased to announce the final release of the Internet Mail
Program (IMP) version H5 (6.2.25).

IMP, the Internet Mail Program, is one of the most popular and  
widely deployed

open source webmail applications in the world. It allows universal, web-based
access to IMAP and POP3 mail servers and provides dynamic, mobile, basic, and
minimal interfaces with a rich range of features normally found only  
in desktop

email clients. For more information on IMP, visit
http://www.horde.org/apps/imp.

For upgrading instructions, please see
http://www.horde.org/apps/imp/docs/UPGRADING

For detailed installation and configuration instructions, please see
http://www.horde.org/apps/imp/docs/INSTALL

The major changes compared to IMP version H5 (6.2.24) are:
* Fix some edge case fatal errors due to badly formatted messages.

The full list of changes can be viewed here:

https://github.com/horde/imp/blob/c76a8615b3ed321f971581ab45ae2c938d03f899/docs/CHANGES

Have fun!

The Horde Team.


Oops!

--- horde/imp/lib/Contents/View.php.orig2020-06-28  
22:25:25.720101083 +0200

+++ horde/imp/lib/Contents/View.php 2020-06-28 22:40:53.862569605 +0200
@@ -97,7 +97,7 @@ class IMP_Contents_View
 return array();
 }

-if (!($name = $this->_contents->getPartName($mime)) {
+if (!($name = $this->_contents->getPartName($mime))) {
 $name = '';
 }


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


Re: [imp] Advanced option not working

2020-04-16 Thread Arjen de Korte

Citeren "AdamR.Med" :


Anyway - is set for IMAP and I don't have that log


You probably do, but not in /tmp/imp_imap.log. Check if your system is  
using a private "tmp" where these files end up. Otherwise, check the  
permissions. Some systems will not allow processes to create new files  
in /tmp so you need to create them beforehand and set the permissions  
manually so that whatever user your PHP is running as can log the  
information in them.



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


Re: [imp] Identity's default email address is ignored

2020-04-16 Thread Arjen de Korte

Citeren Frank Wille :


Hi,

we are using Horde 5.2.22 and IMP 6.2.22 on our web server and noticed that
the email address, which is configured for the default identity in the
"Personal Information" tab is lost/replaced as soon as the mail hits the
SMTP server.

Example:

I have configured my email address as: joe.u...@wendik.de. This is one of
many addresses defined in Postfix' canonical file as an alias, besides
u...@wendik.de, for example. The actual email account on the mail server
is "ju".

So I log in into Horde with "ju" using the email account's password. When I
sent a mail with my default identity (which has joe.u...@wendik.de) all
seems fine at first. The mail in IMP's Sent folder has the correct sender,
and even when viewing the mail's source in the web interface it shows:
  From: Joe User 

But what I see on the mail server (which is the same machine, running the
web server and Horde) log is this:
  E4D2DC963A: from=, size=1043, nrcpt=2 (queue active)

And it also shows up like this at the recipient of this message.


Unsurprising. See http://www.postfix.org/canonical.5.html for an  
explanation what the canonical mapping really is for (clearly not what  
you're expecting it to do).



I found no solution for it and ignored it for a while because it is not
critical, but now we want to have a second identity for some of our
employees. So Joe User defined another identity with a different email
address and signature under "Personal Information" - for example:
 joe.u...@newdomain.com

You might guess it, although the mail gets the correct signature it will
reach the mail server as j...@wendik.de !

Now we have a real problem. :(
Any hints?
Thanks in advance.


You should probably be using http://www.postfix.org/aliases.5.html or  
http://www.postfix.org/virtual.5.html to do this.


This is not a Horde problem, if you need more help, you really should  
be asking this on a Postfix related mailinglist.


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


Re: [imp] marking Unseen mesages in Folders [not Inbox]

2020-04-15 Thread Arjen de Korte

Citeren Cristian-Petru Pencov :


Hi Arjen,
thanks for quick answer. This is what I needed.

Additional questions:
1) it will remain active until I deactivate it?
2) Will this feature affect the server processing versus not having  
it active?

3) how many messages is the limit for folders?


Please do not top-post.

1) Yes.
2) Depends on your server. Usually impact is negliable, since the  
server will keep track of number of unread messages already.

3) I'm not aware there is a limit at all.

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


Re: [imp] marking Unseen mesages in Folders [not Inbox]

2020-04-15 Thread Arjen de Korte

Citeren Cristian-Petru Pencov :


Hello,
It is somehow possible to mark visually folders containing  
Unseen/Unread messages? Especially using 'Dynamic' Mode, not 'Basic'?


The Inbox is marked with the number of Unseen messages and is Bolded.

See attached example about what I'm refer to.

How you can see from picture, I have '_FromERP_' folder and I in it  
Unseen messages.

Bu I can not see them until I open that folder.

I have a rule which move some messages directly in this folder,  
omitting Inbox at all!


Thank you in advance.


Right click on the folder and select 'Check for New Mail'.


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


Re: [imp] Advanced option not working

2020-04-14 Thread Arjen de Korte

Citeren "AdamR.Med" :


I do not get it. When array notation for below

// IMAP server
$servers['imap'] = array(
// ENABLED by default; will connect to IMAP port on local server
'disabled' => false,
'name' => 'IMAP Server',
'hostspec' => 'localhost',
'hordeauth' => false,
'protocol' => 'imap',
'port' => 143,
// Plaintext logins are disabled by default on IMAP servers (see RFC
3501
// [6.2.3]), so TLS is the only guaranteed authentication available by
// default.
'secure' => 'tls',
);


works why then disabling above and enabling 'advanced' array notation is not
working then?


Don't use the array notation and post the *full* contents of you're  
backends.local.php file. We can't work with partial configurations.


One of the reasons for not using the array notation is that it results  
in much bigger backends.local.php files *and* will break on future  
updates when parameters are added.


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


Re: [imp] Advanced option not working

2020-04-14 Thread Arjen de Korte

Citeren "AdamR.Med" :


I have enabled advanced options in my backends.local.php as follows

$servers['advanced'] = array(
// Disabled by default
'disabled' => false,
'name' => 'Advanced IMAP Server',

to get shared mailboxes (ACL) to work and log STMP debug to
/tmp/imp_imap.log

but enabling that did not took any effect to have both options functional.

Any clue on that?


Read the headers of the backend.php file and you'll find that you  
shouldn't be using the array notation (for the reason why, search the  
archives):


http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Authentication failed

2020-04-07 Thread Arjen de Korte

Citeren "AdamR.Med" :


Well - I have disabled TLS in the IMP backend config and then I was able to
log in.

It sounds like I need get Dovecot set for TLS


No, you don't if you connect through localhost. It makes no sense to  
use encryption on localhost and you'll get errors with certificate  
common name verification if you try anyway.


Dovecot allows unencrypted connections through localhost by default,  
so just leave it like that if you don't expose it to the wild internet.


If you post log excerpts from different logs, make sure the timestamps  
match. The logs you posted recently are for different connection  
attempts on both sides of the connection, so they are useless for  
diagnosing problems.


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


Re: [imp] Show User quota

2020-03-04 Thread Arjen de Korte

Citeren T Test :


Thank you a lot!
I uncomment the two lines that you post in backends.php file and in  
backends.local.php files.

This is the part of files:
 * 
Citeren T Test :


I read your reply but I did not understand what is the solution!
Where is my file wrong??


Read  
https://lists.horde.org/archives/imp/Week-of-Mon-20200127/057623.html  
again. Do not use the array notation. I showed you an example of  
the correct notation and you'll also find how to do this in the  
comments at the start of the 'imp/config/backends.php' file.


And please do not top post.



DO NOT TOP POST!

It is absolutely not clear to me what your  
'imp/config/backends.local.php' file looks like. I'm not interested in  
parts of this file, post the full contents. There are additional  
characters * and / characters in it. Please only reply in text mode  
and make sure that what you post is exactly what is in the file.


Also, check if your IMAP server supports the QUOTA extension in the  
first place. Enable the test script in your Horde configuration


 $conf[testdisable] = false;

and check

test.php?app=imp

to see if QUOTA is mentioned. The below configuration should be enough  
from a Horde point of view if this extension is available to display  
the users quota:


Note that you'll have to do a fair bit of configuration on your  
Courier IMAP server to make quotas work.


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


Re: [imp] Show User quota

2020-03-04 Thread Arjen de Korte

Citeren T Test :


I read your reply but I did not understand what is the solution!
Where is my file wrong??


Read  
https://lists.horde.org/archives/imp/Week-of-Mon-20200127/057623.html  
again. Do not use the array notation. I showed you an example of the  
correct notation and you'll also find how to do this in the comments  
at the start of the 'imp/config/backends.php' file.


And please do not top post.

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


Re: [imp] Show User quota

2020-03-04 Thread Arjen de Korte

Citeren T Test :


I repost an older questions:

I install a new version of Horde Groupware, ver. 5.2.22 with IMP 6.2.24.

This is a part of backends.local.php under/var/www/html/horde/imp/config

    ),
    'acl' => true,
    'cache' => false,
 'debug' => '/tmp/imp_imap.log',
 'debug_raw' => false,
    'quota' => array(
    'driver' => 'imap',
    'params' => array(
    'hide_when_unlimited' => true,
    'unit' => 'MB'
    )
The problem is that when user log in to hord don't show his user quota.

I try to modify the paramters in driver value setting imap, courier  
or hook but nothing.


All other files are correctly configured

Any suggestions? It is incredible.


I already replied to you several times that the format of your  
'imp/config/backends.local.php' file is wrong:


https://lists.horde.org/archives/imp/Week-of-Mon-20200127/057618.html
https://lists.horde.org/archives/imp/Week-of-Mon-20200127/057623.html

It is very easy to make mistakes the way you configured this file now.  
Also, when asking questions post the full contents of this file.  
Chances are that the error is in a part you didn't post.




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


Re: [imp] show user's quota

2020-01-31 Thread Arjen de Korte

Citeren Ttest :


Good Morning,
As follows  my backends.local.php.


Start following the advice I gave you earlier: read the headers of the  
'imp/config/backends.php'. The attached file is in the array notation,  
while you should only be overriding the values that need changing from  
the 'imp/config/backends.php' file. So like


Using the above format makes it much easier to spot mistakes in the  
configuration.



I hope someone help me.
In addition, under '/tmp/imp_imap.log' ther is no log files.
Note: The Imap server is on another server. Horde work correctly  
with other functions.

Regards.
Pasquale.



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


Re: [imp] Problem with e-mail link as attachment

2020-01-30 Thread Arjen de Korte

Citeren Ttest :


Hi Simon, Hi all,
this is the file conf.php but I try to send an e-mail with link  
attach but nothing!


This file is either incomplete or you tried to modify the wrong one.  
And please do not top post.



I try to modify value 'compose' , size limit, attach_size but same results!
Where is the problem? Maybe in php.ini?
Thanking you in advance.
Pasquale.


/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: 48bf0b4cc99e7941b4432a29e70e145b8d654cc7 $
$conf['user']['allow_view_source'] = false;
$conf['server']['server_list'] = 'none';
$conf['compose']['use_vfs'] = true;
$conf['compose']['link_attachments_notify'] = true;
$conf['compose']['link_attach_threshold'] = 5242880;
$conf['compose']['link_attach_size_limit'] = 0;
$conf['compose']['link_attach_size_hard'] = 0;
$conf['compose']['link_attachments'] = true;
$conf['compose']['attach_size_limit'] = 6;
$conf['compose']['attach_count_limit'] = 10;
$conf['compose']['reply_limit'] = 20;
$conf['compose']['ac_threshold'] = 3;
$conf['compose']['htmlsig_img_size'] = 3;
$conf['pgp']['keylength'] = 0;
$conf['maillog']['driver'] = 'history';
$conf['sentmail']['driver'] = 'Null';
$conf['contactsimage']['backends'] =  
array('IMP_Contacts_Avatar_Addressbook');

$conf['tasklist']['use_tasklist'] = true;
$conf['notepad']['use_notepad'] = true;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
~


Il 30/01/2020 01:22, Simon Wilson ha scritto:

Thank you.
I changed owner and permission on folder horde and now is all ok!
This is my configuration file but "attachment as link" not  
appeared on the page when i select "attachments".

This is a mystake!


{snip}

$conf['compose']['link_attachments_notify'] =false;true;

{snip}

Now this line is broken.

You should use the Configuration GUI interface to edit options, not  
directly editing the conf file - that will save you making  
easily-avoidable mistakes.






Il 29/01/2020 11:41, Arjen de Korte ha scritto:

Citeren Ttest :


Thank for your immediately reply.
I change from "no" to "yes" and 'use_vfs' from false to true.
When I do this from the page of administration tool and click on  
"generate mail configuration" I have this error:
1)Could not save the backup configuration file  
/var/www/html/horde/imp/config/conf.bak.php.


Whichever user your PHP is running as needs write access to the  
conf.php and conf.bak.php files. Changes the file permissions  
accordingly.


2) Could not save the configuration file  
/var/www/html/horde/imp/config/conf.php. You can either use one  
of the options to save the code back on Configuration or copy  
manually the code below to  
/var/www/html/horde/imp/config/conf.php.


Than I modify the file on the server, restart apache but if I  
compose a new e-mail I can't find the option to send attachments  
as a link?


Why?
Please can help me to solve this problems?

This is the configuration file.
Regards.
Pasquale.




The above line is broken.

$conf['compose']['link_attachments_notify'] = true;  
$conf['compose']['link_attach_threshold'] = 5242880;  
$conf['compose']['link_attach_size_limit'] = 0;  
$conf['compose']['link_attach_size_hard'] = 0;

$conf['compose']['link_attachments'] = true;
$conf['compose']['attach_size_limit'] = 0;
$conf['compose']['attach_count_limit'] = 0;
$conf['compose']['reply_limit'] = 20;
$conf['compose']['ac_threshold'] = 3;
$conf['compose']['htmlsig_img_size'] = 3;
$conf['pgp']['keylength'] = 0;
$conf['maillog']['driver'] = 'history';
$conf['sentmail']['driver'] = 'Null';
$conf['contactsimage']['backends'] = array();
$conf['tasklist']['use_tasklist'] = false;
$conf['notepad']['use_notepad'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */


Il 29/01/2020 10:06, Arjen de Korte ha scritto:


You probably need to change $conf[compose][link_attachments]  
from 'no' to 'yes'. This can be found in the administration  
panel for IMP (admin/config/config.php?app=imp).






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



- End message from Ttest  -







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


Re: [imp] show user's quota

2020-01-30 Thread Arjen de Korte

Citeren Ttest :


Hi All,
I have two files:
1) horde/imp/config/backends.php
2) horde/imp/config/backends.local.php


Good! You shouldn't touch the first so only the second one is relevant  
when asking questions.



The first is commented and the second have this configuration:
I have try to use also the first file, change the user cyrus, insert  
'courier' instead of 'imap' but if I login into horde with my user  
or other user I looking for "user quota" but nothing!

Any ideas ?


Look in the header of 'horde/imp/config/backends.php' and write your  
'horde/imp/config/backends.local.php' accordingly. You should not  
define an array in the latter. And we want the *full* contents of that  
file, not just an excerpt. Chances are the problem is in a part you  
didn't post here. Unless you're redefining every value, it should  
typically be not more than about 10-20 lines. And do not top post.



Thank you.
Pasquale.

    ),
    'admin' => array(
 'user' => 'cyrus',
 'password' => 'cyruspassword',
 'userhierarchy' => 'user.'
    ),
    'acl' => true,
    'cache' => false,
 'debug' => '/tmp/imp_imap.log',
 'debug_raw' => false,
    'quota' => array(
    'driver' => 'imap',
    'params' => array(
    'hide_when_unlimited' => true,
    'unit' => 'MB'
    )



Il 29/01/2020 16:57, Arjen de Korte ha scritto:

Citeren Ttest :


Hi All,

I'm configuring Horde 5.2.22.

Where is function that show "user's quota"?


An example how to do this can be found in the header of the  
'horde/imp/config/backends.php' configuration file. Read the header  
to find how to configure this.



When I login into my account or with other account I did not find It.

Thanking you in advance.

Pasquale.








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


Re: [imp] show user's quota

2020-01-29 Thread Arjen de Korte

Citeren Ttest :


Hi All,

I'm configuring Horde 5.2.22.

Where is function that show "user's quota"?


An example how to do this can be found in the header of the  
'horde/imp/config/backends.php' configuration file. Read the header to  
find how to configure this.



When I login into my account or with other account I did not find It.

Thanking you in advance.

Pasquale.




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


Re: [imp] Problem with e-mail link as attachment

2020-01-29 Thread Arjen de Korte

Citeren Ttest :


Thank for your immediately reply.
I change from "no" to "yes" and 'use_vfs' from false to true.
When I do this from the page of administration tool and click on  
"generate mail configuration" I have this error:
1)Could not save the backup configuration file  
/var/www/html/horde/imp/config/conf.bak.php.


Whichever user your PHP is running as needs write access to the  
conf.php and conf.bak.php files. Changes the file permissions  
accordingly.


2) Could not save the configuration file  
/var/www/html/horde/imp/config/conf.php. You can either use one of  
the options to save the code back on Configuration or copy manually  
the code below to /var/www/html/horde/imp/config/conf.php.


Than I modify the file on the server, restart apache but if I  
compose a new e-mail I can't find the option to send attachments as  
a link?


Why?
Please can help me to solve this problems?

This is the configuration file.
Regards.
Pasquale.




The above line is broken.

$conf['compose']['link_attachments_notify'] = true;  
$conf['compose']['link_attach_threshold'] = 5242880;  
$conf['compose']['link_attach_size_limit'] = 0;  
$conf['compose']['link_attach_size_hard'] = 0;

$conf['compose']['link_attachments'] = true;
$conf['compose']['attach_size_limit'] = 0;
$conf['compose']['attach_count_limit'] = 0;
$conf['compose']['reply_limit'] = 20;
$conf['compose']['ac_threshold'] = 3;
$conf['compose']['htmlsig_img_size'] = 3;
$conf['pgp']['keylength'] = 0;
$conf['maillog']['driver'] = 'history';
$conf['sentmail']['driver'] = 'Null';
$conf['contactsimage']['backends'] = array();
$conf['tasklist']['use_tasklist'] = false;
$conf['notepad']['use_notepad'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */


Il 29/01/2020 10:06, Arjen de Korte ha scritto:


You probably need to change $conf[compose][link_attachments] from  
'no' to 'yes'. This can be found in the administration panel for  
IMP (admin/config/config.php?app=imp).




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


Re: [imp] Problem with e-mail link as attachment

2020-01-29 Thread Arjen de Korte

Citeren Ttest :


Hi All,

I have an Horde version 3.2 on a old server.

I have install a new version  of Horde 5.2.22 on a new server.

On a old version, I have a possibilities to attach file as link  
attachments of big dimension (100 Mbyte).


This function upload a big file on server and who receives the  
e-mail can download this file from the link (the link expired in a  
week).


On the new version, I did not find it!


You probably need to change $conf[compose][link_attachments] from 'no'  
to 'yes'. This can be found in the administration panel for IMP  
(admin/config/config.php?app=imp).


I'm a new users of horde and I don't know if there is a plugin, an  
utility o a configuration of some file that able to work with  
attachment as link.


Please can help me?

Sorry for my english, I hope that is a solution to this problem.

Regards.

Pasquale.




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


Re: [imp] horde groupware 5.2.22 and webmail (imp) 6.2.21 using different session

2019-11-11 Thread Arjen de Korte

Citeren Peter Kreinhöfer :


Hi all,

I have a fresh installation of horde groupware 5.2.22 and webmail  
(imp) 6.2.21.

Every thing seems working fine as excepted,  but it seems horde groupware and
horde webmail using different sessions.

After login on horde groupware I see the error:
User peter is not authorized for Webmail (Host: xxx.xxx.xxx)
and I have to logon a second time when clicking on webmail.


Most likely you have configured horde different from the below  
settings in horde/config/conf.php:


$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';

Unless you know you need to use a different authentication backend  
(but you probably wouldn't be asking here), for most uses  
authentication through IMP is the most convenient.


A bit funny, I'm able to login at groupware and webmail with  
different users at the same time.


You probably mean the Horde portal and the e-mail application IMP.

The workaround for the moment at the horde groupware portal, I do  
the login two times.

The bigger problem, I see the same error at the activesync.log

[...]
[7002][2019-11-11T18:59:53+01:00] I: 
[7002][2019-11-11T18:59:53+01:00] >>>: STATE: Initializing folder diff engine
[7002][2019-11-11T18:59:53+01:00] >>>:  
Horde_Core_ActiveSync_Driver::getFolderList()
[7002][2019-11-11T18:59:53+01:00] >>>: Creating new folder uuid for  
@Calendar@: A6b595bd9
[7002][2019-11-11T18:59:53+01:00] >>>: Creating new folder uuid for  
@Contacts@: Ca265e701
[7002][2019-11-11T18:59:53+01:00] >>>: Creating new folder uuid for  
@Tasks@: Tba183330
[7002][2019-11-11T18:59:53+01:00] >>>: Creating new folder uuid for  
@Notes@: Nf15afd53
[7002][2019-11-11T18:59:53+01:00] >>>: Polling  
Horde_Core_ActiveSync_Driver::_getMailFolders()
[7002][2019-11-11T18:59:53+01:00] ERR: User peter is not authorized  
for Webmail (Host:  
HSI-KBW-095-208-152-122.hsi5.kabel-badenwuerttemberg.de).



last but not least, the activesync will not work.

I hope, someone can give me any hint.

Regards Peter




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


Re: [imp] recent php 7.2.21 updates and updates of php-pear php-pecl php-http etc. cause Horde 5 Groupware Webmail edition (5.1.17 from debian repos) to stop working. Request advice

2019-08-10 Thread Arjen de Korte

Citeren i...@interpost.biz:

Hello,  The August 8 and 9 2019 recent php 7.2.21 updates and  
updates of php-pear php-pecl php-http, etc. cause Horde 5 Groupware  
Webmail edition (5.1.17 from debian repos) to stop working. Request  
advice:


Given the fact that a Debian update broke your installation, I would  
guess that it would make sense to check the changelogs (or ask the  
Debian folks what has changed). From the symptoms, I hazard a guess  
that something has changed in the PEAR and/or PECL paths.


We had horde 5 groupware Webmail edition from debian stretch repos  
working fine on php7.2 until todays update:


[UPGRADE] libgd3:amd64  
2.2.5-5.1+0~20190307222942.3+stretch~1.gbp1f9ff3 ->  
2.2.5-5.2+0~20190808.4+debian9~1.gbp6d9343
[UPGRADE] php-apcu-bc:amd64  
1.0.4-4+0~20190218103118.8+stretch~1.gbpa05194 ->  
1.0.5-1+0~20190808.9+debian9~1.gbp90a6a0
[UPGRADE] php-http:amd64  
3.2.0+2.6.0-2+0~20190219220936.5+stretch~1.gbp085e64 ->  
3.2.1+2.6.0-1+0~20190808.6+debian9~1.gbpbd8342
[UPGRADE] php-imagick:amd64  
3.4.3-4+0~20190217142022.9+stretch~1.gbpba1eeb ->  
3.4.4-1+0~20190808.10+debian9~1.gbpc5da26
[UPGRADE] php-pear:amd64  
1:1.10.8+submodules+notgz-1+0~20190219091011.9+stretch~1.gbp1a209a  
-> 1:1.10.9+submodules+notgz-1+0~20190808.10+debian9~1.gbp296d25
[UPGRADE] php-pecl-http:amd64  
3.2.0+2.6.0-2+0~20190219220936.5+stretch~1.gbp085e64 ->  
3.2.1+2.6.0-1+0~20190808.6+debian9~1.gbpbd8342
[UPGRADE] php-redis:amd64  
4.3.0-1+0~20190606080331.12+stretch~1.gbp0171a6 ->  
5.0.2+4.3.0-2+0~20190809.14+debian9~1.gbp070358


We have disabled redis and php-redis and still have the same error  
on both a test and production server. (using roundcube to send this  
message :-))


 We have a login screen and we are setup to use imp to authenticate,  
and when we try to login we get a blank page with an error message  
stating that no data was sent and "ERR_EMPTY_RESPONSE" listed.  We  
did the php7.2 upgrades 2 days ago, and everything worked fine  
afterwards. It was only after the above upgrades that we can no  
longer login to any of the domains on the mails servers.


The only error in the logs (this server uses apache 2.4 latest ):

/usr/sbin/apache2: symbol lookup error:  
/usr/lib/php/20170718/http.so: undefined symbol: uidna_IDNToASCII


(could this error, combined with todays php-http update be causing  
the error? We are using the sury repos for stretch.


It could be that Net_IDNA2 is installed (and Horde attempts to use  
it), but it is not installed in the path your webserver searches for  
it. If you don't move the contents of the old location to the new  
location, you'd see something like this. Note that we can only support  
installation from PEAR or Git here. If the Debian packages are broken,  
you'd need to ask the folks that created those packages.


We are logging in at:  https://mail.example.com/horde/login.php and  
the return url is  
https://mail.example.com/horde/imp/dynamic.php?page=mailbox  (on ms  
edge  and chrome browsers) or  
https://mail.example.com/horde/imp/basic.php?mailbox=SU5CT1g&page=mailbox if  
we use "basic" login.


On Opera (for what it's worth) the behavior is even stranger: the  
login screen remains, the URL never changes, and the username-email  
address and the password disappear!


In the syslog we appear to have a valid login:

Aug 10 16:45:58 server1 dovecot: imap-login: Login:  
user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,  
mpid=9240, TLS, session=
Aug 10 16:45:58 server1 HORDE: [horde] Login success for  
i...@example.com to horde (valid.ip.v.4) [pid 3057 on line 163 of  
"/usr/share/horde/login.php"]
Aug 10 16:45:58 server1 HORDE: [imp] Login success for  
i...@example.com (valid.ip.v.4) to {imap://localhost/} [pid 3057 on  
line 156 of "/usr/share/horde/imp/lib/Auth.php"]
Aug 10 16:45:58 server1 dovecot: imap(i...@example.com): Logged out  
in=124 out=825
Aug 10 16:45:59 server1 dovecot: imap-login: Login:  
user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,  
mpid=9242, TLS, session=
Aug 10 16:45:59 server1 dovecot: imap(i...@example.com): Connection  
closed in=302 out=17126
Aug 10 16:46:00 server1 dovecot: imap-login: Login:  
user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,  
mpid=9244, TLS, session=
Aug 10 16:46:00 server1 dovecot: imap(i...@example.com): Connection  
closed in=302 out=17118


So, it appears to be working but we can't see anything on any  
browser, except the login screen.


I realize that you don't officially support php7.2 yet (you should  
and 7.3 for performance and because everything below 7.2 is slowly  
being deprecated), but can you give any advice about where to solve  
this error without installing and using php7.1.


Horde runs fine on PHP 7.1, 7.2 and 7.3.


Any help greatly appreciated.

Best,

Ed




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


Re: [imp] Users are getting logged out

2019-05-20 Thread Arjen de Korte

Citeren azu...@pobox.sk:


Hi,

i would like to ask for any suggestions how to resolve my quite  
strange problem with Horde/IMP.


During the past year, several users (really not much, about 3 or 4)  
contacted us about problem with logging out from Horde/IMP. The  
logout reason is 'session expired' BUT all users are describing very  
similar things:


 - logout can happen anytime and session, probably, didn't expired  
at all: for example, one of the affected users is SOMETIMES getting  
logout few seconds after he logged in


 - it is happening on the same account using different PCs and browsers

 - it is NOT happening to anyone, only to few users (but it is  
happening all the time for that users [for some few times per week,  
for some few times per day], i mean, it's not like it happen few  
times to sometime and than few times to someone-other, it's still  
same users


 - i'm NOT able to reproduce it on my PC, even when using affected accounts

 - it NEVER happen to me and i'm using our webmail daily


Nothing interesting in logs even on debug level (i just see that  
users really get logged out). Any suggestions on what is happening,  
how to debug it, how to reproduce it etc.? Thank you.


azur


Is

$conf['auth']['checkip'] = true;

in your horde/config/conf.php file? If so, it may be that said users  
are on systems with short DHCP lease times and/or change IP address  
for some reason. I've seen similar behavior when their devices  
(apparently, for security reasons) change IP addresses frequently.  
Setting the above value to false should fix that.


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


Re: [imp] sender address visibility

2019-02-25 Thread Arjen de Korte

Citeren Bert de Jong :


I hope you see the problem here.

Try to see this from the perspective of an inexperienced computer user.


If users are gullible enough to enter their login credentials based on  
a message like this, it won't make a difference if you display the  
'real' e-mail address, they'll fall for it anyway (sadly).


The best you can do is to keep tabs on what usual and unusual traffic  
patterns are and act accordingly. Set limits on the amount of messages  
users can send per hour in your mailserver. Use the preferences system  
for IMP to limit the amount of messages and recipients per time period.


Bottom line: you're never going to be able to prevent abuse, but you  
can limit the impact it has.



--

Met vriendelijke groet,
Best regards, / Mit freundlichen Grüßen,

[cid:c401cd9061e86450eb0d0f7cf51c31f9642ea138.camel@elicom.nl]
Bert de Jong
Webdeveloper

Website: www.elicom.nl
Telefoon: 0575 570471
Afwezig op woensdagen.

KvK Apeldoorn 50969501. Op al onze aanbiedingen en overeenkomsten  
zijn de Nederland ICT Voorwaarden van toepassing, gedeponeerd d.d. 1  
juni 2014 bij de Kamer van Koophandel te Midden-Nederland onder  
nummer 30174840.


On Fri, 2019-02-15 at 17:41 +, Jan Schneider wrote:

Zitat von Bert de Jong mailto:b...@elicom.nl>>:


Hi,


I'm curious if IMP's default is to not show the email address of the sender.


If you look at the attached screenshot

mirrored here https://i.imgur.com/ubRyIY6.png

you can see why one of our customers thought we were about to close

their email account, and why they would send back their password to

the "Email Administrator".


I did see the email address is shown when I move my mouse on the

text, but my customer was not aware of this feature.


Can I change a setting so that IMP will show the email address of

the sender next to the text?

(Next to "Email Administrator" in my case.)


No, such a setting doesn't exist.


--

Jan Schneider

The Horde Project

https://www.horde.org/




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


Re: [imp] IMP (Horde) and newer PHP-Versions than 7.0

2019-02-22 Thread Arjen de Korte

Citeren Jan Schneider :


Zitat von Ralf Lang :


Hi Michael,



Am 22.02.19 um 08:52 schrieb Michael Lehner:


Hey there,

using and loving Horde for years now. Thx for all the affords and work
on this great project. I'm using Horde on my private server with other
self-hosted solutions. One of this solutions requires - cause of the
newest update - PHP 7.3. I wonder if  Horde is capable of PHP 7.3 or
do I have to stuck on PHP 7.0?

I already tried to use 7.3. but in IMP the folder structure isn't
working anymore.

Thx for a short reply.

Best regards mike



I am running current git versions of Horde including imp on

ubuntu php 7.2

apt show php7.2
Package: php7.2
Version: 7.2.15-0ubuntu0.18.04.1
Priority: optional

and openSUSE LEAP 15.0

Repository : openSUSE-Leap-15.0-Update  
Name   : php7   
Version    : 7.2.5-lp150.2.15.1 

Both work well. I don't have any positive or negative results wrt php
7.3 yet. Maybe Jan can add more details on 7.3


We're lacking sufficient feedback to verify how stable Horde works  
on PHP 7.3.


I run Horde on openSUSE Tumbleweed, which is currently at PHP 7.3.2.  
There is one glitch that causes erroneous display of time of events in  
Kronolith due to openSUSE messing with the timezone database in PHP.  
I'm already working on to get this fixed, there is nothing Horde can  
do about (it worked fine up to 7.3.1). Other than this, it has been  
smooth sailing.


But you can of course contribute to the 7.3 compatibility by letting  
us know what exactly doesn't work anymore after the upgrade.  
Especially actual error messages, if possible with a backtrace would  
be helpful.


--
Jan Schneider
The Horde Project
https://www.horde.org/




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


Re: [imp] Contents of imp Digest, Vol 4137, Issue 1

2019-01-30 Thread Arjen de Korte

Citeren enel...@laserserver.net:


Hello,
The link you gave comes up as a 404 error.

Please check the spelling and resubmit.


1. Do not top-post.
2. Do not reply to digests.

You're supposed to prepend your server address to this line. So  
something in the order of


 
https://example.com/horde/services/prefs.php?app=imp&group=composetemplates


You may or may not need the horde part here, this depends on how you  
configured your webserver.


Why not return to the older version of Horde which worked perfectly  
for my drafts. You could easily add a button "Keep original draft  
after sending".


Enelani


Quoting imp-requ...@lists.horde.org:


Send imp mailing list submissions to
imp@lists.horde.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.horde.org/mailman/listinfo/imp
or, via email, send a message with subject or body 'help' to
imp-requ...@lists.horde.org

You can reach the person managing the list at
imp-ow...@lists.horde.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of imp digest..."


Today's Topics:

  1. Saving The Same Draft Message Used More Than Once
 (enel...@laserserver.net)
  2. Re: Saving The Same Draft Message Used More Than Once
 (Arjen de Korte)


--

Message: 1
Date: Sun, 27 Jan 2019 21:32:07 -0700
From: enel...@laserserver.net
To: imp@lists.horde.org
Subject: [imp] Saving The Same Draft Message Used More Than Once
Message-ID:
<20190127213207.horde.pggfn_aaseb7lghn2tbf...@webmail.laserserver.net>
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes


Hello,
I have to email my employer each workday to say I am available for
work. For that I submit a standard draft email message each time.

In the older edition of Horde when I sent the draft message it kept it
in the list of drafts. However, in the latest edition of Horde when i
send the draft message it deletes it from my list of drafts each time.

Is there a way to send the draft message but also keep it in Drafts at
the same time.

Thank you

Enelani



--

Message: 2
Date: Mon, 28 Jan 2019 09:11:27 +0100
From: Arjen de Korte 
To: imp@lists.horde.org
Subject: Re: [imp] Saving The Same Draft Message Used More Than Once
Message-ID:
<20190128091127.horde._uymo3ix5t-oi4vn3glf...@mail.de-korte.org>
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes

Citeren enel...@laserserver.net:


Hello,
I have to email my employer each workday to say I am available for
work. For that I submit a standard draft email message each time.

In the older edition of Horde when I sent the draft message it kept
it in the list of drafts. However, in the latest edition of Horde
when i send the draft message it deletes it from my list of drafts
each time.

Is there a way to send the draft message but also keep it in Drafts
at the same time.


You should use a template for that, it can be found under
horde/services/prefs.php?app=imp&group=composetemplates


Thank you

Enelani






--

Subject: Digest Footer


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


--

End of imp Digest, Vol 4137, Issue 1





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


Re: [imp] Saving The Same Draft Message Used More Than Once

2019-01-28 Thread Arjen de Korte

Citeren enel...@laserserver.net:


Hello,
I have to email my employer each workday to say I am available for  
work. For that I submit a standard draft email message each time.


In the older edition of Horde when I sent the draft message it kept  
it in the list of drafts. However, in the latest edition of Horde  
when i send the draft message it deletes it from my list of drafts  
each time.


Is there a way to send the draft message but also keep it in Drafts  
at the same time.


You should use a template for that, it can be found under  
horde/services/prefs.php?app=imp&group=composetemplates



Thank you

Enelani




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


Re: [imp] Accessing Horde Email File on old Server

2019-01-19 Thread Arjen de Korte

Citeren enel...@laserserver.net:


Hello,
At the request of GoDaddy I changed servers. GoDaddy did the  
migration but the Horde emails did not migrate. I changed the DNS  
back to the old server but was unable to open the emails. I have  
changed back to the new server.


My question is: Is there a way to access the Horde email file on my  
old server so that I can download it? Simple instructions would be  
appreciated.


Horde uses IMAP to retrieve messages from the users mailboxes, it does  
not use an email file. You'd need to check which IMAP server your  
'old' Horde installation used and use those settings in your 'new'  
Horde installation.


There is no way we can help you with this, you need to check with  
whoever is hosting your email servers.



Thank you

Paul




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


Re: [imp] Email Directory Name

2019-01-09 Thread Arjen de Korte

Citeren enel...@laserserver.net:


Hello,
I recently was asked by GoDaddy to switch to a new IP address for my  
server, All my files migrated over except my emails. I tried  
changing my settings back to the old IP address but was unable to  
access them despite multiple attempts and checking and  
double-checking and triple-checking all the settings.


It was suggested that I go into SSH on the server via Plesk and  
search for the email file. My question is - what would this Horde  
file be named? Once I know that the search will be a lot easier.


Horde doesn't use an email file, it uses an IMAP server to access  
messages (or in rare circumstances, POP3). Chances are your IMAP  
server is not in the location where Horde thinks it is. By default it  
uses 'localhost' (so the IMAP server is on the same machine as the  
webserver Horde is running on), but can be changed in  
'horde/imp/config/backends.local.php'.



Also any tips on the best way to access this file would be welcomed.

Thanks.

Paul




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


Re: [imp] Message content not displayed after upgrade to PHP 7.3

2018-12-27 Thread Arjen de Korte

Citeren Michael J Rubinsky :


Quoting Arjen de Korte :


Citeren Arjen de Korte :


Citeren Arjen de Korte :

Just a heads-up for those that what to upgrade to PHP 7.3: it  
seems like there are some incompatibilities with Horde (master)  
in handling regular expressions.


Some (but not all) messages will not display content.


It looks like HTML mail is displayed correctly and text-only ones don't.


The following is logged for each message:

2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at offset  
68 [pid 207

6 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]
2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at offset  
649 [pid 20

76 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]

This may be due to the stricter interpretation of character  
ranges in classes.


Note that the message content is available. I can reply to such a  
message (like the one quoted above) just fine. So the trouble  
seems to be in rendering messages, rather than grabbing them from  
the IMAP server.


Any chance you can get a stack trace to see where the regexp is  
coming from? I can't reproduce this on a fresh VM I spun up with php  
7.3 and current git master.


I did find some regexps that needed to be fixed, but I dont' think  
those are called when just displaying an email. See:  
https://github.com/horde/imp/commit/5186ad002b0809960fd6096a2ca85ab8d2aab888


There are similar commits in other files. I took a shot and applied

https://github.com/horde/Text_Filter/commit/8d0de407dbb95626bc54eaba078191847be9c574

This commit (in my installation from PEAR packages) fixed the display  
of text-only messages. This commit (and similar ones) seems to be  
mandatory to make Horde run under PHP 7.3, so I'd vote for backporting  
these.


Thanks for showing me the right direction.



Also, please make sure you are up to date with git on *all*  
packages. I know there were a few similar fixes not *too* long ago  
in some other packages, like Text_Filter.


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


Re: [imp] Message content not displayed after upgrade to PHP 7.3

2018-12-27 Thread Arjen de Korte

Citeren Arjen de Korte :


Citeren Arjen de Korte :


Citeren Michael J Rubinsky :


Quoting Arjen de Korte :


Citeren Arjen de Korte :


Citeren Arjen de Korte :

Just a heads-up for those that what to upgrade to PHP 7.3: it  
seems like there are some incompatibilities with Horde (master)  
in handling regular expressions.


Apologies for the wrong information, but this is with the latest  
packages from PEAR (not master).



Some (but not all) messages will not display content.


It looks like HTML mail is displayed correctly and text-only ones don't.


The following is logged for each message:

2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at  
offset 68 [pid 207

6 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]
2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at  
offset 649 [pid 20

76 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]

This may be due to the stricter interpretation of character  
ranges in classes.


Note that the message content is available. I can reply to such  
a message (like the one quoted above) just fine. So the trouble  
seems to be in rendering messages, rather than grabbing them  
from the IMAP server.


Any chance you can get a stack trace to see where the regexp is  
coming from? I can't reproduce this on a fresh VM I spun up with  
php 7.3 and current git master.


I'll try. But since I'm hundreds of kilometers from the system and  
all I have is a mobile phone as a console (through ssh), it's a bit  
clumsy to apply changes. What is the exact line I need to insert  
before/after the offending code on line 99?


I suddenly remembered how to make a backtrace (Horde::debug), so I  
added this just before the offending line and this is the backtrace  
I got:


Backtrace:
1. Horde_Core_Ajax_Application->doAction() /srv/www/htdocs/horde/services/aja
x.php:61
2. IMP_Ajax_Application_Handler_Common->showMessage() /usr/share/php7/PEAR/Ho
rde/Core/Ajax/Application.php:175
3. IMP_Ajax_Queue->message() /srv/www/htdocs/horde/imp/lib/Ajax/Application/H
andler/Common.php:699
4. IMP_Ajax_Application_ShowMessage->showMessage() /srv/www/htdocs/horde/imp/
lib/Ajax/Queue.php:450
5. Horde_Core_Factory_TextFilter->filter() /srv/www/htdocs/horde/imp/lib/Ajax
/Application/ShowMessage.php:235
6. Horde_Text_Filter::filter() /usr/share/php7/PEAR/Horde/Core/Factory/TextFi
lter.php:70
7. Horde_Text_Filter_Text2html->preProcess() /usr/share/php7/PEAR/Horde/Text/
Filter.php:80
8. Horde_Text_Filter::filter() /usr/share/php7/PEAR/Horde/Text/Filter/Text2ht
ml.php:163
9. Horde::debug() /usr/share/php7/PEAR/Horde/Text/Filter.php:99

Sorry about the poor formatting.


Oops, this may not be the offending call, I noticed that there are  
several backtrace for a single occurrence of the problem. I don't know  
how to do this, I need an exact line to insert after all. Trying this  
out with a mobile phone as a console is no fun.



I did find some regexps that needed to be fixed, but I dont' think
those are called when just displaying an email. See:  
https://github.com/horde/imp/commit/5186ad002b0809960fd6096a2ca85ab8d2aab888


Also, please make sure you are up to date with git on *all* packages.


I'm sorry about the confusion, this is on the packages from PEAR  
(up-to-date as of now).


I know there were a few similar fixes not *too* long ago in some  
other packages, like Text_Filter.




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


Re: [imp] Message content not displayed after upgrade to PHP 7.3

2018-12-27 Thread Arjen de Korte

Citeren Arjen de Korte :


Citeren Michael J Rubinsky :


Quoting Arjen de Korte :


Citeren Arjen de Korte :


Citeren Arjen de Korte :

Just a heads-up for those that what to upgrade to PHP 7.3: it  
seems like there are some incompatibilities with Horde (master)  
in handling regular expressions.


Apologies for the wrong information, but this is with the latest  
packages from PEAR (not master).



Some (but not all) messages will not display content.


It looks like HTML mail is displayed correctly and text-only ones don't.


The following is logged for each message:

2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at  
offset 68 [pid 207

6 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]
2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at  
offset 649 [pid 20

76 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]

This may be due to the stricter interpretation of character  
ranges in classes.


Note that the message content is available. I can reply to such a  
message (like the one quoted above) just fine. So the trouble  
seems to be in rendering messages, rather than grabbing them from  
the IMAP server.


Any chance you can get a stack trace to see where the regexp is  
coming from? I can't reproduce this on a fresh VM I spun up with  
php 7.3 and current git master.


I'll try. But since I'm hundreds of kilometers from the system and  
all I have is a mobile phone as a console (through ssh), it's a bit  
clumsy to apply changes. What is the exact line I need to insert  
before/after the offending code on line 99?


I suddenly remembered how to make a backtrace (Horde::debug), so I  
added this just before the offending line and this is the backtrace I  
got:


Backtrace:
1. Horde_Core_Ajax_Application->doAction() /srv/www/htdocs/horde/services/aja
x.php:61
2. IMP_Ajax_Application_Handler_Common->showMessage() /usr/share/php7/PEAR/Ho
rde/Core/Ajax/Application.php:175
3. IMP_Ajax_Queue->message() /srv/www/htdocs/horde/imp/lib/Ajax/Application/H
andler/Common.php:699
4. IMP_Ajax_Application_ShowMessage->showMessage() /srv/www/htdocs/horde/imp/
lib/Ajax/Queue.php:450
5. Horde_Core_Factory_TextFilter->filter() /srv/www/htdocs/horde/imp/lib/Ajax
/Application/ShowMessage.php:235
6. Horde_Text_Filter::filter() /usr/share/php7/PEAR/Horde/Core/Factory/TextFi
lter.php:70
7. Horde_Text_Filter_Text2html->preProcess() /usr/share/php7/PEAR/Horde/Text/
Filter.php:80
8. Horde_Text_Filter::filter() /usr/share/php7/PEAR/Horde/Text/Filter/Text2ht
ml.php:163
9. Horde::debug() /usr/share/php7/PEAR/Horde/Text/Filter.php:99

Sorry about the poor formatting.


I did find some regexps that needed to be fixed, but I dont' think
those are called when just displaying an email. See:  
https://github.com/horde/imp/commit/5186ad002b0809960fd6096a2ca85ab8d2aab888


Also, please make sure you are up to date with git on *all* packages.


I'm sorry about the confusion, this is on the packages from PEAR  
(up-to-date as of now).


I know there were a few similar fixes not *too* long ago in some  
other packages, like Text_Filter.




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


Re: [imp] Message content not displayed after upgrade to PHP 7.3

2018-12-27 Thread Arjen de Korte

Citeren Michael J Rubinsky :


Quoting Arjen de Korte :


Citeren Arjen de Korte :


Citeren Arjen de Korte :

Just a heads-up for those that what to upgrade to PHP 7.3: it  
seems like there are some incompatibilities with Horde (master)  
in handling regular expressions.


Apologies for the wrong information, but this is with the latest  
packages from PEAR (not master).



Some (but not all) messages will not display content.


It looks like HTML mail is displayed correctly and text-only ones don't.


The following is logged for each message:

2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at offset  
68 [pid 207

6 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]
2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at offset  
649 [pid 20

76 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]

This may be due to the stricter interpretation of character  
ranges in classes.


Note that the message content is available. I can reply to such a  
message (like the one quoted above) just fine. So the trouble  
seems to be in rendering messages, rather than grabbing them from  
the IMAP server.


Any chance you can get a stack trace to see where the regexp is  
coming from? I can't reproduce this on a fresh VM I spun up with php  
7.3 and current git master.


I'll try. But since I'm hundreds of kilometers from the system and all  
I have is a mobile phone as a console (through ssh), it's a bit clumsy  
to apply changes. What is the exact line I need to insert before/after  
the offending code on line 99?


I did find some regexps that needed to be fixed, but I dont' think  
those are called when just displaying an email. See:  
https://github.com/horde/imp/commit/5186ad002b0809960fd6096a2ca85ab8d2aab888


Also, please make sure you are up to date with git on *all* packages.


I'm sorry about the confusion, this is on the packages from PEAR  
(up-to-date as of now).


I know there were a few similar fixes not *too* long ago in some  
other packages, like Text_Filter.




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


Re: [imp] Message content not displayed after upgrade to PHP 7.3

2018-12-26 Thread Arjen de Korte

Citeren Arjen de Korte :


Citeren Arjen de Korte :

Just a heads-up for those that what to upgrade to PHP 7.3: it seems  
like there are some incompatibilities with Horde (master) in  
handling regular expressions.


Some (but not all) messages will not display content.


It looks like HTML mail is displayed correctly and text-only ones don't.


The following is logged for each message:

2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at offset  
68 [pid 207

6 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]
2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR:  
preg_replace_callback(
): Compilation failed: invalid range in character class at offset  
649 [pid 20

76 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]

This may be due to the stricter interpretation of character ranges  
in classes.


Note that the message content is available. I can reply to such a  
message (like the one quoted above) just fine. So the trouble seems  
to be in rendering messages, rather than grabbing them from the IMAP  
server.




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


Re: [imp] Message content not displayed after upgrade to PHP 7.3

2018-12-26 Thread Arjen de Korte

Citeren Arjen de Korte :

Just a heads-up for those that what to upgrade to PHP 7.3: it seems  
like there are some incompatibilities with Horde (master) in  
handling regular expressions.


Some (but not all) messages will not display content. The following  
is logged for each message:


2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR: preg_replace_callback(
): Compilation failed: invalid range in character class at offset 68 [pid 207
6 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]
2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR: preg_replace_callback(
): Compilation failed: invalid range in character class at offset 649 [pid 20
76 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]

This may be due to the stricter interpretation of character ranges  
in classes.


Note that the message content is available. I can reply to such a  
message (like the one quoted above) just fine. So the trouble seems to  
be in rendering messages, rather than grabbing them from the IMAP  
server.


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


[imp] Message content not displayed after upgrade to PHP 7.3

2018-12-25 Thread Arjen de Korte
Just a heads-up for those that what to upgrade to PHP 7.3: it seems  
like there are some incompatibilities with Horde (master) in handling  
regular expressions.


Some (but not all) messages will not display content. The following is  
logged for each message:


2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR: preg_replace_callback(
): Compilation failed: invalid range in character class at offset 68 [pid 207
6 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]
2018-12-25T12:47:27+01:00 WARN: horde [imp] PHP ERROR: preg_replace_callback(
): Compilation failed: invalid range in character class at offset 649 [pid 20
76 on line 99 of "/usr/share/php7/PEAR/Horde/Text/Filter.php"]

This may be due to the stricter interpretation of character ranges in classes.

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


Re: [imp] PDF thumbnails no longer working

2018-10-03 Thread Arjen de Korte

Citeren Arjen de Korte :


Citeren Arjen de Korte :

Just recently, I noticed thumbnails for PDF attachments now show as  
a black questionmark on a white background. Other attachments (JPG  
files for instance) still show correct thumbnails, so I guess the  
imagick PECL extension is still doing its job.


imp = 6.2.22
Horde_Core = 2.31.6
Horde_Pdf = 2.0.7
php7-imagick = 3.4.3
ImageMagick = 7.0.8

Am I the only one where this seems to be broken?


Answering to myself: it turns out the distribution I use (openSUSE  
Tumbleweed) nowadays ships with a policy.xml file for ImageMagick  
that prevents reading PDF files. Changing the policy from 'none' to  
'read' fixed the generation of thumbnails.


Again answering to myself again. After looking up why PDFs are not an  
acceptable input format for ImageMagick anymore, it turns out this was  
switched off to address a vulnerability in Ghostscript:


https://www.kb.cert.org/vuls/id/332928

So the above suggestion to re-enable it in the 'policy.xml' may not be  
safe depending on which Ghostscript version is currently installed on  
your system.


Another way to deal with the ugly PDF thumbnails that are generated  
now, is to switch off thumbnails for PDF files in  
'imp/config/mime_drivers.local.php':


http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] PDF thumbnails no longer working

2018-10-02 Thread Arjen de Korte

Citeren Arjen de Korte :

Just recently, I noticed thumbnails for PDF attachments now show as  
a black questionmark on a white background. Other attachments (JPG  
files for instance) still show correct thumbnails, so I guess the  
imagick PECL extension is still doing its job.


imp = 6.2.22
Horde_Core = 2.31.6
Horde_Pdf = 2.0.7
php7-imagick = 3.4.3
ImageMagick = 7.0.8

Am I the only one where this seems to be broken?


Answering to myself: it turns out the distribution I use (openSUSE  
Tumbleweed) nowadays ships with a policy.xml file for ImageMagick that  
prevents reading PDF files. Changing the policy from 'none' to 'read'  
fixed the generation of thumbnails.


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


[imp] PDF thumbnails no longer working

2018-10-02 Thread Arjen de Korte
Just recently, I noticed thumbnails for PDF attachments now show as a  
black questionmark on a white background. Other attachments (JPG files  
for instance) still show correct thumbnails, so I guess the imagick  
PECL extension is still doing its job.


imp = 6.2.22
Horde_Core = 2.31.6
Horde_Pdf = 2.0.7
php7-imagick = 3.4.3
ImageMagick = 7.0.8

Am I the only one where this seems to be broken?

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


Re: [imp] IMAP special folders

2018-03-19 Thread Arjen de Korte

Citeren christian.roe...@saftig.gmbh:


Hello,

I just installed horde though pear on Debian 9, the IMAP server is  
running on dovecot. Everything works fine: sending, receiving and  
ActiveSync. But there is a problem I can't solve on my own. The IMAP  
server has special folders with subscribe=auto because I'm using  
IMAP with Outlook 2013. So the sent folder is called "Gesendete  
Elemente", trash "Gelöschte Elemente" and so on.


Know I wan't to tell webmail to use this folders by standard, but I  
don't get it. I can change it manually but I want that this is done  
automatically. Can anybody give me a hint how this can be archived?


Assuming you already have a 'imp/config/backends.local.php' file and  
use the 'advanced' configuration, appending something like the  
following should do the trick (untested):


$servers['advanced']['special_mboxes'][IMP_Mailbox::MBOX_SENT] =  
'Gesendete Elemente';
$servers['advanced']['special_mboxes'][IMP_Mailbox::MBOX_TRASH] =  
'Gelöschte Elemente';


You may want to look in 'imp/config/backends.php' for the exact syntax  
and/or more additional mailboxes to override.



Thanks,
Christian




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

Re: [imp] IMP No quota extension

2017-11-14 Thread Arjen de Korte

Citeren Ralph Sikau :


Hi,

I get every minute the following error message in the log:
"WARN: HORDE [imp] [getQuotaRoot] The server does not support the  
QUOTA extension. [pid 9075 on line 730 of  
"/usr/share/horde/imp/lib/Imap.php"]
ERR: HORDE [imp] Speicherplatz-Kontingent konnte nicht gelesen  
werden [pid 9075 on line 48 of  
"/usr/share/horde/imp/lib/Quota/Imap.php"]

It's a dovecot imap server. My backends.local.php contains:
$servers['imap'] = array(
    'name' => 'IMAP Server',
    'hostspec'  => 'localhost',
    'hordeauth' => 'full',
    'protocol'  => 'imap',
    'preferred' => true,
    'port'  => 143,
    'secure'    => 'tls',
    'quota' => array('driver'=>'imap'),
    'acl' => false,
);
I do not need the quota support. How can I get rid of these error messages?


Only override values that you want to change from the defaults. Use  
the following instead for your 'backends.local.php':


http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Error with Kronolith and PHP 7

2017-09-25 Thread Arjen de Korte

Citeren Jan Schneider :


Zitat von poubel...@free.fr:


Hi All,

I have just upgraded my Horde Webmail to the latest version and I  
have the following error in my logs regarding Kronolith and date  
format :


| [Fri Sep 22 15:35:56.317874 2017] [:error] [pid 1706] [client  
192.168.1.254:54176] PHP Deprecated: Methods with the same name as  
their class will not be constructors in a future version of PHP;  
Date_Holidays has a deprecated constructor in  
/usr/share/php/Date/Holidays.php on line 91, referer:  
https:///kronolith/
| [Fri Sep 22 15:35:56.321707 2017] [:error] [pid 1706] [client  
192.168.1.254:54176] PHP Deprecated: Methods with the same name as  
their class will not be constructors in a future version of PHP;  
Date has a deprecated constructor in /usr/share/php/Date.php on  
line 123, referer: https:///kronolith/
| [Fri Sep 22 15:35:56.325672 2017] [:error] [pid 1706] [client  
192.168.1.254:54176] PHP Deprecated: Methods with the same name as  
their class will not be constructors in a future version of PHP;  
Date_TimeZone has a deprecated constructor in  
/usr/share/php/Date/TimeZone.php on line 70, referer:  
https:///kronolith/
| [Fri Sep 22 15:35:56.331302 2017] [:error] [pid 1706] [client  
192.168.1.254:54176] PHP Deprecated: Methods with the same name as  
their class will not be constructors in a future version of PHP;  
Date_Span has a deprecated constructor in  
/usr/share/php/Date/Span.php on line 114, referer:  
https:///kronolith/
| [Fri Sep 22 15:35:56.332119 2017] [:error] [pid 1706] [client  
192.168.1.254:54176] PHP Deprecated: Methods with the same name as  
their class will not be constructors in a future version of PHP;  
Date_Holidays_Holiday has a deprecated constructor in  
/usr/share/php/Date/Holidays/Holiday.php on line 36, referer:  
https:///kronolith/
| [Fri Sep 22 15:35:56.333058 2017] [:error] [pid 1706] [client  
192.168.1.254:54176] PHP Deprecated: Methods with the same name as  
their class will not be constructors in a future version of PHP;  
Date_Holidays_Driver has a deprecated constructor in  
/usr/share/php/Date/Holidays/Driver.php on line 125, referer:  
https:///kronolith/


Is there something to do on my server (install a new 'date' package  
for PHP 7)? Or is it something to change for the next release of  
Kronolith?


I run a Debian Stretch server with PHP 7.1 and the latest patches.

Thanks


It's a 3rd-party library that Kronolith uses. Not much we can do about.


Kronolith not only uses PEAR/Date, it is a required package. So this  
is not something optional one can do without. The last stable release  
was 10+ years ago and even the latest alpha release is almost 4 years  
old.


https://pear.php.net/package/Date

Off course, one can hope that someone takes over maintainership, but  
unless that hope actually materializes, it may be worthwhile to look  
for alternatives.


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


Re: [imp] Very large tables

2017-08-29 Thread Arjen de Korte

Citeren Federico Giannici :


Hi!

We are using Horde as WebMail for a few hundreds of users.

In the last months I have noticed that the disks load (two SSD in  
RAID1) is grown a lot. We use MySQL (actually MariaDB) as DB. I  
looked at the tables and have noticed that there are two very large  
tables:


- horde_vfs: 24G size, 74 thousands records
- horde_imap_client_message: 12G size, 6 million records!

Are these sizes and number of records "normal"?


Neither are purged automatically, so this may be normal.

Is there any mechanism to purge old records from these tables? Or  
they will grow forever?


You can use 'imp-query-imap-cache --lifetime ' to trim  
'horde_imap_client_message'. Nothing will be lost, anything not in the  
cache will be retreived from the IMAP server again, possibly causing a  
slight delay.


Regarding 'horde_vfs', it really depends on what is in there. It can  
be used for several things. Attachments and drafts can be stored there  
before sending and you may wish to trim very old entries. But it can  
also be used for more permanent storage, in which case trimming is  
probably not such a good idea. Things will be permanently lost, so be  
careful here, as it will p*ss off your users if you remove things they  
actually use.



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


Re: [imp] New IMAP server, troubleshooting slow IMP performance

2017-07-26 Thread Arjen de Korte

Citeren Jens Wahnes :


Simon Wilson wrote:

$servers['imap']['cache'] = sql;

I just switched it to nosql to use the mongo nosql setup on the  
server that is used for Horde cache - and the email times have  
dropped to about 0.5s.


Thanks Jan, that was the ticket. I think nosql is probably better  
performance anyway?


I'd say that using 'cache' = 'hashtable' is a safe bet, that is if  
you are running memcached anyway.


On a lightly loaded server with a handful of users, I have never  
observed any appreciable difference between sql, nosql or hashtable.  
That is, if they are running on the same box as horde (all configured  
with ample memory). As soon as you hit connections to a different  
server and/or delays because data has to come from a spinning disk,  
the performance suffers, but other than that, no real difference.




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


Re: [imp] Spam query

2017-06-23 Thread Arjen de Korte

Citeren Simon Wilson :


Hi list,

My mail setup is doing a great job of keeping spam out of my inbox,  
but I have a puzzle...


I have a postfix setup that filers incoming email through  
amavisd-new, including spamassassin. It is configured to dump  
nothing, but send all email on, including spam, to Cyrus IMAP, where  
a sieve script (set up using Ingo) includes:


 # Spam Filter
 10: if header :comparator "i;ascii-casemap" :contains  
"X-Spam-Level" "*"  {

 11: fileinto "INBOX/Spam";
 12: stop;
 13: }

So as i read that, spam that is flagged over 5 is routed into INBOX/Spam...

True enough, in that folder are a lot of spam emails. BUT many of  
them are NOT *... for example this is in my Spam folder:


X-Virus-Scanned: amavisd-new at simonandkate.net
X-Spam-Flag: NO
X-Spam-Score: 0.908
X-Spam-Level:
X-Spam-Status: No, score=0.908 tagged_above=-999 required=6.2
tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.001,
SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no

The email IS spam, so I'm not complaining that it's in there - but I  
can't see WHAT put it in there. I'm getting a couple of false  
positives which got me looking to see what spam is getting flagged.


Could it be an IMAP client with build-in spam checking (like Mozilla  
Thunderbird for instance?) I agree that the above sieve rule should  
not trigger with the above message, but sometimes IMAP clients may  
also move spam out of the way.


I realise it's likely not a Horde issue, but just seeking to tap  
into the expertise here.


What am I missing...

Thanks
Simon.

--
Simon Wilson
M: 0400 12 11 16




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


Re: [imp] Help with enabling spam reporting

2016-12-09 Thread Arjen de Korte

Citeren HiP-HiPpO :

I created the file imp/conf/backends.local.php with only the  
following contents. When logging in, I see no additional  
option to report mail as spam. How do I enable reporting?




I replaced all the contents in backends.local.php with the  
example shown in this thread and I have spam reporting buttons

https://lists.horde.org/archives/horde/Week-of-Mon-20150216/053728.html


This does not seem to be working.


This will only work if you have a spamd daemon running and it  
can accept connections from the spamc client.


 Initially, I was able to select a few incoming messages and  
choose the Spam button to report.  This is no longer working.  
 Now I select only one message, choose "Report as Spam".  The  
message is updated with an icon to suggest it is being  
processed as spam, however, that process never completes and  
the logged in session is hung in the browser.  I need to kill  
the browser and relogin to find that one message in an  
unchanged state, still seen as New in the Inbox.  


--
 


spamc seems to be working.  I used the GTUBE example file  
here; http://spamassassin.apache.org/gtube/gtube.txt
and saved it as test.eml.  On a command line, I used `spamc -R <  
test.eml`.  This produced output and the test email was given a  
content analysis score of 1000.0 points.


I hadn't noticed the difference in versions between Groupware  
and Horde itself before.  Seems odd, but maybe not.

Horde Groupware Webmail Edition 5.2.16
Horde 5.2.12
Imp 6.2.16


Seems very unreliable at this point.  With one login session, I  
was able to select one email in Inbox and choose the Spam button.  
 I selected the next mail, choose the Spam button and the browser  
churns for a very long time.  I have to kill the browser instance  
and log back in.  After logging in again, I selected a different  
mail, clicked the Spam button and the browser churned away, I  
forced killed the browser.  The next time logging in, I was able  
to mark 5 messages as Spam, on the 6th, browser churns and  
another force kill of the browser instance.  

 


Is there anything I can provide (proxy logs, debug logs, etc.) to  
help troubleshoot this or should I consider it a broken feature  
and back out of the configuration change?


Post the full contents of your  
/imp/config/backends.local.php. Spam reporting works  
flawlessly here, so if it isn't working for you, there must be a  
configuration issue.

 


 true,
     'name' => 'IMAP Server',
     'hostspec' => 'localhost',
     'hordeauth' => false,
     'protocol' => 'imap',
     'port' => 143,
     // Plaintext logins are disabled by default on IMAP servers  
(see RFC 3501

     // [6.2.3]), so TLS is the only guaranteed authentication available by
     // default.
     'secure' => 'tls',
 );
  
 $servers['advanced'] = array(
     // Disabled by default
     'disabled' => false,
     'name' => 'Advanced IMAP Server',
     'hostspec' => 'localhost',
     'hordeauth' => false,
     'protocol' => 'imap',
     'port' => 143,
     'secure' => 'tls',
     'maildomain' => 'cdne.net,icwazy.us',


There should be no comma in the value, you can only specify one  
default domain as far as I know. If you need to support multiple  
domains, you probably need a virtual hosts setup.



     'smtp' => array(
     //    'auth' => true,
     //    'debug' => false,
     //    'horde_auth' => false,
     //    'host' => 'smtp.example.com',
     //    'localhost' => 'localhost',
     //    'password' => null,
     //    /* Mail from a MUA SHOULD be sent via the mail submission  
port (587)

     //    * rather than the MTA port (25). Note that mail submission
     //    * REQUIRES some method of authentication (whether explicit
     //    * user/password credentials or configuring the mail submission
     //    * agent to automatically authenticate this host based on the
     //    * network location). */
     //    'port' => 587,
     //    'username' => null
     ),
     'spam' => array(
           'innocent' => array(
               'display' => true,
         //
         //    // Email reporting driver
         //    'email' => null,
             //    'email_format' => 'digest',
         //
     //    // Null reporting driver
         //    'null' => true,
         //
     //    // Program reporting driver
               'program' => '/usr/bin/spamc -d mx -C revoke -u %l',


Make sure you can actually connect to this system. It sounds kind of  
weird that you have spamd running on a host named 'mx' (that's what  
the above line says).



           ),
     'spam' => array(
               'display' => true,
         //
     //    // Email reporting driver
         //    'email' => null,
         //    'email_format' => 'digest',
         //
     //    // Null reporting driver
         //    'null' => true,
         //
     //    // Program reporting driver
               'program' => '/usr/bin/spamc -d mx -C report -u %l',
           ),


Same here. Try to report 

Re: [imp] Help with enabling spam reporting

2016-12-08 Thread Arjen de Korte

Citeren HiP-HiPpO :

I created the file imp/conf/backends.local.php with only the  
following contents. When logging in, I see no additional  
option to report mail as spam. How do I enable reporting?




I replaced all the contents in backends.local.php with the  
example shown in this thread and I have spam reporting buttons

https://lists.horde.org/archives/horde/Week-of-Mon-20150216/053728.html


This does not seem to be working.


This will only work if you have a spamd daemon running and it can  
accept connections from the spamc client.


 Initially, I was able to select a few incoming messages and  
choose the Spam button to report.  This is no longer working.  
 Now I select only one message, choose "Report as Spam".  The  
message is updated with an icon to suggest it is being processed  
as spam, however, that process never completes and the logged in  
session is hung in the browser.  I need to kill the browser and  
relogin to find that one message in an unchanged state, still  
seen as New in the Inbox.  


--
 


spamc seems to be working.  I used the GTUBE example file  
here; http://spamassassin.apache.org/gtube/gtube.txt
and saved it as test.eml.  On a command line, I used `spamc -R <  
test.eml`.  This produced output and the test email was given a  
content analysis score of 1000.0 points.


I hadn't noticed the difference in versions between Groupware and  
Horde itself before.  Seems odd, but maybe not.

Horde Groupware Webmail Edition 5.2.16
Horde 5.2.12
Imp 6.2.16


Seems very unreliable at this point.  With one login session, I was  
able to select one email in Inbox and choose the Spam button.  I  
selected the next mail, choose the Spam button and the browser  
churns for a very long time.  I have to kill the browser instance  
and log back in.  After logging in again, I selected a different  
mail, clicked the Spam button and the browser churned away, I  
forced killed the browser.  The next time logging in, I was able to  
mark 5 messages as Spam, on the 6th, browser churns and another  
force kill of the browser instance.  

 


Is there anything I can provide (proxy logs, debug logs, etc.) to  
help troubleshoot this or should I consider it a broken feature and  
back out of the configuration change?


Post the full contents of your /imp/config/backends.local.php.  
Spam reporting works flawlessly here, so if it isn't working for you,  
there must be a configuration issue.


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

Re: [imp] Help with enabling spam reporting

2016-12-05 Thread Arjen de Korte

Citeren HiP-HiPpO :

I created the file imp/conf/backends.local.php with only the  
following contents. When logging in, I see no additional option to  
report mail as spam. How do I enable reporting?




 I replaced all the contents in backends.local.php with the example  
shown in this thread and I have spam reporting buttons

https://lists.horde.org/archives/horde/Week-of-Mon-20150216/053728.html


This does not seem to be working.


This will only work if you have a spamd daemon running and it can  
accept connections from the spamc client.


 Initially, I was able to select a few incoming messages and choose  
the Spam button to report.  This is no longer working.  Now I select  
only one message, choose "Report as Spam".  The message is updated  
with an icon to suggest it is being processed as spam, however, that  
process never completes and the logged in session is hung in the  
browser.  I need to kill the browser and relogin to find that one  
message in an unchanged state, still seen as New in the Inbox.  




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

Re: [imp] Is there a "Forwarder" function available in Horde/Imp ?

2016-10-06 Thread Arjen de Korte

Citeren maudam :


Il 04/10/2016 21:14, Arjen de Korte ha scritto:

Citeren maudam :

i need to give my users the ability to forward any incoming email  
to other email address(es) in other domains too.

Is there a module or patch i can use for this ?


Ingo supports this, if the backend you're using supports server  
side filtering.




I have ingo installed (3.2.7) but i can't see any type of forwarding  
in mail preferences.


Then your backend may not support this. Which one have you configured?  
The (default) imap backend doesn't support server side filtering. See  
/ingo/config/backends.php. Instructions on how to override the  
default server selection are documented in the header of this file.  
Make sure to read it thoroughly before creating a backends.local.php  
file.


Where is the place to configure the forward rule ? In preferences ->  
mail -> filters ?


No. You configure filters in /ingo/basic.php?page=filters,  
which can also be found under the email tab. But this won't work as  
you may expect when you're using the default backend.



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


Re: [imp] Is there a "Forwarder" function available in Horde/Imp ?

2016-10-04 Thread Arjen de Korte

Citeren maudam :

i need to give my users the ability to forward any incoming email to  
other email address(es) in other domains too.

Is there a module or patch i can use for this ?


Ingo supports this, if the backend you're using supports server side  
filtering.


--
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 Arjen de Korte

Citeren Michael Martinell :

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

Interstate Telecommunications Coop., Inc.
312 4th Street W - PO Box 920
Clear Lake, SD 57226
Ph: (800) 417-8667  Fax: (800) 779-0514
michael.martin...@itctel.com
www.itc-web.com




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


Re: [imp] Enable native spell checker

2016-03-10 Thread Arjen de Korte

Citeren Aaron Paetznick :


This post started as a feature request:

https://bugs.horde.org/ticket/14272


Basically I'm trying to get live spell checking to work when using  
the HTML editor. I understand that the ckeditor is scheduled to be  
upgraded with the next major release, which may or may not enable  
live spell checking at that time. For now, I've tried setting  
disableNativeSpellChecker to false, but it's not working for me.  
Here's my js/ckeditor/config.js file:


CKEDITOR.editorConfig=function(a){a.disableNativeSpellChecker=false;a.scayt_autoStartup=false;a.toolbar_Full.push(['Code'])};


Can anyone advise why this isn't working for me yet? I'm using the  
latest stable versions of both Horde and IMP, which right now seems  
to be Horde 5.2.9 and IMP 6.2.12. Thanks!


Did you clear the horde/static directory and the browser cache?

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


Re: [imp] HTML in Web Mail

2015-11-19 Thread Arjen de Korte

Citeren Jan Schneider :


Zitat von John C Payne :


I am trying, without sauces, to enable HTML web mail display inline.
Version 5.6.2

This is copied from the Administrator FAQ. The changes needed to enable
HTML web mail:

$mime_drivers['imp']['html']['inline'] = true; // for


Such a setting doesn't exist.


John copied this from the Wiki  
(http://wiki.horde.org/FAQ/Admin/Config). I updated this to the  
correct setting minutes ago.



horde/config/mime_drivers.local.php
$mime_drivers['html']['inline'] = true;    // for
horde/imp/config/mime_drivers.local.php


This correct, in both horde and imp.


This change allowed text and links to be shown. Some progress but not much.

I checked the Archive and found the following suggestion(excerpt from a
long dsiscussion):

http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org




--
Jan Schneider
The Horde Project
http://www.horde.org/

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




--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.

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

Re: [imp] Trouble with double logins.

2015-06-18 Thread Arjen de Korte

Citeren Pro Green European :

Thank you for your reply. Sure enough, I forgot to disable the imap  
service in backends.php. Works now.


I sure hope you mean 'backends.local.php'. If not, the next IMP update  
may break your installation again.


--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.

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


Re: [imp] configuration option "php_ini" is not set to php.ini location

2015-04-08 Thread Arjen de Korte

Citeren tr...@skrilnetz.net:


Hi,

I just upgraded to 5.2.5 and I got the below on the command line.
All seems to be working well. Do I need to make any changes anyway?

configuration option "php_ini" is not set to php.ini location
You should add "extension=horde_lz4.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=horde_lz4.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=igbinary.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=horde_lz4.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=igbinary.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=mongo.so" to php.ini


There are more ways to load extensions, putting them in php.ini is  
just one option. Since you apparently upgraded from an earlier  
installation, chances are that you either did that before, or you're  
using one of the other methods. Run 'phpinfo' in the PHP shell. If it  
shows that these extensions are loaded, you'll be fine.




--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.

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


Re: [imp] Making basic view permanent

2015-04-08 Thread Arjen de Korte

Citeren bra :


Is there a way how to make basic view permanent? In IMP5 there was
special setting allowing to disable dynamic capabilities.


Horde: $conf['user']['force_view']


this will make changes global, not user-specific, am I right?


Not necessarily.  A configuration value can be set via any valid PHP
expression, including the ability to write code to conditionally set
this based on the current Horde user, if desired.

Could you please post an example of this? (how to access the current
authenticated user ID from conf.php)


You don't. That's what hooks are for. Have a look inside the example  
'hooks.php.dist' that lives in the same directory as your main  
conf.php file (horde/config/hooks.php.dist).


--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.

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


Re: [imp] Imp Performance Problem

2015-03-29 Thread Arjen de Korte

Citeren Registration :


Dear Imp users and developers,

my problem is as follows:
- Login to Horde takes 3 seconds.
- Loading mails takes 7 seconds for a larger IMAP folder, and 1-2  
seconds for one with only a few messages in it.

- Top shows 97% CPU from php5-fpm, 3% from imap.


That means that performance problems are probably in php. Do you use  
an php opcode cache / accelerator? If so, which one?



- When messages are cached, everything gets super fast.
- The loading times are probably proportional to the amount of  
message headers Imp loads for viewing.


My questions are:
- Is this normal speed?


It depends. How large is a large IMAP folder? How many folders do you have?


- If not, how would I systematically search for the problem?
- I tried xhprof, but I can't get the part where Imp refreshes  
messages captured.


My config:
- Debian Wheezy, Apache, php5-fpm, Dovecot, imapproxy


Without version numbers, there is no way for us to tell what you're  
actually using.



- Auth using Imp using MySQL/PDO connection via sockets
- Dovecot using Maildir, PAM disabled, mysql auth only
- Horde caching enabled


Which cache backend?


- everything on one host


If everything is on the same host, imapproxy is redundant an may even  
hurt performance if you have a modern IMAP server like Dovecot.



- standard rented server


I wonder what the specifications of a 'standard rented server' are. :-)


- everything up-to-date


What may be up-to-date on Debian Wheezy may still be seriously out-of-date.

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.

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


Re: [imp] IMAP Connection Issue: "no auth attempts"

2015-02-11 Thread Arjen de Korte

Citeren Jan Schneider :


Zitat von Alexander Lasley :

After installing IMP, testing the IMAP connection via  
/test.php?app=imp is successful; "Namespace Information" and "IMAP  
server capabilities" are shown to me. However, connections through  
the web interface fail. I have tried two different things:


1) Logging in to the mail account while logged in to Horde as the  
default "Administrator" user. This fails and produces the message  
"User Administrator is not authorized for Mail" in the logs. I  
stopped here because this is ultimately not the way I intend to use  
Horde/IMP anyway.
2) Using IMP as the application to handle authentication for Horde.  
This fails and produces slightly more useful information in the logs.


Web server information:
CentOS 6.6
nginx 1.0.15 installed via yum *
php-fpm 5.4.37 installed via yum
Horde 5.2.3 installed via PEAR
IMP 6.2.7 installed via PEAR

Mail server information:
CentOS 6.6
dovecot 2.0.9 installed via yum

* I know that nginx isn't officially supported, but my issue does  
not seem related to the web server; no relevant error messages are  
showing up in nginx's log.


I've replaced sensitive information in the logs with the following:
Horde installed into the document root /path/to/horde
Horde running on webmail.domain.tld with IP address xxx.xxx.xxx.xxx
Dovecot/Postfix running on mail.domain.tld with IP address yyy.yyy.yyy.yyy
Attempting to log in as usern...@mail.domain.tld
My personal IP zzz.zzz.zzz.zzz

Dovecot logs:
Feb 11 06:40:46 mail dovecot: auth: Debug: Loading modules from  
directory: /usr/lib64/dovecot/auth

...
Feb 11 06:40:46 mail dovecot: auth: Debug: auth client connected (pid=20366)
Feb 11 06:41:16 mail dovecot: imap-login: Disconnected (no auth  
attempts): rip=xxx.xxx.xxx.xxx, lip=yyy.yyy.yyy.yyy, TLS  
handshaking: Disconnected


Horde logs:
Feb 11 06:39:36 web-ln1 HORDE: [imp] [login] Error when  
communicating with the mail server. [pid 3243 on line 730 of  
"/path/to/horde/imp/lib/Imap.php"]
Feb 11 06:39:36 web-ln1 HORDE: [imp] FAILED LOGIN for  
usern...@mail.domain.tld (zzz.zzz.zzz.zzz) to  
{imap://mail.domain.tld:993/} [pid 3243 on line 157 of  
"/path/to/horde/imp/lib/Auth.php"]
Feb 11 06:39:36 web-ln1 HORDE: [horde] FAILED LOGIN for  
usern...@mail.domain.tld to horde (24.107.154.151) [pid 3243 on  
line 199 of "/path/to/horde/login.php"]


/path/to/horde/imp/config/backends.php:
$servers['imap'] = array(
   'disabled' => false,
   'name' => 'IMAP Server',
   'hostspec' => 'mail.domain.tld',
   'hordeauth' => false,
   'protocol' => 'imap',
   'port' => 993,
   'secure' => 'tls',
);

Dovecot is configured to expect 'PLAIN' or 'LOGIN' authentication  
over TLS. I can't seem to find any documentation on setting the  
IMAP authentication mechanism. But IMP doesn't seem to be passing  
along incorrect credentials; it doesn't seem to be passing any  
credentials at all.


Thanks for your time,

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


1) Don't edit backends.php!
2) Enable debug logs (in backends.local.php!) and check the IMAP  
connection logs.


And are you sure you're supporting STARTTLS on port 993? By default,  
Dovecot will accept SSL only on port 993, so the STARTTLS is never  
offered. You probably only need to override the hostspec variable in  
imp/config/backends.local.php:


   If you really want to use port 993, you'll probably need to append the  
following two lines:


   $servers['imap']['port'] = 993;
   $servers['imap']['secure'] = 'ssl';

But the recommended solution, is to use STARTTLS on port 143 instead.

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] User is not authorized for Mail error

2015-02-09 Thread Arjen de Korte

Citeren Sebastián Mir :


Look at backends.php in my case this file was overwritten setting the
'disabled' property at the IMAP server example definition to false, so when
imp tried to connect with the IMAP server, it did it on localhost instead of
the actual server defined at backends.local.php
Setting 'disabled' => true fixed the issue.


That is why you should never touch backends.php. Overrides should be  
made in backends.local.php, so that they are kept on updates.


--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] New required dependency

2015-01-15 Thread Arjen de Korte

Citeren Michael M Slusarz :


Quoting Arjen de Korte :


Citeren Michael M Slusarz :


Quoting azurIt :


IMP 6.2.4 introduces new required dependency:


You mean 6.2.5.


Will upgrade channel://pear.horde.org/imp
Unknown remote channel: phpseclib.sourceforge.net
horde/imp requires package "channel://phpseclib.sourceforge.net/File_ASN1"
No valid packages found
upgrade-all failed

Is this ok? Why it suddenly needs this strange package from  
external source?


To parse badly formatted S/MIME data.


Might be worth a note in http://www.horde.org/apps/imp/docs/UPGRADING.


Why?

We've never added notes to UPGRADING before when adding new package  
dependencies.  And I don't see any reason to start now.


Because these would not require registering additional PEAR channels?  
One can assume that 'pear.php.net' and 'pear.horde.org' are  
registered, because these are either required by PEAR or was  
registered during the initial Horde installation (per the instructions  
in http://www.horde.org/apps/horde/docs/INSTALL). Any additional  
packages from these channels required should be good to go. Howevere,  
the requirement for the 'phpseclib.sourceforge.net' channel is  
mentioned nowhere in the Horde documentation, so it would be helpful  
if this was mentioned somewhere.


--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] New required dependency

2015-01-14 Thread Arjen de Korte

Citeren Michael M Slusarz :


Quoting azurIt :


IMP 6.2.4 introduces new required dependency:


You mean 6.2.5.


Will upgrade channel://pear.horde.org/imp
Unknown remote channel: phpseclib.sourceforge.net
horde/imp requires package "channel://phpseclib.sourceforge.net/File_ASN1"
No valid packages found
upgrade-all failed

Is this ok? Why it suddenly needs this strange package from external source?


To parse badly formatted S/MIME data.


Might be worth a note in http://www.horde.org/apps/imp/docs/UPGRADING.

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] broken advanced search in dynamic view

2015-01-05 Thread Arjen de Korte

Citeren Rene Zeipelt :


Hello,
we have installed the latest horde/imp applications and get an error  
on menu button search for imp.

So the link
https://twebmail.uni-wuppertal.de/imp/dynamic.php?page=mailbox#search
fails with a second webmail frame into the webmail frame. Simple  
search in the upper right corner works fine.

Can you reproduce the error? No error log entries on this action.
Thanks for help.
Regards Rene


https://bugs.horde.org/ticket/13773

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] pass client ip during authentication

2014-09-25 Thread Arjen de Korte

Citeren Systeembeheer BCS :


Citeren Arjen de Korte :


Citeren Systeembeheer BCS :


Citeren Arjen de Korte :


Citeren Systeembeheer BCS :


Using imp for authentication with dovecot IMAP, working fine. But now I
would like to make use of dovecot's allow_nets feature to restrict
logins from certain ip's. To make that work, imp should pass the
client's ip (as seen by apache) to dovecot during authentication, but
instead it passes 127.0.0.1 for both lip and rip. Any way to change
this?


No. Horde doesn't pass the connecting IP to Dovecot. This is determined
by Dovecot itself, by looking at the local and remote IP for the socket
that is used for communication.


Ah, thanks. Looks like I have to switch to another auth mechanism  
instead to get this working.


What are you trying to accomplish? Do you want to restrict the IP's  
from where your users can connect to Horde? In that case, a  
.htaccess file placed in the directory where Horde lives may be  
what you're looking for:



Not exactly. What I try to achieve is that while all accounts should  
be accessible from machines within our lan ip range, only some  
accounts should be able to login from the outside world as well  
(coming from ip's outside our lan range). So I need to restrict  
access to accounts based upon an ip range. Dovecot's allow_nets  
feature would do just that but because all imp logins come from  
localhost instead of from the client ip, I can not use it.


Ah, now I understand. You can use the preauthenticate or  
postauthenticate hooks (see horde/config/hooks.php.dist) for that.


--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] pass client ip during authentication

2014-09-25 Thread Arjen de Korte

Citeren Systeembeheer BCS :


Citeren Arjen de Korte :


Citeren Systeembeheer BCS :


Using imp for authentication with dovecot IMAP, working fine. But now I
would like to make use of dovecot's allow_nets feature to restrict
logins from certain ip's. To make that work, imp should pass the
client's ip (as seen by apache) to dovecot during authentication, but
instead it passes 127.0.0.1 for both lip and rip. Any way to change
this?


No. Horde doesn't pass the connecting IP to Dovecot. This is determined
by Dovecot itself, by looking at the local and remote IP for the socket
that is used for communication.


Ah, thanks. Looks like I have to switch to another auth mechanism  
instead to get this working.


What are you trying to accomplish? Do you want to restrict the IP's  
from where your users can connect to Horde? In that case, a .htaccess  
file placed in the directory where Horde lives may be what you're  
looking for:


# ALLOW USER BY IP

 order deny,allow
 deny from all
 allow from 192.168.4.0/24


This will allow everyone from the 192.168.4.0/24 network access and  
denies all others.


--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] pass client ip during authentication

2014-09-25 Thread Arjen de Korte

Citeren Systeembeheer BCS :

Using imp for authentication with dovecot IMAP, working fine. But  
now I would like to make use of dovecot's allow_nets feature to  
restrict logins from certain ip's. To make that work, imp should  
pass the client's ip (as seen by apache) to dovecot during  
authentication, but instead it passes 127.0.0.1 for both lip and  
rip. Any way to change this?


No. Horde doesn't pass the connecting IP to Dovecot. This is  
determined by Dovecot itself, by looking at the local and remote IP  
for the socket that is used for communication.



horde log:
2014-09-25T11:39:54+02:00 NOTICE: HORDE [horde] Login success for  
t...@bezoekerscentrumsonsbeek.nl [192.168.4.101] to horde. [pid 6600  
on line 150 of "/var/www/horde/login.php"]


mail log:
Sep 25 11:39:54 BCS dovecot: imap-login: Login:  
user=, method=PLAIN,  
rip=127.0.0.1, lip=127.0.0.1, mpid=8382, TLS




--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] still unable to view a mail in imp after recent horde, imp and lz4 upgrades to latest (horde 5 groupware webmail edition) - log below

2014-09-23 Thread Arjen de Korte

Citeren i...@interpost.biz:


Hello,

I am still unable to view a mail in imp after recent horde, imp and  
lz4 upgrades to latest (horde 5 groupware webmail edition) - log below


ON line 19 and line 75, below there are some very slow timeouts.  Do  
you think that the problem could be with the cache being enabled for  
imap? and the recent lz4 upgrade?


Could be https://bugs.php.net/bug.php?id=41631 that is hitting you.

Since you're using Dovecot and connect to it through localhost,  
switching off TLS (which is the default) for the connection works  
around this. Dovecot allows PLAIN authentication through localhost  
without encryption by default (from  
http://wiki2.dovecot.org/SSL/DovecotConfiguration):


   "Note that plaintext authentication is always allowed (and SSL not  
required) for connections from localhost,
as they're assumed to be secure anyway. This applies to all  
connections where the local and the remote IP
addresses are equal. Also IP ranges specified by  
login_trusted_networks setting are assumed to be secure."


Depending on the settings in your imp/config/backends.local.php,  
adding one of the following two lines would do this:


$servers['imap']['secure'] = false;

or

$servers['advanced']['secure'] = false;

Unless required by your IMAP server using TLS on connections to  
localhost is just a waste of effort. If someone is able to sniff  
traffic on connections over the loopback interface, you have bigger  
problems to worry about.


--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] IMP Quotas config

2014-09-08 Thread Arjen de Korte

Citeren Art Stephens :


Ok - Sorry I claim being busy.
Postfix 2.9.6


Not relevant, quota is handled by you IMAP backend.


Dovecot IMAP/POP3 Server
Version 2.0.19


Good.


backends.local.php

 array(
'driver' => 'imap',
'params' => array(
'hide_when_unlimited' => false,
'unit' => 'GB'
)
),
);


Don't do that. You should never redefine arrays, only the elements  
that need changing. In this case, the following would suffice  
(assuming you're using the 'advanced' configuration):


   $servers['advanced']['quota']['params']['unit'] = 'GB';
   $servers['advanced']['quota']['params']['hide_when_unlimited'] = false;

Of course, other values in the Horde configuration that you modified  
need to be handled in a similar fashion. Search the mailinglist for an  
explanation, this has been discussed just recently.



dovecot

conf.d/10-mail.conf:

# Space separated list of plugins to load for all services. Plugins
specific to
# IMAP, LDA, etc. are added to this list in their own .conf files.
mail_plugins = $mail_plugins quota

conf.d/20-imap.conf:

protocol imap {
  # Space separated list of plugins to load (default is global
mail_plugins).
  mail_plugins = $mail_plugins imap_quota
}


I think that is all that I did...


Did you configure quota in 90-quota.conf? And did you recalculate  
quota in Dovecot?



Thanks again!

Tried to reply to - but got back
Google tried to deliver your message, but it was rejected by the server for
the recipient domain de-korte.org by de-korte.org.


My mailserver is configured to reject off-list replies (as stated in  
my signoff).



--
Arthur Stephens
Senior Networking Technician
Ptera Inc.
PO Box 135
24001 E Mission Suite 50
Liberty Lake, WA 99019
509-927-7837
ptera.com
facebook.com/PteraInc | twitter.com/Ptera
  
-

"This message may contain confidential and/or propriety information, and is
intended for the person/entity to whom it was originally addressed.
Any use by others is strictly prohibited. Please note that any views or
opinions presented in this email are solely those of the author and are not
intended to represent those of the company."
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org




--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Quota

2014-09-08 Thread Arjen de Korte

Citeren Art Stephens :


Enabled Quota on our server (finally) but no quota information shows up in
IMP
Horde 5.2.0
Imp 6.2.0


What exactly did you do to configure quota? Usually this will also  
require changes on the IMAP server, as this generally not configured  
out of the box. It would help if you could tell which IMAP server  
you're using and which changes you've made in  
imp/config/backends.local.php.



Thanks

--
Arthur Stephens
Senior Networking Technician
Ptera Inc.
PO Box 135
24001 E Mission Suite 50
Liberty Lake, WA 99019
509-927-7837
ptera.com
facebook.com/PteraInc | twitter.com/Ptera
  
-

"This message may contain confidential and/or propriety information, and is
intended for the person/entity to whom it was originally addressed.
Any use by others is strictly prohibited. Please note that any views or
opinions presented in this email are solely those of the author and are not
intended to represent those of the company."
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org




--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] IMP/Session Handler problem

2014-08-27 Thread Arjen de Korte

Citeren Martin Toth :


Hello Horde Masters,
I would like to ask if you can help me with my problem. All horde  
services running OK, i can login-in to webmail, send emails, receive  
emails, setup filters (ingo), all working.
But i can’t logout from webmail and also i can’t save changes in my  
settings when i am logged to webmail. There is no error log in DEBUG  
horde of IMP and all horde..


Horde AJAX will throw this every time I click logout or when i hit  
save in profile preferencies:
We cannot verify that this request was really sent by you. It could  
be a malicious request. If you intended to perform this action, you  
can retry it now.



$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = ‘password';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['ssl'] = false;
$conf['sql']['splitread'] = false;
$conf['sql']['phptype'] = 'mysqli';
$conf['datatree']['driver'] = 'sql';
$conf['share']['cache'] = false;
$conf['cache']['default_lifetime'] = 86400;
$conf['cache']['driver'] = 'Apc';
$conf['cache']['compress'] = true;
$conf['cache']['use_memorycache'] = '';
$conf['cachecssparams']['driver'] = 'filesystem';
$conf['cachecssparams']['lifetime'] = 86400;
$conf['cachecssparams']['compress'] = 'php';
$conf['cachecss'] = true;
$conf['cachejs'] = false;
$conf['cachethemes'] = false;
$conf['sessionhandler']['params']['driverconfig'] = 'horde';
$conf['sessionhandler']['type'] = 'Sql';
$conf['sessionhandler']['memcache'] = false;
$conf['memcache']['enabled'] = false;

This is config.

Any thoughts ?


Probably the same problem as reported in  
https://bugs.horde.org/ticket/13463. Try switching to the filebased  
session handler or revert to Horde_Core-2.13.0.

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] notspam option gone in H5?

2014-08-22 Thread Arjen de Korte

Citeren Brett Charbeneau :


Citeren Arjen de Korte  de-korte.org>:



http://www.horde.org/apps/imp/docs/UPGRADING#id3

Per the above UPGRADING note, this can be configured in
imp/config/backends.local.php. See imp/config/backends.php for more
information (but don't make changes in this file, the overrides MUST
be in imp/config/backends.local.php)


I'm not able to find anything about "notspam" in imp/config/backends.php
I spoke too soon. I added the following to imp/config/backends.local.php

$conf['notspam']['spamfolder']
$conf['notspam']['reporting']

but that throws a syntax error without offering a login prompt.  
I also tried


$conf['notspam']['spamfolder'] = true;
$conf['notspam']['reporting']  = true;

but when I go into the SPAM folder as set in

Preferences > Mail > Spam Reporting

and highlight a message I would like to remove the spam report  
from and go to


Other > Mark As

there is no "Report as not Spam" option, nor is such a button visible.
What am I missing?


Read the header and commented out configuration example from  
'imp/config/backends.php' I directed you to. The option still exists,  
it is just named differently.

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] notspam option gone in H5?

2014-08-22 Thread Arjen de Korte

Citeren Brett Charbeneau :


Some of my users have, in IMP, accidentally marked some messages as SPAM.
 It appears that once upon a time

http://article.gmane.org/gmane.comp.horde.imp/29589/match=unmark+spam

 there was a "notspam" option in

imp/config/conf.xml

 which I cannot find in our install of IMP 6.1.6.
 I'm not able to get a "Report as not Spam" menu option to  
appear - is this option no longer available?


http://www.horde.org/apps/imp/docs/UPGRADING#id3

Per the above UPGRADING note, this can be configured in  
imp/config/backends.local.php. See imp/config/backends.php for more  
information (but don't make changes in this file, the overrides MUST  
be in imp/config/backends.local.php).

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
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-19 Thread Arjen de Korte

Citeren Tim ODriscoll :


Dear All,

I've recently upgraded to Horde Webmail 5.2.1, with IMP 6.2.1.

When any of my users try searching for messages in a mailbox and the  
result returns more than 100 results, they get the error above:  
error communicating with the server.


Could it be you're using GMail as IMAP server?


In the Apache logs I see this:

PHP Fatal error:  Call to a member function fetch() on a non-object  
in /usr/share/horde/imp/lib/Contents.php on line 1616, referer:  
https://mydomain.com/horde/imp/dynamic.php?page=mailbox


If a search yeilds less than 100 results, then another search  
immediately afterwards returns more than 100, there is no error when  
a message is clicked on but the message contents shown are from the  
previous results list.


I tried to duplicate this on a Dovecot IMAP server. It has no problems  
returning searches resulting in several hundreds of messages. My guess  
is that somehow your IMAP server is truncating the number.



Any idea where I can start searching to fix this?

Many thanks,

Tim

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



--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] [SOLVED] Unable to decrypt PGP encrypted message after Update

2014-07-09 Thread Arjen de Korte

Citeren Sören Mindorf :


yes I know.

I've changed it there to test.
Now I've copied the complete file to mime_drivers.local.php and  
changed it there.


That is even worse! Instead of having your (local) changes overwritten  
by upgrades to the configuration files upstream, you'll now  
unconditionally override *any* change that may be made. This is a  
nightmare to maintain and will almost certainly break your  
installation when packages are updated.



But your war looks better.


It is the *only* way to configure Horde in a future proof way. And  
please do not top-post.

--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] [SOLVED] Unable to decrypt PGP encrypted message after Update

2014-07-09 Thread Arjen de Korte

Citeren Sören Mindorf :


Hello,

I found the problem.

in imp/config/mime_drivers.php

I've enabled

'pgp_inline' => true,

Now its working.


This is wrong. You should never, ever modify the configuration files  
that came with Horde yourself. This is also what the line


 * IMPORTANT: DO NOT EDIT THIS FILE!

is trying to tell you. You should create a file  
'imp/config/mime_drivers.local.php' instead with


   

smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] R: download doc file with pop server

2014-04-17 Thread Arjen de Korte

Citeren Antonio De Maglio :

In horde webmail If I connect to my account as imap I have  icons to  
download doc file.


If I connect and  open mail sent to myself  as pop I have not the  
download icons.


If you have an IMAP server available, why on earth do you want to use  
POP instead? That just doesn't make sense.



Why?


IMAP is strongly recommended over POP3.

   "If using a POP server, it MUST support the UIDL capability. POP3  
support is limited to performing
only basic mail actions; Caching, on-demand filtering, searching,  
and sorting will be disabled."


See http://www.horde.org/apps/webmail/docs/INSTALL


Regards,

Antonio De Maglio
--
Dott. Antonio De Maglio
Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" (ISTI)
Italian National Research Council (CNR)
via G. Moruzzi, 1 - 56124 Pisa, Italy Area della Ricerca CNR di Pisa
Skype: antonio_demaglio

-Messaggio originale-
Da: imp-boun...@lists.horde.org [mailto:imp-boun...@lists.horde.org]  
Per conto di Arjen de Korte

Inviato: giovedì 17 aprile 2014 16:46
A: imp@lists.horde.org
Oggetto: Re: [imp] download doc file with pop server

Citeren Antonio De Maglio :


Hi,

I have as  mail server pmdf.

Users can connect to server with pop or imap protocol.

I send myself an e-mail  by  outlook with doc attachment.

In horde webmail If I connect to my account as imap I have  icons to
download doc file.

If I connect and  open mail sent to myself  as pop I have not the
download icons.



I notes that I have:

nomefile.doc (1 KB)

the size of this file is not 1Kb.



If I connect as Imap I have the correct size(and download icons).



I have:



Horde (horde)
<https://webmail.isti.cnr.it/admin/config/config.php?app=horde>  5.1.6

Posta (imp)
<https://webmail.isti.cnr.it/admin/config/config.php?app=imp>
6.1.7





In horde/config/mime_drivers.php I have:

'msword' => array(

// Disabled by default

'disable' => false,

 'handles' => array(

'application/msword',

'application/vnd.ms-word'

),

'icons' => array(

'default' => 'msword.png'

),



// REQUIRED: Location of the AbiWord binary

'location' => '/usr/bin/abiword'

),



And I have installed abiword and it's in /usr/bin/abiword

I hope that I write in correct mailing list. Sorry if it is not.


What is your question?


Regards,



Antonio De Maglio



--

Dott. Antonio De Maglio

Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" (ISTI)

Italian National Research Council (CNR)

via G. Moruzzi, 1 - 56124 Pisa, Italy Area della Ricerca CNR di Pisa

Skype: antonio_demaglio



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



--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.

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



--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] download doc file with pop server

2014-04-17 Thread Arjen de Korte

Citeren Antonio De Maglio :


Hi,

I have as  mail server pmdf.

Users can connect to server with pop or imap protocol.

I send myself an e-mail  by  outlook with doc attachment.

In horde webmail If I connect to my account as imap I have  icons to
download doc file.

If I connect and  open mail sent to myself  as pop I have not the download
icons.



I notes that I have:

nomefile.doc (1 KB)

the size of this file is not 1Kb.



If I connect as Imap I have the correct size(and download icons).



I have:



Horde (horde)
  5.1.6

Posta (imp) 
6.1.7





In horde/config/mime_drivers.php I have:

'msword' => array(

// Disabled by default

'disable' => false,

 'handles' => array(

'application/msword',

'application/vnd.ms-word'

),

'icons' => array(

'default' => 'msword.png'

),



// REQUIRED: Location of the AbiWord binary

'location' => '/usr/bin/abiword'

),



And I have installed abiword and it's in /usr/bin/abiword

I hope that I write in correct mailing list. Sorry if it is not.


What is your question?


Regards,



Antonio De Maglio



--

Dott. Antonio De Maglio

Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" (ISTI)

Italian National Research Council (CNR)

via G. Moruzzi, 1 - 56124 Pisa, Italy Area della Ricerca CNR di Pisa

Skype: antonio_demaglio



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



--
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.


smime.p7s
Description: S/MIME Signature
-- 
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 Arjen de Korte

Citeren ANANT S ATHAVALE :

Yes. I want to take print of my own sent mails having addresses in  
Bcc.  Please confirm, the lines which I am trying to comment will  
get me?  I don't want to unnecessarily meddle with code on a  
production system.  So, just wanted confirmation by experts.


If I understand correctly from previous messages, you have a userbase  
of several hundred users. In that case, setup a system dedicated for  
testing purposes and do your testing there. I have learned the hard  
way recently that going live without testing new stuff first in *my*  
environment is a very bad idea. It was no fun having to explain why  
ActiveSync was broken for several hours.


Your users will thank you for trying out new releases *before* rolling  
them out in production. Or at the very least, won't chew you out  
(which is almost as good for a mailserver administrator).


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Small issue after upgrade to HGWE 5.1.4

2014-03-17 Thread Arjen de Korte

Citeren Jan Schneider :


Zitat von "Jens-U. Mozdzen" :


Hi *,

Zitat von Arjen de Korte 

Confirmed. When caching is enabled in IMP, you'll need to truncate the
horde_imap_client_(data|message|metadata) tables to reload the
messages from the IMAP server.


shouldn't "horde-clear-cache" take care of this? If it's agreed  
upon, I'll open an according enhancement request.


Regards,
Jens


No, because horde-clear-cache clears the cache configured in Horde.  
IMP has a separate configuration for message caching, which may be  
using Horde_Cache, but doesn't necessarily have to do so (and it is  
actually recommended to not use it).


Is there a way to make IMP refresh the data from the IMAP server?  
Other than just bluntly truncating the tables?


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Small issue after upgrade to HGWE 5.1.4

2014-03-16 Thread Arjen de Korte

Citeren Michael M Slusarz :


Quoting Michael M Slusarz :


Quoting Arjen de Korte :


Citeren Michael M Slusarz :


Quoting Arjen de Korte :


Citeren ANANT S ATHAVALE :


Dear List,

I just upgraded to HGWE 5.1.4.

This is my immediate observation and is repeatable in case of a  
mail received from Gmail.


I am sending a mail from my gmail account to an account which  
used HGWE 5.1.4.  If the subject is blank, the IMP displays  
Invalid Address for 'From' and 'Undisclosed Recipients' for  
'To'.  This did not happen for mail sent using Yahoo account.


Can anybody check and confirm this behaviour?


Just recently I received a message which was similarly  
malformed. When looking at the headers, the only thing that  
stood out is an odd looking recipient field:


=?iso-8859-1?Q?Gr=E9_Eveleens?= ,


That's a MIME encoded header.  Nothing wrong there.


That leaves the empty Subject: header, like others also posted in  
this thread. I looked through my whole mail archive and  
lo-and-behold, all messages with an empty Subject: header show  
this behavior.


Yes.  It appears that a recent fix for string parsing in  
Horde_Imap_Client broke parsing of empty (non-NIL) strings in the  
ENVELOPE response.


Fixed in Horde_Imap_Client 2.19.1


Confirmed. When caching is enabled in IMP, you'll need to truncate the  
horde_imap_client_(data|message|metadata) tables to reload the  
messages from the IMAP server.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Small issue after upgrade to HGWE 5.1.4

2014-03-16 Thread Arjen de Korte

Citeren Michael M Slusarz :


Quoting Arjen de Korte :


Citeren ANANT S ATHAVALE :


Dear List,

I just upgraded to HGWE 5.1.4.

This is my immediate observation and is repeatable in case of a  
mail received from Gmail.


I am sending a mail from my gmail account to an account which used  
HGWE 5.1.4.  If the subject is blank, the IMP displays Invalid  
Address for 'From' and 'Undisclosed Recipients' for 'To'.  This  
did not happen for mail sent using Yahoo account.


Can anybody check and confirm this behaviour?


Just recently I received a message which was similarly malformed.  
When looking at the headers, the only thing that stood out is an  
odd looking recipient field:


  =?iso-8859-1?Q?Gr=E9_Eveleens?= ,


That's a MIME encoded header.  Nothing wrong there.


That leaves the empty Subject: header, like others also posted in this  
thread. I looked through my whole mail archive and lo-and-behold, all  
messages with an empty Subject: header show this behavior.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Small issue after upgrade to HGWE 5.1.4

2014-03-16 Thread Arjen de Korte

Citeren ANANT S ATHAVALE :


Dear List,

I just upgraded to HGWE 5.1.4.

This is my immediate observation and is repeatable in case of a mail  
received from Gmail.


I am sending a mail from my gmail account to an account which used  
HGWE 5.1.4.  If the subject is blank, the IMP displays Invalid  
Address for 'From' and 'Undisclosed Recipients' for 'To'.  This did  
not happen for mail sent using Yahoo account.


Can anybody check and confirm this behaviour?


Just recently I received a message which was similarly malformed. When  
looking at the headers, the only thing that stood out is an odd  
looking recipient field:


   =?iso-8859-1?Q?Gr=E9_Eveleens?= ,

According to the headers, it looks like the message originated from  
Microsoft Office Outlook 11 and was scanned through Cloudmark  
authority. I guess it may have to do something with encoding of the  
headers (the sender has a poor track record for sending non-standards  
compliant messages).


If a developer wants to take a stab at it, I can forward the  
(unaltered) message (just let me know).


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] "Integrity constraint violation" messages when moving emails

2014-03-14 Thread Arjen de Korte

Citeren "Jens-U. Mozdzen" :


Hi *,

I have dug deeper into this problem, as it seems to affect several  
areas of operation. Looking at the list of tables, I noticed that  
there's "horde_imap_client_message" with nearly 36000 entries - 13  
of which have a "messageid" of zero:


--- cut here ---
mysql> select count(*) from horde_imap_client_message where messageid=0;
+--+
| count(*) |
+--+
|   13 |
+--+
1 row in set (0.01 sec)

mysql> select count(*) from horde_imap_client_message;
+--+
| count(*) |
+--+
|35804 |
+--+
1 row in set (0.02 sec)

mysql>
--- cut here ---

Might it be that not handling of new horde_imap_client_data entries  
is the root cause, but those 13 entries above? How would I proceed  
to clean up the entries (with messageid==0) in  
horde_imap_client_message without disturbing data integrity?


I saw this too a couple of days ago. Since these tables contain only  
cached information from the IMAP server, I just DROPped the tables and  
created new ones. After that, the error message was gone.


Best regards, Arjen


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Lots of Warnings in horde.log

2014-01-22 Thread Arjen de Korte

Citeren Karsten Schlimme :


Hi everybody!

I just finished my first Horde (webmail edition) install on Ubuntu  
12.04. After I had some problems with changing the language (I had  
to add my wanted language and do a "|dpkg-reconfigure locales") and  
with ActiveSync (I had to manually choose every folder for syncing  
at the client), my only problem are lots of warnings in the  
horde.log. After 15 minutes there are ~2000 new warnings, most of  
them look like this:


2014-01-21T17:56:27+00:00 WARN: HORDE [imp] PHP ERROR: array_map():  
Argument #2 should be an array [pid 3581 on line 706 of  
"/usr/share/php/Horde/Imap/Client/Base.php"]


..only the pid changes. Every 8th of those warnings is followed by:

2014-01-21T18:25:53+00:00 WARN: HORDE [imp] PHP ERROR:  
array_filter() expects parameter 1 to be array, null given [pid 6659  
on line 719 of "/usr/share/php/Horde/Imap/Client/Base.php"]
2014-01-21T18:25:53+00:00 WARN: HORDE [imp] PHP ERROR: array_diff():  
Argument #1 is not an array [pid 6659 on line 719 of  
"/usr/share/php/Horde/Imap/Client/Base.php"]


I'm using Horde 5.1.5||and PHP 5.3.10-1ubuntu3.9, loglevel is INFO,  
let me know if you need more infos. :)


On a production server, you'll probably only want to see log messages  
at level ERR or higher. Unless you're a developer, the lower levels  
are not likely to log anything you need to know.



Best regards,

Karsten

PS: In Administration > Configuration, only 9 modules are "ready"  
and have symbol in front, is that normal? I'm asking because eg.  
"Horde_ActiveSync" has no "is ready" but is in use.


Link zu screenshot of module page in horde:  
https://schlimme.net/horde_modules.png


Looks fine.


smime.p7s
Description: S/MIME Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] scanning for virus after attaching - performance penalty

2013-10-25 Thread Arjen de Korte

Citeren ANANT S ATHAVALE :


Dear List,

Is anybody using this feature?


Yes.


Is there a performance penalty?


Of course, scanning takes CPU cycles. If this is noticeable, depends  
on the load of the system. Typically, outbound mail is only a small  
fraction of inbound messages here, so treating outbound messages the  
same as inbound (scanning for virusses and spam) doesn't take a  
noticeable extra amount of resources. But this may be different on  
your system. It is impossible to tell without looking at the traffic  
of your system. Why don't you just try it out?


pgpn1jhk5EPS1.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

[imp] Refresh of 'Virtual Inbox'

2013-10-02 Thread Arjen de Korte
When in a mail folder, the contents are refreshed automatically, so  
new mails will be shown without user intervention. When in the Virtual  
Inbox, the contents are only refreshed when the refresh button near  
the right edge is pressed. Is it possible to refresh it automatically,  
like ordinary mail folders?


It is quite confusing that the refresh button that refreshes the  
message list in all other folders, doesn't work in the Virtual Inbox.


pgpNmgDxlj5Jp.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Message has attachments icon not seen.

2013-09-03 Thread Arjen de Korte

Citeren ANANT S ATHAVALE :


Using HGWE 5.1.1 dynamic mode.  I don't see the icon 'clip' which
indicates that the mail has attachments, even when the mail has
attachments.  Whether I have missed anything in configuring?


That's an advanced preference in the 'Prefereces for Mail' in the tab
'Mailbox Display'. It can be quite a performance hog, so it is off by
default.


pgpvrLGnoGThn.pgp
Description: PGP Digital Signature
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Not possible to create PGP keys

2013-08-18 Thread Arjen de Korte

Citeren aglandorf :


Dear all,

currently i try to switch to HGWE due to the fact that PGP can be used
within a webbrowser.
Also a nice feature is to have the option to generate the PGP keys directly
on the server.

Currently i tried to generate PGP keys 'online' with a lenght of 2048, but
the creation process seems not to be finished at all.
To check if it maybe browser related i tried it with IE and latest FF.

Switching to 1024 seems to solve the issue, but i would prefer 2048 or 4096.

Due to the fact that i have less experience with debugging i would really
appreciate your help.


Generating PGP keys requires quite a bit of entropy. If generating a  
1024 bit key works, but 2048 bit or higher doesn't, it could be there  
is not enough entropy to finish the process in time.


pgpcKzMsDPKcv.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] blacklist / whitelist buttons are not hidden while disabled

2013-07-09 Thread Arjen de Korte

Citeren Arjen de Korte :


Citeren Nethub Online :


Hi all,

I disabled the blacklist in config/registry.local.php

$this->applications['ingo']['provides'] = array('filter',
'mail/applyFilters', 'mail/canApplyFilters', 'mail/showFilters');

and in ingo/config/prefs.local.php
$_prefs['blacklist']['Locked'] = true;
$_prefs['whitelist']['Locked'] = true;

However the blacklist / whitelist buttons are still shown, is there anything
I missed?


Capitalization? 'Lower' != 'lower'


That should have read 'Locked' != 'locked'.


http://photo.yeah.hk/albums/userpics/10012/imp_blacklist_whitelist.jpg

Nethub Online Limited
http://www.nethub.com.hk





pgpklJm0UuxGJ.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] blacklist / whitelist buttons are not hidden while disabled

2013-07-09 Thread Arjen de Korte

Citeren Nethub Online :


Hi all,

I disabled the blacklist in config/registry.local.php

$this->applications['ingo']['provides'] = array('filter',
'mail/applyFilters', 'mail/canApplyFilters', 'mail/showFilters');

and in ingo/config/prefs.local.php
$_prefs['blacklist']['Locked'] = true;
$_prefs['whitelist']['Locked'] = true;

However the blacklist / whitelist buttons are still shown, is there anything
I missed?


Capitalization? 'Lower' != 'lower'


http://photo.yeah.hk/albums/userpics/10012/imp_blacklist_whitelist.jpg

Nethub Online Limited
http://www.nethub.com.hk




pgpQcYS0d70IE.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

[imp] Sorting of messages in Virtual Inbox

2013-06-19 Thread Arjen de Korte
Messages in the Virtual Inbox don't seem to honor the sort-by-date  
arrow indication. If memory serves, this used to work in earlier  
versions (but I'm not 100% sure it did). Pressing the arrow flips it,  
but the sort order of the messages in the mailbox summary remains the  
same. Is this a bug?


pgpcsSvEcZ4GZ.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Problem sending mails when big attachments should be automatically linked

2013-06-14 Thread Arjen de Korte

Citeren Benderiukas :


If it's already fixed in 6.1.2 how it's possible to upgrade ? Because the
latest package when I checking for upgrades I see only 6.1.1 .


You either wait a couple of days until a new version is released, or  
run the version available from Git. Choose your poison... :-)


pgpuonCAlgmPU.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Which "trash" should we use?

2013-06-13 Thread Arjen de Korte

Citeren maxcsa :


Hi,Thanks for your answer.If I get it right, I must use a "real" trash
folder if my users plan to use ActiveSync.


Yes.


Since our user currently use the
"mark as deleted" flag, do you know any way to "migrate" to the "move to
trash folder" technique? I would have to move message with deleted flag to
the trash folder for all my users. Do you know if such a script already
exist?


If you happen to use Dovecot as your IMAP server, have a look at the  
'doveadm' tool. At the same time as moving messages to the Trash  
folder, you may want to clear the Deleted flag.



Or could I create a login hook to fix that?


That would be another option.


Also, I'm curious to know
the difference between "mark as deleted" and "move to virtual trash folder"
(which were #2 and #3 in my original message).Thanks in advance!Maxime


In Horde, the only difference is where and how deleted messages are  
shown. On your IMAP server, there is no difference (and hence other  
IMAP clients won't notice any difference between the two).


pgpRBCDf9SA0y.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Which "trash" should we use?

2013-06-12 Thread Arjen de Korte

Citeren Maxime Pelletier :


Hi all,

  In the process of configuring our server, we had to think about  
how to handle deleted messages. Basically, we found 4 ways:


  1. Move deleted messages to a given IMAP folder (usually called "trash")

  2. Mark messages as deleted but leave them in their folder

  3. Move deleted messages to "Virtual trash"

  4. Delete message permenantly

  Obviously, #4 is rarely a good option.

  However, I searched the web and I couldn't find any advice to know  
which one I should use as the default setting, or even which one I  
should force/lock. The most interesting page I found was  
http://deflexion.com/2006/05/imap-way-of-deleting-message .


  I understand what is the difference between #1 and #2, but I don't  
know which one is the best alternative.


  Also, could you explain me the difference between #2 and #3? To  
configure Horde as per #2, I don't check the option saying to move  
deleted messages to a given folder. And for #3, I check the same  
option, but instead of selecting an IMAP folder(which would then be  
#1), I select "Virtual trash" from the drop down list. What I like  
about #3 is that it adds a shortcut to virtual trash in the top  
section of the left sidebar, in the same section of Inbox and Sent.


  One of my biggest concern with that setting is the compatibility  
with other mail clients (phones, tablets, Thunderbird, other  
webmail, ...). I prefer to configure my server the same way most of  
them are configured.


  Thanks in advance if anyone can help me out with that


If you want to use ActiveSync, probably the only option is to use #1,  
since that's what is expected in the protocol. If not, it's a matter  
of taste and mostly depends on which clients your users are using  
right now. If you happen to use strict IMAP quota's, #2 & #3 might be  
preferred (since it won't require 'extra' space for deleted messages).


pgpVipRffSl3W.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] All my PGP signed messages marked as BAD

2013-06-10 Thread Arjen de Korte

Citeren Simon Wilson :

Thanks Arjen - to clarify, if I go to 5.4 would I need to reinstall  
all pear packages as well? That could be painful. Or just pecl?


Only the PECL packages. These are compiled once and are then loaded as  
(compiled) extensions by the webserver. The regular PEAR packages are  
PHP files, so these will be compiled on the fly.





pgpM0C2Tars6Y.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] All my PGP signed messages marked as BAD

2013-06-10 Thread Arjen de Korte

Citeren Simon Wilson :

Using the IUS repo I can fairly simply upgrade to 5.3.25, or to  
5.4.15, and still be within a repo-based RPM environment. Both  
versions were released May 2013.


Question though, what effect does that have on all the pear and pecl  
modules that are installed? I imagine if I stick within php 5.3  
probably not much?


Indeed. They will all use the same API, so as long as you stick with  
PHP 5.3 any PECL module compiled can be used.



But what about if I go to php 5.4?


You'll need to compile the extensions again after upgrading to 5.4,  
since the API will have changed (which will also be reported if you  
attempt to use an extension compiled for an earlier version).


   pecl install -f   ... 

After restarting the webserver, you should be good to go.

I don't want to break things just because I don't understand the  
relationship between installed pear and pecl modules, with the  
system's version of PHP.


Remember to also upgrade the -devel packages and remove the old ones.


pgp7v7queqPHY.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] All my PGP signed messages marked as BAD

2013-06-06 Thread Arjen de Korte

Citeren Simon Wilson :


Am I doing something wrong, or has something broken with pgp??


You're messages show up with good signatures here, so the messages  
don't seem to be the problem. Could it be you have  
$conf[gnupg][timeout] set to an unrealisticly small value? Mine is 10  
seconds now, which usually seems to do the job. But if you're using a  
slow keyserver ($conf[gnupg][keyserver]), you may need even longer.


pgpQL3oF3lIwF.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] All my PGP signed messages marked as BAD

2013-06-06 Thread Arjen de Korte

Citeren Simon Wilson :


Am I doing something wrong, or has something broken with pgp??


Pretty much all PGP signed messages I receive on this list show Good  
signatures, so I suspect it is something local in your installation.




pgpXAIFimyUKf.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Virtual inbox stays empty

2013-06-05 Thread Arjen de Korte

Citeren Jan Schneider :

It turns out that (at least here) the Virtual Inbox is only  
refreshed when logging in (which I also did, so that the  
preferences would be refreshed). When I read a message from the  
Virtual Inbox and refresh it, nothing happens. Before upgrading  
to IMP-6.1.0, this used make the message disappear from the  
Virtual Inbox.


Confirmed


Is this worth writing a bug report?


Of course.


http://bugs.horde.org/ticket/12304


pgp3eYMpAAHVc.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Virtual inbox stays empty

2013-06-05 Thread Arjen de Korte

Citeren Jan Schneider :


Zitat von Arjen de Korte :


Citeren Arjen de Korte :


Citeren Arjen de Korte :

Since upgrading to Horde-5.1.0 my Virtual inbox stays empty, even  
when the Mailbox Summary shows there are new messages. I use IMAP  
subscriptions and confirmed that the mailbox where the messages  
are sorted into is checked for new mail. What am I missing here?


Weird. I deactivated the Virtual Inbox in the IMP -> Saved  
searches preference (saved it) and activated it again (saved it  
once more). Now it works again.


No, it doesn't.

It turns out that (at least here) the Virtual Inbox is only  
refreshed when logging in (which I also did, so that the  
preferences would be refreshed). When I read a message from the  
Virtual Inbox and refresh it, nothing happens. Before upgrading to  
IMP-6.1.0, this used make the message disappear from the Virtual  
Inbox.


Confirmed


Is this worth writing a bug report?



pgpPUZOTxxNmm.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Virtual inbox stays empty

2013-06-05 Thread Arjen de Korte

Citeren Arjen de Korte :


Citeren Arjen de Korte :

Since upgrading to Horde-5.1.0 my Virtual inbox stays empty, even  
when the Mailbox Summary shows there are new messages. I use IMAP  
subscriptions and confirmed that the mailbox where the messages are  
sorted into is checked for new mail. What am I missing here?


Weird. I deactivated the Virtual Inbox in the IMP -> Saved searches  
preference (saved it) and activated it again (saved it once more).  
Now it works again.


No, it doesn't.

It turns out that (at least here) the Virtual Inbox is only refreshed  
when logging in (which I also did, so that the preferences would be  
refreshed). When I read a message from the Virtual Inbox and refresh  
it, nothing happens. Before upgrading to IMP-6.1.0, this used make the  
message disappear from the Virtual Inbox.


pgpGQYFFyHkMU.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Virtual inbox stays empty

2013-06-05 Thread Arjen de Korte

Citeren Arjen de Korte :

Since upgrading to Horde-5.1.0 my Virtual inbox stays empty, even  
when the Mailbox Summary shows there are new messages. I use IMAP  
subscriptions and confirmed that the mailbox where the messages are  
sorted into is checked for new mail. What am I missing here?


Weird. I deactivated the Virtual Inbox in the IMP -> Saved searches  
preference (saved it) and activated it again (saved it once more). Now  
it works again.




pgpwQ8_GWKK3R.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

[imp] Virtual inbox stays empty

2013-06-05 Thread Arjen de Korte
Since upgrading to Horde-5.1.0 my Virtual inbox stays empty, even when  
the Mailbox Summary shows there are new messages. I use IMAP  
subscriptions and confirmed that the mailbox where the messages are  
sorted into is checked for new mail. What am I missing here?


pgpK7_mwLwFqD.pgp
Description: PGP digitale ondertekening
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

  1   2   >