--On Thursday, March 11, 2004 02:05:45 PM -0500 Didi Rieder <[EMAIL PROTECTED]> wrote:

thanks for your answer, but unfortunately this didn't work out I still
get:

imclient_connect: unknown host "localhost" at
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Cyrus/IMAP/Admin.pm
line 71.

Hi, all

I found a solution for the cyradm problem (cyrus-imapd-2.2.3) under Solaris 9.
I just ported some code from imclient.c of cyrus-imapd-2.0.17 into the new imclient.c. See the attached patch.

Now cyradm seems to work.

        [EMAIL PROTECTED] root]# cyradm --user imap localhost
        IMAP Password:

        localhost.tu-graz.ac.at> lm
        user.test (\HasChildren)
        [.....]

So far so good.... but
I have very limited C-programming skill so I don't know if I might have introduced some problems by doing this.

As far as I see the only files in which the modified function "imclient_connect" is used are the following:

        perl/IMAP/IMAP.c line 349
        netnews/remotepurge.c line 718

I'm not very happy with my solution, because there must have bee a reason for the developers to change the old code from cyrus-2.0.17 to the newer one. But for now it was the only way for me to solve the cyradm issue.
I would appreciate it very much if a developer of cyrus could make a comment on that. Or even provide a solution which will also work and be present in future releases.

Thanks
      Didi

--
---------------------------------
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
---------------------------------

Attachment: imclient-sol9-v-2.0.17-port.c.patch
Description: Binary data


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to