[BUG REPORT] file Cyrus/IMAP/Admin.pm procedure mboxconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrzej Adam Filip <anfi@xxxxxxxx> writes:

> * I have been unable to set per mailbox expire times using "mboxconfig"
>   command via cyradm. It gives "mboxconfig: Permission denied"
> * "info" command issued via cyradm reported problerly expire times set
>   "a few upgrades ago"
> * SETANNOTATION issued directly in IMAP session (imptest) has been able
>   to set expire annotation (reported later by "info")
>
> I use cyrus-imapd-2.2.13-6 on debian/testing.
>
> Is it something specific to this debian package or this cyrus release?


I have traced down the problem to "double assigment" in perl module
Cyrus::IMAP::Admin,  procedure  mboxconfig 

/usr/lib/perl5/Cyrus/IMAP/Admin.pm
#v+
  40 # $Id: Admin.pm,v 1.48 2005/11/21 16:39:25 murch Exp $

 796   if(exists($values{$entry})) {
 797     $entry = $values{$entry};
 798   } else {
 799     $self->{error} = "Unknown parameter $entry" unless substr($entry,0,1) eq "/";
 800   }
 801
 802   $entry = $values{$entry};
#v-

Assigment in line 802 is a bug after assigment in line 797.

797: "expire" -> "/vendor/cmu/cyrus-imapd/expire"
802: "/vendor/cmu/cyrus-imapd/expire" -> undef
-- 
[pl2en: Andrew] Andrzej Adam Filip : anfi@xxxxxxxxxxxx : anfi@xxxxxxxx
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux