CAPABILITY response code.

2008-10-24 Thread Ian Eiloart

Hi,

In the changelist for cyrus imap 2.3.13, is this:

Added support for IMAP [CAPABILITY] response code to client-side of Murder 
proxies

I have little clue what that means, but I'm hoping it means I can change my 
CAPABILITY response string. Does it?

My underlying problem here is that my front end proxies are issuing 
referrals causing AL/PINE to attempt to directly reach my backend server 
(when Fcc copying a message to a Sent mailbox). My firewall causes this to 
fail.

In general, though, there may be other reasons for suppressing advertising 
of capabilities.
-- 
Ian Eiloart
IT Services, University of Sussex
x3148

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Replica message dates

2008-10-24 Thread Shelley Waltz
One user on my cyrus replica has the dates wrong on the message files.
I moved messages from one imap server to a new imap server and the
message dates were preserved just fine.  The replica, however, has message
dates on all messages as the date/time the replication occurred. 
Subsequent messages to the master and replica have the correct date/time.

cyrus-imapd-2.3.7-2.el5

Why is this and is there a way to correct this?

S.Waltz

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrus.header and php problem

2008-10-24 Thread Emerson Virti
Hello,
My company have almost ten thousand mailboxes on Cyrus Imap.
We use Thunderbird for IMAP client and PHP for webmail.
We have a problem in a very few mailboxes. This boxes don't have any visible
problem with Thunderbird access but in PHP, the (webmail) access provide a
segmentation failed.
If I modify the cyrus.header file the segmentation failed problem is
resolved.

This is a problematic cyrus.header:
¡^B8b^MCyrus mailbox header
The best thing about this system was that it had lots of goals.
--Jim Morris on Andrew
user.02401695bc4b7c0488731c8
0240169 lrswipcda$Forwarded $label1 $label4 $label2 $label3
$label5 $MDNSent NonJunk acade acgap alfredo andre_porto carneiro chevalier
cida-bruno cida_coutinho claudia conceiaoca4w-o daniela elaine erlan
fazer_reuniaom-o fernanda godinho helenac inah joao_almeida katia lm luis
mara marcio_rfb marco maria_lucia_-_acbsa nelicio pc pendente plinio pp
resolvido rwagner tema vinicius-oracle
0240169 lrswipcda

If I modify cyrus.header, the segmentation failed is resolved, but this
generate a Thunderbird labels messages problem.

Modified cyrus.header:
¡^B8b^MCyrus mailbox header
The best thing about this system was that it had lots of goals.
--Jim Morris on Andrew
user.02401695bc4b7c0488731c8
0240169 lrswipcda$Forwarded $label1 $label4 $label2 $label3
$label5 $MDNSent NonJunk
0240169 lrswipcda

Thunderbird version: 2.0.0.14;
PHP version (Debian Etch): 5.2.0-8+etch7
Cyrus Impad version: cyrus-imapd-2.2.12-8.1.RHEL4

I use this simple php script for tests:
?php
$mbox = imap_open({myserver:143/notls}INBOX, 0240169, password) or
die(can't connect:  . imap_last_error());
  $list = imap_list($mbox, {myserver:143}INBOX, *);
 if (is_array($list)) {
foreach ($list as $val) {
   echo imap_utf7_decode($val) . \n;
  }
  } else {
  echo imap_list failed:  . imap_last_error() . \n;
  }
  imap_close($mbox);
?
If the cyrus.header file is the problematic one, the result of this script
is a list os subfolders and a segmentation failed.

Where is the problem?

Thanks.

-- 
Émerson Virti
[EMAIL PROTECTED]

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: CAPABILITY response code.

2008-10-24 Thread Andrew Morgan
On Fri, 24 Oct 2008, Ian Eiloart wrote:

 Hi,

 In the changelist for cyrus imap 2.3.13, is this:

 Added support for IMAP [CAPABILITY] response code to client-side of Murder
 proxies

 I have little clue what that means, but I'm hoping it means I can change my
 CAPABILITY response string. Does it?

 My underlying problem here is that my front end proxies are issuing
 referrals causing AL/PINE to attempt to directly reach my backend server
 (when Fcc copying a message to a Sent mailbox). My firewall causes this to
 fail.

Use the following option, which was added in 2.3.13:

proxyd_disable_mailbox_referrals: 0
 Set to true to disable the use of mailbox-referrals on the proxy
 servers.

This fixes the exact problem you describe with Alpine/Pine.  Set it to 1 
on your frontends.

Andy

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: CAPABILITY response code.

2008-10-24 Thread Wesley Craig
On 24 Oct 2008, at 13:09, Andrew Morgan wrote:
 Use the following option, which was added in 2.3.13:

 proxyd_disable_mailbox_referrals: 0
  Set to true to disable the use of mailbox-referrals on  
 the proxy
  servers.

 This fixes the exact problem you describe with Alpine/Pine.  Set it  
 to 1
 on your frontends.

(Change log says it was added to 2.3.12.)

You'll probably also want:

sieve_allowreferrals: 1
 If  enabled,  timsieved  will issue referrals to clients  
when the
 user’s scripts reside on a remote server (in a   
Murder).   Other-
 wise, timsieved will proxy traffic to the remote server.

set to 0.  Nice how they are backwards from each other, eh? :)

:wes

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus IMAPd 2.3.13 Released

2008-10-24 Thread Bron Gondwana
On Mon, Oct 20, 2008 at 09:02:38AM -0400, Ken Murchison wrote:
 I am pleased to announce the release of Cyrus IMAPd 2.3.13.  This
 release should be considered production quality.
 
 
 Noteworthy changes:
 
 * Added an experimental sql backend for cyrusdb.  Currently MySQL,
PostgreSQL, and SQLite are supported.
 * Added support for IMAP [CAPABILITY] response code to client-side
of Murder proxies.
 * Added support for ManageSieve auto-capability response after
STARTTLS and after AUTH with a SASL security layer.
 * Made MAXWORD and MAXQUOTED sizes configurable via imapd.conf
 * Rewrote cyrusdb_quotalegacy.c to use readir()
rather than glob.c.  This avoids a potential crash due to
conflicts between glibc and Heimdal implementations of glob().
 * Added support for fulldirhash to 'ctl_mboxlist -v'
 * Several skiplist transaction bugfixes.
 * cyr_expire no longer has a default of 0 (zero) for -X and -D.
These options must be used explicitly in order to have the desired
effect.
 * Added sieve_utf8fileinto option.
 * Added sieve_sasl_send_unsolicited_capability and
sieve_sasl_expect_unsolicited_capability options.
 * Several 32/64-bit compatibility fixes.

  * Changed the list of valid characters in mailbox names, which is
  interesting because it means that when you upgrade a master and
not the associated replica, and then someone creates a mailbox
with those characters and replication breaks.  Bah.

Bron ( at least the fix was easy! Just upgrade the replica )

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html