does anyone else use Horde/IMP that can share their servers.php setup? I am getting weird behavior with IMP not showing my INBOX and sub folders, etc. and i am not sure if its an IMP issue or Dovecot. It was giving me problems yesterday, then it cleared up, but now its acting up again. mail clients like Thunderbird work fine tho. I am seeing this in the logs a lot:
[Tue May 16 08:08:21 2006] [error] [client 67.133.211.52] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/horde/imp/lib/IMP.php on line 1197, referer: https://mikestammer.com/horde/services/portal/sidebar.php
Line 1197 looks like this:
foreach ($_SESSION['imp']['namespace'] as $key => $val) { if (!empty($key) && (strpos($mailbox, $key) === 0)) { $cache[$key][$mailbox] = $val; return $val; } }
Anyone have any tips or ideas?
On Tue, 2006-05-16 at 08:24 -0500, Eric wrote:
does anyone else use Horde/IMP that can share their servers.php setup? I
My servers.php looks like this:
$servers['_prompt'] = array( 'name' => _("Choose a mail server:") );
$servers['imap'] = array( 'name' => 'IMAP Server', 'server' => 'localhost', 'hordeauth' => false, 'protocol' => 'imap/notls', 'port' => 143, 'maildomain' => '', 'smtphost' => 'localhost', 'smtpport' => 25, 'realm' => '', 'preferred' => '', );
I also changed the default folders for sent/drafts/spam/etc. in another imp config file I do not remember right now.
I can also share my Ingo setup using the VFS FTP driver to be able to define sieve scripts from Horde if you are interested.
-- Luca Corti PGP Key ID 1F38C091 BOFH excuse of the moment: manager in the cable duct
Luca Corti wrote:
On Tue, 2006-05-16 at 08:24 -0500, Eric wrote:
does anyone else use Horde/IMP that can share their servers.php setup? I
My servers.php looks like this:
$servers['_prompt'] = array( 'name' => _("Choose a mail server:") );
$servers['imap'] = array( 'name' => 'IMAP Server', 'server' => 'localhost', 'hordeauth' => false, 'protocol' => 'imap/notls', 'port' => 143, 'maildomain' => '', 'smtphost' => 'localhost', 'smtpport' => 25, 'realm' => '', 'preferred' => '', );
I also changed the default folders for sent/drafts/spam/etc. in another imp config file I do not remember right now.
I can also share my Ingo setup using the VFS FTP driver to be able to define sieve scripts from Horde if you are interested
My VFS setup for Ingo seems to be working fine when i do not get all these PHP errors. here is my servers.php file:
$servers['imap'] = array( 'name' => 'IMAP Server', // 'server' => 'somedomain.com', 'server' => '127.0.0.1', 'hordeauth' => true, 'protocol' => 'imap/notls', 'port' => 143, 'maildomain' => 'somedomain.com', // 'smtphost' => 'somedomain.com', 'smtphost' => '127.0.0.1', 'smtpport' => 25, // 'realm' => '', // 'preferred' => '', );
its really similar to yours. since thunderbird works fine i think its a HORDE/IMP issue. i will kick it over to their mailing list to see what i can discover.
Thanks!
Eric wrote:
Luca Corti wrote:
On Tue, 2006-05-16 at 08:24 -0500, Eric wrote:
does anyone else use Horde/IMP that can share their servers.php setup? I
My servers.php looks like this:
reverting to ingo H3 (1.0.2) seems to have resolved these issues.
any takers on why that is?!
Eric wrote:
Eric wrote:
Luca Corti wrote:
On Tue, 2006-05-16 at 08:24 -0500, Eric wrote:
does anyone else use Horde/IMP that can share their servers.php setup? I
My servers.php looks like this:
reverting to ingo H3 (1.0.2) seems to have resolved these issues.
any takers on why that is?!
Try upping the debug to NOTICE, and see what you can see.
Hi,
One of the reasons I switched to dovecot was it's use of . as the IMAP namespace, allowing me to create folders at the same level as Inbox.
Unfortunately it seems that the sieve implementation in Dovecot LDA doesn't support filtering into anything other than Inbox or it's subfolders.
I had a look at the LDA code hoping I could alter it so it would support folders like .Archive as well as .Inbox but no luck.
Is there any way around this?
Does anybody use the Dovecot LDA to filter messages like the example above and can tell me what I'm doing wrong?
Alex
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Alex Pimperton wrote:
Hi,
One of the reasons I switched to dovecot was it's use of . as the IMAP namespace, allowing me to create folders at the same level as Inbox.
Unfortunately it seems that the sieve implementation in Dovecot LDA doesn't support filtering into anything other than Inbox or it's subfolders.
I had a look at the LDA code hoping I could alter it so it would support folders like .Archive as well as .Inbox but no luck.
Is there any way around this?
Does anybody use the Dovecot LDA to filter messages like the example above and can tell me what I'm doing wrong?
Alex
Hi Alex,
I didn't configure anything explicitly in dovecot.conf and I am able to create folders on the same level as inbox and filter mail with sieve ( I use a filter to move spam to a folder called Junk). I use the following in my global sieve script in order to move spam messages to junk for a specified account:
require ["reject", "fileinto", "comparator-i;ascii-numeric", "relational", "imapflags"];
if allof( header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-score"] ["6"], address :is "Delivered-To" "test@example.com" ) { fileinto "Junk"; stop; }
I'm using dovecot-beta8 and sieve cvs snapshot from 13may, with postfix 2.2.x with virtual users in a mysql database.
Hope this helps you
Mark
participants (5)
-
Alex Pimperton
-
Eric
-
Luca Corti
-
Mark Moses
-
Peter Fern