Re: shell script for cyrus

From: Abu (no email)
Date: Thu Nov 01 2001 - 23:46:15 EST


I suggest you to use IMAP::Admin, hard to learn but its tool is powerfull.
http://search.cpan.org you can find it.

cmiw,
cyrus 1.xx
shell> cyradm -u cyrus -mech login localhost
cyrus 2.xx
shell> cyradm -u cyrus -auth login localhost

if you set user cyrus as admin at /etc/imapd.conf.

~yusril~

Lance Hoffmeyer()@Thu, Nov 01, 2001 at 10:05:23PM -0600:
> I am trying to setup a shell script that will rename a folder but am having some problems.
> Maybe someone can help.
>
> #!/usr/bin/sh
> cyradm connect testing localhost
> testing renm test test.yes
> testing cm test
>
> but I keep getting
> application-specific initializastion failed: wront # args:
> should be "cyradm connect connection [hostname post]"
>
> but if I try
>
> #!/usr/bin/sh
> cyradm connect testing localhost 143
> testing renm test test.yes
> testing cm test
>
> same result.
>
>
> Any suggestions?
>
> Lance

-- 
   __   
  (oo)  Open Solution Provider visit http://www.trabas.com
 / \/ \ GnuPg public information         pub 1024/EBD26280 
 `V__V' A9A9 8F57 9E9D 14E3 05B4  3EDB C241 A313 EBD2 6280
Don't relax!  It's only your tension that's holding you together.









Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD