Bug 40065 - cyradm does not accept option -file
Summary: cyradm does not accept option -file
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: cyrus-imapd
Version: 7.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-10 11:46 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-16 16:50:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2001-05-10 11:46:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2smp i686; Nav)

Description of problem:
RH7.1 powertools contain a cyradm command. According to the man page and to
older versions of cyrus-imapd, this command supports a -file argument.
which can be used to execute tcl batch jobs on the server.
The cyradm command included in RH7.1 does not support this option.

How reproducible:
Always

Steps to Reproduce:
1. Create an even empty text file, as "/tmp/file.tcl"
2. Run: cyradm -file "/tmp/file.tcl"


Actual Results:  Unknown option: file
imclient_connect: unknown host "/tmp/file.tcl" at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Admin.pm line 62.

Expected Results:  read the commands stored in "/tmp/file.tcl" and execute
them.


Additional info:

Comment 1 Ivo Clarysse 2001-05-16 14:35:20 UTC
In the source tree, in cyradm/README, is stated: "We no longer support the TCL
version of Cyradm; this is just here for people who may need it for legacy purposes"

So it appears /usr/share/man/man1/cyradm.1.gz is outdated.  The cyradm included
in cyrus-imapd-2.0.x is just a wrapper around a Perl module, and the manpage for
this is /usr/share/man/man3/Cyrus::IMAP::Shell.3pm.gz).  

In the Cyrus::IMAP::Shell manpage, the following is suggested:

 perl -MCyrus::IMAP::Shell -e 'run("myscript")'



Comment 2 David Lawrence 2003-05-16 16:50:18 UTC
Closing as WONTFIX due to end of life of the Power Tools product line. Please
open a new bug report under the Red Hat Linux product if the component is still
included in the base Red Hat distribution.


Note You need to log in before you can comment on or make changes to this bug.