cyradm | Duplicate specification

ellie timoney ellie at fastmail.com
Fri Apr 26 04:11:05 EDT 2019


Hi Ismaël,

Which version of perl are you running? (`perl --version` will tell you) A fairly newish one, I guess?

The cyradm tools were written using a quite old version of perl, which didn't produce a lot of warnings. I expect it's working fine, but your newer perl version is producing warnings that the older versions did not.

It would be good to fix up a lot of this cruft -- do you want to raise an issue on https://github.com/cyrusimap/cyrus-imapd/issues and include the details from your email and your perl version? I can't promise it'll get looked at quickly, but at least it won't get forgotten. :)

Cheers,

ellie

On Thu, Apr 25, 2019, at 5:49 AM, Ismaël Tanguy wrote:
> Hello,

> I've got this error after connecting to cyrus with cyradm (as root or cyrus user):

> # cyradm -u cyrus localhost
Variable "$cyrref" will not stay shared at /usr/lib64/perl5/vendor_perl/Cyrus/IMAP/Shell.pm line 724.
Variable "$lfh" will not stay shared at /usr/lib64/perl5/vendor_perl/Cyrus/IMAP/Shell.pm line 726.
Duplicate specification "server|s=s" for option "s"

> 
> I can make operation on mailbox (lam, sam, xfer, ..), everything seems to work fine but I'm not confident to put that in production..

> Cyrus version is 3.08 installed with rpm on Centos7.

> I've build the rpms, so maybe I've made mistake at this step.

> cyrus was build like that :

> # cyr_buildinfo
{
  "component": {
    "event_notification": true,
    "gssapi": true,
    "autocreate": true,
    "idled": true,
    "httpd": true,
    "kerberos_v4": false,
    "murder": true,
    "nntpd": true,
    "replication": true,
    "sieve": true,
    "calalarmd": true,
    "objectstore": false,
    "backup": true
  },
  "dependency": {
    "ldap": true,
    "openssl": true,
    "pcre": true,
    "clamav": true
  },
  "database": {
    "mysql": false,
    "pgsql": false,
    "sqlite": true,
    "lmdb": false
  },
  "search": {
    "squat": true,
    "sphinx": false,
    "xapian": false,
    "xapian_flavor": "none"
  },
  "hardware": {
    "sse42": true
  }
}
> Thank you

> -------------------

> Ismaël TANGUY

> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20190426/a58e5ef7/attachment.html>


More information about the Info-cyrus mailing list