> > Try this:
> >
> > cyradm --user admin --auth plain localhost
> >
> > It seems that auth method is not set by default and
> crammd5 is tried. This
> > seems to work.
> >
>
> G'day Victor, I noticed yesterday the we seemed to be
> travelling along the same road at the same time, but
> driving different versions of UNIX.
>
> I am using the wonderful postfix MTA so sasldb is thus:-
> ls -l /etc/sasldb
> -rw-r-----    1 cyrus    postfix     12288 Dec  3
> 10:32 /etc/sasldb
>
> Maybe I should chgrp it to mail & add group mail to
> user postfix?

I am not sure that is important. What you have now seems fine.

> cyradm --user admin plain localhost
> Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC
> contains: /usr/lib/perl5/5.6.1/i386-linux
> /usr/lib/perl5/5.6.1
> /usr/lib/perl5/site_perl/5.6.1/i386-linux
> /usr/lib/perl5/site_perl/5.6.1
> /usr/lib/perl5/site_perl .).
> BEGIN failed--compilation aborted.
>
> find / -name Shell.pm
> /usr/lib/perl5/5.6.1/Shell.pm
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI/Shell.pm
> /usr/local/lib/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm
> /usr/local/cyrus-imapd-2.0.16/perl/imap/IMAP/Shell.pm
> /usr/local/cyrus-imapd-2.0.16/perl/imap/blib/lib/Cyrus/IMAP/Shell.pm
>
> Hmmm....
>
> Is there such a thing as a perl path that needs to be
> set????

Yes, there is such a thing as perl path. Edit the perl script cyradm and
where it exec's perl, add "-I/path/to/here". That's what I did because I
installed into /usr/cyrus.

Add
-I/usr/local/lib/site_perl/5.6.1/i386-linux

there're two "exec perl" in cyradm, just add that as first arg to both.

> I have installed postfix, openssl, sasl & cyrus from
> source in /usr/local.


Reply via email to