Installsieve

2000-12-22 Thread William K. Hardeman

Howdy all,

I've been trying to get installsieve to compile and install since v2.0.7. 
In 2.0.8 and 2.0.9, it's Makefile is not even configured through the 
configure script. I modified the configure script to build the Makefile in 
order to try to use installsieve, but when I tried to compile, I got 
several errors and it bombed. I'm not a programmer, so I'm a bit lost.

Everything else is set up and working great, btw. I've been really happy 
with Cyrus as my imap server, but now I'd like to get support for 
installing sieve scripts without having to manually add the files to the 
directory structure.

The errors I get on compiling are as follows:

gcc -c -I. -I. -I./../lib -I./../acap -I/usr/local/db/include 
-I/usr/local/include  -I/usr/local/ssl/include -I/usr/lib/include 
-I/usr/lib/include -DHAVE_CONFIG_H -I. -I. -g -O2 \
installscript.c
installscript.c:76: conflicting types for `STAT_CONT'
isieve.h:57: previous declaration of `STAT_CONT'
installscript.c:77: conflicting types for `STAT_NO'
isieve.h:58: previous declaration of `STAT_NO'
installscript.c:79: conflicting types for `STAT_OK'
isieve.h:60: previous declaration of `STAT_OK'
installscript.c:79: redefinition of `imt_stat'
isieve.h:60: `imt_stat' previously declared here
installscript.c: In function `simple':
installscript.c:156: warning: assignment makes pointer from integer without 
a cast
installscript.c:157: warning: passing arg 1 of `fgets' discards `const' 
from pointer target type
installscript.c:159: warning: assignment of read-only location
installscript.c: At top level:
installscript.c:285: conflicting types for `init_sasl'
isieve.h:52: previous declaration of `init_sasl'
installscript.c:373: conflicting types for `auth_sasl'
isieve.h:62: previous declaration of `auth_sasl'
installscript.c:463: conflicting types for `init_net'
isieve.h:47: previous declaration of `init_net'
installscript.c:490: conflicting types for `read_capability'
isieve.h:54: previous declaration of `read_capability'
make: *** [installscript.o] Error 1

Does anyone have any insight as to what's wrong?

Thanks,
Will Hardeman
[EMAIL PROTECTED]






Migrating Cyrus across platforms

2000-12-22 Thread Dan Makovec

Hi all,

I was wondering how easy it is to migrate Cyrus folders from one platform to
another without having to copy all the folders via IMAP.

I currently have a FreeBSD system running Cyrus 2.0.7 hooked up to Sendmail
8.11.0 and running with Sieve, and it works very nicely.  Due to
circumstances beyond my control, the box is to be decomissioned and replaced
with a Linux server.  I'd like to set up a clean install of 2.0.9 on the
box, then move everything from the existing system onto the new one.  Could
somebody give me some tips as to how this can be done, or point out some
documentation I can read on it?

Is it as simple as tarring up /var/spool/imap and /usr/local/etc/imap and
dropping them onto the new server?

TIA!

Cheers,
D.


 smime.p7s


Re: Installsieve

2000-12-22 Thread Ken Murchison



William K. Hardeman wrote:
 
 Howdy all,
 
 I've been trying to get installsieve to compile and install since v2.0.7.
 In 2.0.8 and 2.0.9, it's Makefile is not even configured through the
 configure script. I modified the configure script to build the Makefile in
 order to try to use installsieve, but when I tried to compile, I got
 several errors and it bombed. I'm not a programmer, so I'm a bit lost.

The perl scripts in perl/sieve/scripts (especially sieveshell.pl) are
suppose to take over from installsieve in 2.0.  Installsieve hasn't been
touched since 1.6 and probably won't compile and/or run as written no
matter what you do (I'm gussing it's incompatible with timsieved in
2.0).

Ken
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp