Red Hat Bugzilla – Bug 40065
cyradm does not accept option -file
Last modified: 2008-05-01 11:38:00 EDT
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.
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
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")'
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.