File: README

package info (click to toggle)
cyrus-imapd 3.6.1-4%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 80,688 kB
  • sloc: ansic: 255,928; perl: 97,730; javascript: 9,266; sh: 5,537; yacc: 2,651; cpp: 2,128; makefile: 2,099; lex: 660; xml: 621; python: 388; awk: 303; asm: 262
file content (33 lines) | stat: -rw-r--r-- 1,414 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This is a Perl interface to the Cyrus imclient library, and an administrative
library, and a replacement for the "cyradm" shell.  The imclient library is
used (instead of using existing IMAP modules) because it supports SASL, which
appears to be required for administrative connections to Cyrus 1.6.x.

To build:

        [export CYRUS_SRC=/path/to/cyrus-imapd-source-dir]
        perl Makefile.PL
        make
        make test       # or see below
        make install

"make test" is supposed to test the imclient (IMAP::Cyrus) and perform very
limited testing of Cyrus::IMAP::Admin.  Full testing cannot be done because
it requires a test account on the IMAP server and the tester to have an admin
credential.  (Unfortunately, SASL prompts for input via stdout and the test
harness eats stdout, so you can only run the tests by hand.  Sigh.)

For more complete testing, you may run it in interactive mode:

        perl -Iblib/arch -Iblib/lib -MIMAP::Cyrus::Shell \
                -e shell [-- --user adminname] [server]

cyradm.sh does this (and will be installed as "cyradm"), but it expects
IMAP::Cyrus to already be installed.

For more information, perldoc is your friend:

        perldoc Cyrus::IMAP             # imclient library
        perldoc Cyrus::IMAP::Admin      # administrative library
        perldoc Cyrus::IMAP::Shell      # cyradm shell
        man cyradm                      # the same