Re[2]: sieve authentication

2004-01-08 Thread Denis V. Suhanov
Hello Rob,

Thursday, January 8, 2004, 1:42:58 PM, you wrote:
>> Is  there  a way to disable plaintext passwords in imap but allow them
>> in  sieve  (since  I have it running locally). There is a bug in PHP's
>> Net_Sieve module that makes it hang whenever timsieved does not report
>> a PLAIN method (http://pear.php.net/bugs/bug.php?id=159).
RS> If you are running 2.2.x you can have a per-serive allowplaintext option.
You  mean,  by  using  a -C switch and a separate imapd.conf, only for
timsieved (that's what I've done)? I failed to find any sieve-specific
options in man imapd.conf


-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re: sieve authentication

2004-01-08 Thread Rob Siemborski
On Thu, 8 Jan 2004, Denis V. Suhanov wrote:

> Is  there  a way to disable plaintext passwords in imap but allow them
> in  sieve  (since  I have it running locally). There is a bug in PHP's
> Net_Sieve module that makes it hang whenever timsieved does not report
> a PLAIN method (http://pear.php.net/bugs/bug.php?id=159).

If you are running 2.2.x you can have a per-serive allowplaintext option.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



cyrus and toltec connector

2004-01-08 Thread Joe Hrbek
Just a quick question,  is anyone on the list using the toltec groupware
connector?  I'm thinking about purchasing it but would like to hear from
some current customers first.

Thanks.

-j



Re: imap migration (fwd)

2004-01-08 Thread Kendrick Vargas
Sorry about that... To all that mentioned "just copy the spool over", that 
isn't possible for me. I'm running 2.1.something with virtual domains 
support through an lmtp hack that let me have "[EMAIL PROTECTED]" as the mailbox 
name. So, I can't just bring it over. But thanks anyways :-)

Besides, my spool and most binaries are in /opt. No offense to Mr. Matter, 
but I don't trust any critical add-on package that I don't tend to compile 
myself ;-)
-peace

On Thu, 8 Jan 2004, Joe Hrbek wrote:

> There are a lot of fun ways to move imap stuff from cyrus to cyrus.  I do it
> all the time because I seem to be in a perpetual state of server
> upgrades/shuffles.  My boss likes to keep me busy I guess.  Anyway, moving
> from cyrus 2.1 to 2.2 is cake.  Sorry I didn't see your post earlier, I
> don't ususally read the cyrus archives unless I have a problem myself.  I'm
> just bored today so i'm answering emails.  I see you already had a few
> responses, but none that were as simple as mine, so here goes.
> 
> Unless you are moving from 1.x to 2.x, all you really need to do is copy the
> cyrus spool and the imap folder.  I use redhat (moving to gentoo though b/c
> of the termination of redhat support for 8/9).  Consequently, I use simon
> matter's RPM for cyrus imap, it's great.  Anyway, my spool is in
> /var/spool/imap, as it with most other setups.  My DBs are in /var/lib/imap,
> most people have this in /var/imap, so this may be the case for you.  So,
> when I say your lib directory, I mean /var/lib/imap (or /var/imap, wherever
> you have your mailboxes.db file).
> 
> If you use rsync, it's preinstalled on redhat, you just have to enable the
> xinet.d file, your about 5 min from having a completely migrated system.
> Just set rsync to copy, in archive mode, your spool and lib directory to
> your new computer.  Do a ctl_cyrusdb -r before you start up your new cyrus
> server, and you should be golden.  Everything will be preserved. :)  I tell
> rsync to use ssh to transfer the files, so I don't need to open any ports or
> anything like that, since I use ssh for pretty much everything I can.
> 
> Really there is no need for elaborate "migration" tools when you have things
> like rsync.  There are a lot of other ways to do this as well, but this is
> by far the easiest, especially if you don't know the ins and outs of cyrus
> and everythign that goes along with making it work.  This is of course
> dependent on having to identical spool setups and lib directories. :)
> 
> If you want more info, feel free to ask, this is just an fyi email since you
> already have this done.
> 
> Oh yeah, you might want to stop cyrus before you rsync it.
> 
> -j
> 
> 

-- 
Let he who is without clue kiss my ass




Re: imap migration tools

2004-01-08 Thread Paul Boven
Hi Kendrick, list,

Kendrick Vargas wrote:

Basically I want to do a copy from IMAP to IMAP, both servers being cyrus 
- one version 2.1 and the other 2.2. From the searches I ran it seems that 
the general concensus is to use imapcp, however it's homepage seems to 
think it's experimental software and it hasn't been updated since august. 
I don't mind unsupported, but experimental kinda frightens me :-)
I would like to recommend imapsync, which lives at
http://www.linux-france.org/prj/imapsync/dist/
It works great for fully automated mailbox transfers. It creates folders 
and copies subscriptions as needed, then drags all the mail across that 
isn't on the remote server yet. I've been doing this between Cyrus 
servers and from UW-Imap to Cyrus, with mailboxes up to 500MB in size. 
Imapsync on a SunBlade 2000 (1GHz) was able to fully saturate a 512kb/s 
DSL line. Imapsync is also very actively maintained.

Regards, Paul Boven.


RE: Problems with lmtp delivery on 2.2.2-BETA

2004-01-08 Thread Matthew Hodgson
Ken Murchison wrote:
 
> One thing you missed in your patch was the downcasing of the 
> domain for 
> something like [EMAIL PROTECTED]

Hm, I didn't know whether forcedowncase was actually meant to affect the
domain or not.  Moreover, the domain seemed to be being downcased elsewhere
anyway, so I left it be.  Making it explicit in process_recipient like this
seems cleaner, though.

> I've written my own 
> patch, based on 
> yours which I *think* handles all cases (at least it doesn in my test 
> harness).  Try the attached patch and let me know how it 
> works before I 
> commit it.

Applied it, appears to work like a charm :)
 
> > In other news, the latest CVS doesn't compile from clean 
...
> Any time that configure.in is updated, you need to re-make 
> the configure 
> script:

ooops, I was trying to re-make with a simple make distclean & autogen. Mea
culpa.

thanks,

Matthew.

--
__
Matthew Hodgson   [EMAIL PROTECTED]   Tel: +44 845 6667778
Systems Analyst, MX Telecom Ltd.



Problems with BerkeleyDB3 - corrupt Databases?

2004-01-08 Thread Anton Roeckseisen
Hi All,

I get following errors in my logs:
--
Jan  8 19:03:33 aphrodite master[13180]: [ID 392559 local6.debug] about to exec 
/opt/Mailsystem/cyrus/bin/ctl_cyrusdb
Jan  8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 702911 local6.notice] checkpointing 
cyrus databases
Jan  8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 866726 local6.warning] DBERROR db3: 
log_flush: LSN past current end-of-log
Jan  8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 866726 local6.warning] DBERROR db3: 
txn_checkpoint: failure in memp_sync Invalid argument
Jan  8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 865331 local6.error] DBERROR: 
couldn't checkpoint: Invalid argument
Jan  8 19:03:33 aphrodite ctl_cyrusdb[13180]: [ID 109027 local6.error] DBERROR: sync 
/var/imap/db: cyrusdb error
Jan  8 19:03:36 aphrodite ctl_cyrusdb[13180]: [ID 578205 local6.debug] archiving 
database file: /var/imap/mailboxes.db
Jan  8 19:03:36 aphrodite ctl_cyrusdb[13180]: [ID 448116 local6.debug] archiving log 
file: /var/imap/db/log.04
Jan  8 19:03:36 aphrodite ctl_cyrusdb[13180]: [ID 448116 local6.debug] archiving log 
file: /var/imap/db/log.05
Jan  8 19:03:37 aphrodite ctl_cyrusdb[13180]: [ID 448116 local6.debug] archiving log 
file: /var/imap/db/log.06
Jan  8 19:03:37 aphrodite ctl_cyrusdb[13180]: [ID 866726 local6.warning] DBERROR db3: 
log_flush: LSN past current end-of-log
Jan  8 19:03:37 aphrodite ctl_cyrusdb[13180]: [ID 866726 local6.warning] DBERROR db3: 
txn_checkpoint: failure in memp_sync Invalid argument
Jan  8 19:03:37 aphrodite ctl_cyrusdb[13180]: [ID 865331 local6.error] DBERROR: 
couldn't checkpoint: Invalid argument
Jan  8 19:03:37 aphrodite ctl_cyrusdb[13180]: [ID 109027 local6.error] DBERROR: sync 
/var/imap/db: cyrusdb error
Jan  8 19:03:39 aphrodite ctl_cyrusdb[13180]: [ID 448116 local6.debug] archiving log 
file: /var/imap/db/log.04
Jan  8 19:03:39 aphrodite ctl_cyrusdb[13180]: [ID 448116 local6.debug] archiving log 
file: /var/imap/db/log.05
Jan  8 19:03:39 aphrodite ctl_cyrusdb[13180]: [ID 448116 local6.debug] archiving log 
file: /var/imap/db/log.06
Jan  8 19:03:40 aphrodite ctl_cyrusdb[13180]: [ID 127214 local6.notice] done 
checkpointing cyrus databases
bash-2.05$ 
--

Any hints whts going on? I am using:

Solaris9
cyrus-imapd-2.1.15
cyrus-sasl-2.1.15
db-3.3.11.tar.gz with patch.3.3.11.1

Another problem is that I had to disable "ctl_deliver" and
"tls_prune" because they kept complaining about problems with
their DBs until the log-filesystem was full. :-( Above
problem might have the same roots
db_verify usually found errors in deliver.db and tls_sessions.de,
but does not with mailboxes.db.

So what should I do?

Thanks for any hints,
Anton




Re: SQUAT failed to open index file

2004-01-08 Thread Ken Murchison
Cristian Livadaru wrote:

I have some of these entries in my logs

Jan  8 16:07:52 vwclub imap[16435]: SQUAT failed to open index file 
Jan  8 16:07:52 vwclub imap[16435]: SQUAT failed 

can someone please tell me what they mean ?
It means that a client did a SEARCH on the mailbox and a SQUAT index 
file (created by squatter which accelerates SEARCH) wasn't found, so the 
SEARCH proceeded by scanning the messages themselves.

If you want to get rid of the message, either stop logging at th debug 
level, or create a squat index for mailboxes that get frequently searched.

--
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


Re: Problems with lmtp delivery on 2.2.2-BETA

2004-01-08 Thread Ken Murchison
Matthew Hodgson wrote:

Ken Murhcison wrote:


Matthew Hodgson wrote:



Looking at the process_recipient() code in lmtpengine.c,
I'm not sure

that the
quote-string parsing has been updated fully to reflect
virtual domains - so

I've fiddled around and come up with a version based on the
existing

code, and
also a complete rewrite.  I enclose the latter as a patch here; it
hasn't been
rigorously tested (at all), but has fixed my particular 
problem.  If anyone

has interest in the other version, just say - any feedback & flames
appreciated.
I'm looking at your current patch now to make sure it looks
sane before 
I commit it.  If you have an alternate patch, I'd like to see it also.



Hi Ken,

Be sure to look at the 2nd version of the patch I submitted to the list; the
1st one included a few rather embarassing bugs.
I've abandoned the alternative patch (the minimal extension of the existing
code), as ensuring that forcedowncase vaguely works with quoted-strings as
well as virtual domains was becoming too clunky, and I'm now depending on it
for the installation here.  Rather than ending up with a load of unwrapped
states, I suspect the better idea is to chuck a few state flags in as I did
with the submitted patch, I hope.
One thing you missed in you patch was the downcasing of the domain for 
something like [EMAIL PROTECTED]  I've written my own patch, based on 
yours which I *think* handles all cases (at least it doesn in my test 
harness).  Try the attached patch and let me know how it works before I 
commit it.


In other news, the latest CVS doesn't compile from clean when using a
berkeley backend; HAVE_BDB needs to be #defined in config.h at some point to
avoid disturbing fatal errors of the form:
Jan  8 16:51:16 foo imap[11302]: Fatal error: cyrusdb backend
Any time that configure.in is updated, you need to re-make the configure 
script:

rm configure
sh SMakefile
./configure ...
Any time that a Makefile.in is updated, you should re-run configure.

--
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
Index: lmtpengine.c
===
RCS file: /afs/andrew/system/cvs/src/cyrus/imap/lmtpengine.c,v
retrieving revision 1.98
diff -c -r1.98 lmtpengine.c
*** lmtpengine.c2 Jan 2004 20:34:10 -   1.98
--- lmtpengine.c8 Jan 2004 18:25:03 -
***
*** 756,761 
--- 756,762 
  int r, sl;
  address_data_t *ret = (address_data_t *) xmalloc(sizeof(address_data_t));
  int forcedowncase = config_getswitch(IMAPOPT_LMTP_DOWNCASE_RCPT);
+ int quoted, detail;
  
  assert(addr != NULL && msg != NULL);
  
***
*** 781,817 
addr++;
  }
  
! if (*addr == '\"') {
!   addr++;
!   while (*addr && *addr != '\"') {
!   if (*addr == '\\') addr++;
!   *dest++ = *addr++;
}
! }
! else {
!   if(forcedowncase) {
!   /* We should downcase the localpart up to the first + */
!   while(*addr != '@' && *addr != '>' && *addr != '+') {
!   if(*addr == '\\') addr++;
!   *dest++ = TOLOWER(*addr++);
!   }
!   if (*addr == '+') {
! while(*addr != '@' && *addr != '>') {
!   if(*addr == '\\') addr++;
!   *dest++ = *addr++;
! }
!   }
!   while ((config_virtdomains || *addr != '@') && *addr != '>') {
!   if(*addr == '\\') addr++;
!   *dest++ = TOLOWER(*addr++);
!   }
} else {
! /* Now finish the remainder of the localpart */
! while ((config_virtdomains || *addr != '@') && *addr != '>') {
! if (*addr == '\\') addr++;
! *dest++ = *addr++;
! }
!}
  }
  *dest = '\0';

--- 782,815 
addr++;
  }
  
! quoted = detail = 0;
! while (*addr &&
!  (quoted ||
!   ((config_virtdomains || *addr != '@') && *addr != '>'))) {
!   /* start/end of quoted localpart, skip the quote */
!   if (*addr == '\"') {
!   quoted = !quoted;
!   addr++;
!   continue;
}
! 
!   /* escaped char, pass it through */
!   if (*addr == '\\') {
!   addr++;
!   if (!*addr) break;
} else {
!   /* start of detail */
!   if (*addr == '+') detail = 1;
! 
!   /* end of localpart (unless quoted) */
!   if (*addr == '@' && !quoted) detail = 0;
!   }
! 
!   /* downcase everything accept the detail */
!   if (forcedowncase && !detail)
!   *dest++ = TOLOWER(*addr++);
!   else
!   *dest++ = *addr++;
  }
  *dest = '\0';



SQUAT failed to open index file

2004-01-08 Thread Cristian Livadaru


I have some of these entries in my logs

Jan  8 16:07:52 vwclub imap[16435]: SQUAT failed to open index file 
Jan  8 16:07:52 vwclub imap[16435]: SQUAT failed 

can someone please tell me what they mean ?

Cris


This message was sent using IMP, the Internet Messaging Program.


RE: Problems with lmtp delivery on 2.2.2-BETA

2004-01-08 Thread Matthew Hodgson
Ken Murhcison wrote:

> Matthew Hodgson wrote:
> 
> 
> > Looking at the process_recipient() code in lmtpengine.c,
> I'm not sure
> > that the
> > quote-string parsing has been updated fully to reflect
> virtual domains - so
> > I've fiddled around and come up with a version based on the
> existing
> > code, and
> > also a complete rewrite.  I enclose the latter as a patch here; it
> > hasn't been
> > rigorously tested (at all), but has fixed my particular 
> problem.  If anyone
> > has interest in the other version, just say - any feedback & flames
> > appreciated.
> 
> I'm looking at your current patch now to make sure it looks
> sane before 
> I commit it.  If you have an alternate patch, I'd like to see it also.
> 

Hi Ken,

Be sure to look at the 2nd version of the patch I submitted to the list; the
1st one included a few rather embarassing bugs.

I've abandoned the alternative patch (the minimal extension of the existing
code), as ensuring that forcedowncase vaguely works with quoted-strings as
well as virtual domains was becoming too clunky, and I'm now depending on it
for the installation here.  Rather than ending up with a load of unwrapped
states, I suspect the better idea is to chuck a few state flags in as I did
with the submitted patch, I hope.

In other news, the latest CVS doesn't compile from clean when using a
berkeley backend; HAVE_BDB needs to be #defined in config.h at some point to
avoid disturbing fatal errors of the form:
Jan  8 16:51:16 foo imap[11302]: Fatal error: cyrusdb backend
berkeley-nosync not supported

M.
__
Matthew Hodgson   [EMAIL PROTECTED]   Tel: +44 845 6667778
Systems Analyst, MX Telecom Ltd.





Re: imap migration tools

2004-01-08 Thread Simon Matter
> Hi folks,
>
> I've just set up a new machine and have everything working almost exactly
> the way I want. I am at the last stage of migrating off an old system. I
> often see discussions here about which tools people need to do a proper
> migration from one server to another, but apparently my search foo is
> kinda weak.
>
> Basically I want to do a copy from IMAP to IMAP, both servers being cyrus
> - one version 2.1 and the other 2.2. From the searches I ran it seems that
> the general concensus is to use imapcp, however it's homepage seems to
> think it's experimental software and it hasn't been updated since august.
> I don't mind unsupported, but experimental kinda frightens me :-)
>
> In any case, I tried something similar a long time ago and I remember
> having issues with various mailboxes that simply had a crapload of mail in
> them. I'm wondering what people's experiences are moving several thousand
> messages in one mailbox and 1-500 megs worth of mail for any one folder. I
> don't want the script dieing half way through the transfer.

If you want to migrate _all_ 2.1 accounts to the 2.2 server, couldn't you
just directly transfer the mailspool and the other files to the new server
using rsync or something. (If you have different DBx versions on the
servers, the db files have to be converted too). That's what I did once
migrating from 2.0 to 2.1.

Simon

>
> Any pointers to other tools that might fit the bill would be appreciated
> too. Thanks much :-)
>   -peace
>
> --
> Let he who is without clue kiss my ass
>
>




Re: imap migration tools

2004-01-08 Thread Tim Pushor
I too have had this problem in the past. I have had to migrate cyrus -> 
cyrus, and Groupwise -> cyrus (at least that was the right direction ;-).

I cound imapcopy indespensable and the only thing that did the right 
thing with groupwise.

http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html

Tim

Tarjei Huse wrote:

You might want to look at imapmigrat over at cyrus-utils.sf.net.  I've used that
in the past with ok results.
tarjei
Quoting Kendrick Vargas <[EMAIL PROTECTED]>:
 

Hi folks,

I've just set up a new machine and have everything working almost exactly 
the way I want. I am at the last stage of migrating off an old system. I 
often see discussions here about which tools people need to do a proper 
migration from one server to another, but apparently my search foo is 
kinda weak.

Basically I want to do a copy from IMAP to IMAP, both servers being cyrus 
- one version 2.1 and the other 2.2. From the searches I ran it seems that 
the general concensus is to use imapcp, however it's homepage seems to 
think it's experimental software and it hasn't been updated since august. 
I don't mind unsupported, but experimental kinda frightens me :-)

In any case, I tried something similar a long time ago and I remember 
having issues with various mailboxes that simply had a crapload of mail in 
them. I'm wondering what people's experiences are moving several thousand 
messages in one mailbox and 1-500 megs worth of mail for any one folder. I 
don't want the script dieing half way through the transfer.

Any pointers to other tools that might fit the bill would be appreciated 
too. Thanks much :-)
			-peace

--
Let he who is without clue kiss my ass
   



Mob: 920 63 413 

 



Re: imap migration tools

2004-01-08 Thread Craig Ringer
Kendrick Vargas wrote:
In any case, I tried something similar a long time ago and I remember 
having issues with various mailboxes that simply had a crapload of mail in 
them. I'm wondering what people's experiences are moving several thousand 
messages in one mailbox and 1-500 megs worth of mail for any one folder. I 
don't want the script dieing half way through the transfer.
In my experience mailutil handles this fine.

Any pointers to other tools that might fit the bill would be appreciated 
too. Thanks much :-)
I've had excellent results with mailutil, as suggested earlier by Ken 
Murchison. I used it for the original migration from MDaemon3 on WinNT 
over to the shiny new Cyrus box (and what a pleasant change, too...). I 
found it very good, and it made my migration quite simple.

On the other hand, if you're moving from Cyrus 2.1 to 2.2 is it possible 
to simply copy the mail spools and configdirectory across?

Craig Ringer



cyradm problem on Solaris x86 - help needed

2004-01-08 Thread saiful hakim
Dear all,
After compiling cyrus-imapd with no problem on solaris x86, I can't make
cyradm work, details below. I have tried all cited in this mailist
archive, but still the same error. Any pointers will be highly
appreciated. 

Configuration :
- cyrus-sasl-2.1.17
- cyrus-imapd-2.1.16
- solaris x86 8 2/02
- perl 5.8.0

Symptom : Error message on cyradm :

Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP
.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: 

Configuration detail of imapd :

# ./configure --with-sasl=/usr/local/lib --with-perl=/usr/local/bin
--with-auth=unix --with-dbdir=/usr/local/BerkeleyDB.3.3 
--with-bdb-libdir=/usr/local/BerkeleyDB.3.3/lib
--with-bdb-incdir=/usr/local/BerkeleyDB.3.3/include 
--with-openssl=/usr/local/ssl --without-ucdsnmp

# make depend
# make all CFLAGS=-O

Perl modules, I have checked everything's there :

# ldd
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP.
so
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
libresolv.so.2 =>/usr/lib/libresolv.so.2
libsocket.so.1 =>/usr/lib/libsocket.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libmp.so.2 =>/usr/lib/libmp.so.2

I have followed of one pointer in this mailist :

# cd /install/cyrus-imapd-2.1.16/perl/imap
# perl Makefile.PL
Note (probably harmless): No library found for -lssl
Note (probably harmless): No library found for -lcrypto
Writing Makefile for Cyrus::IMAP

I have followed again some other pointers on adding -libssl -libcrypto
in the MYEXTLIB section of Makefile.PL but no succeeded, I decided to go
back using original Makefile.PL and hoping that this message is true
"harmless" and continue on make and make install

# make
gcc -B/usr/ccs/bin/ -c  -I../../lib   -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.00\"
-DXS_VERSION=\"1.00\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/i86pc-solaris/CORE"  -DPERL_POLLUTE IMAP.c
Running Mkbootstrap for Cyrus::IMAP ()
chmod 644 IMAP.bs
rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
LD_RUN_PATH="/usr/local/lib" gcc -B/usr/ccs/bin/  -G -L/usr/local/lib
IMAP.o  -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a 
-lsasl2  
chmod 755 blib/arch/auto/Cyrus/IMAP/IMAP.so
cp IMAP.bs blib/arch/auto/Cyrus/IMAP/IMAP.bs
chmod 644 blib/arch/auto/Cyrus/IMAP/IMAP.bs
cp cyradm blib/script/cyradm
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/cyradm
Manifying blib/man3/Cyrus::IMAP::Admin.3
Manifying blib/man1/cyradm.1
Manifying blib/man3/Cyrus::IMAP.3
Manifying blib/man3/Cyrus::IMAP::Shell.3
Manifying blib/man3/Cyrus::IMAP::IMSP.3

# make install
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /usr/local/bin/cyradm
Writing
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/.pack
list
Appending installation info to
/usr/local/lib/perl5/5.8.0/i86pc-solaris/perllocal.pod

# cyradm
Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP
.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error:
file
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP.
so: symbol SSL_read: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/i86pc-solaris/DynaLoader.pm line 229.
 at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Admin.pm
line 44
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Admin.pm
line 44.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Admin.pm
line 44.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Shell.pm
line 60.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Shell.pm
line 60.
Compilation failed in require.
BEGIN failed--compilation aborted.
#

Still no luck it's been a week though, again any pointers will be highly
appreciated.







_
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m

_
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France




Re: cyrus logging

2004-01-08 Thread Andrew J Caird
On Thu, 8 Jan 2004, Andrei Buryukov wrote:

> Can I configure pop3d to log amount and size of messages fetched by user
> (like popper)?
>
> --
> Biryukov Andrei   ElVisti Information Center, Kiev, Ukraine.
> E-mail[EMAIL PROTECTED]

Andrei,
  This was discussed in a thread on this list within the last 2-3 months.
The short answer is "no", sorry.  For specific instances, look at the
telemetry features of Cyrus IMAP, but for general use, you don't want
those on.
  Perhaps this should be either in the FAQ or considered a feature
request?
  Cheers.
--
Andrew


Re: Autodelete of old mails

2004-01-08 Thread Craig Ringer
Ramprasad A Padmanabhan wrote:
But what happens if you get corrupt mailboxes because in the dead of the
night the partition run out of disk space
Tricky. I'm just not used to the idea of the server being /able/ to run 
out of disk space ; my Cyrus mail spools are now on a separate volume 
that always has several gigs of free space. It can be dynamically grown 
while mounted read/write (I love reiserfs + lvm) and I get email alerts 
if it's filling up. Combine this with a 512/128 ADSL link that puts a 
very finite limit on the amount of mail we can recieve from outside the 
business, and it's rather unlikely to fill up.

I can see how this could be different with a larger server, less 
predictable loads, and a faster 'net connection. I take it that 
significantly over-provisioning storage for the mail spools is not an 
option?

or because there is some one accessing using pop over a very slow link
which  breaks off every now and then
Interesting. I don't have remote POP3 users, so I have little experience 
there. Many of my remote IMAPs users are using 56k however, and I 
haven't seen any problems with that.

I would think that a mailbox left in a corrupt state after a failed POP3 
session would indicate a problem with Cyrus's pop3d, but perhaps there's 
something I'm not understanding going on.

I am thinking of a hack in the ipurge source with another commandline
option 
something like
ipurge -f -d 30  --skipuntil 'user/someuser' 

Is that feasible
I don't know; sorry. Might it not be simpler overall, however, to give 
ipurge the ability to skip corrupt mailboxes and move on to the next one?

Craig Ringer



Re: imap migration tools

2004-01-08 Thread Andreas
On Thu, Jan 08, 2004 at 10:45:51AM -0500, Ken Murchison wrote:
> I've used mailutil (which is part of UW IMAP) several times in the past. 
>  In fact this is how I take a mailing list archive (in mbox format) and 
> inject it into my server.

I used mailutil too sometimes, but recently I settled with mutt to move all my
mbox files to an imap server. Since I already used mutt as my MUA, it was easy.



Re: imap migration tools

2004-01-08 Thread Tarjei Huse
You might want to look at imapmigrat over at cyrus-utils.sf.net.  I've used that
in the past with ok results.

tarjei
Quoting Kendrick Vargas <[EMAIL PROTECTED]>:

> Hi folks,
> 
> I've just set up a new machine and have everything working almost exactly 
> the way I want. I am at the last stage of migrating off an old system. I 
> often see discussions here about which tools people need to do a proper 
> migration from one server to another, but apparently my search foo is 
> kinda weak.
> 
> Basically I want to do a copy from IMAP to IMAP, both servers being cyrus 
> - one version 2.1 and the other 2.2. From the searches I ran it seems that 
> the general concensus is to use imapcp, however it's homepage seems to 
> think it's experimental software and it hasn't been updated since august. 
> I don't mind unsupported, but experimental kinda frightens me :-)
> 
> In any case, I tried something similar a long time ago and I remember 
> having issues with various mailboxes that simply had a crapload of mail in 
> them. I'm wondering what people's experiences are moving several thousand 
> messages in one mailbox and 1-500 megs worth of mail for any one folder. I 
> don't want the script dieing half way through the transfer.
> 
> Any pointers to other tools that might fit the bill would be appreciated 
> too. Thanks much :-)
>   -peace
> 
> -- 
> Let he who is without clue kiss my ass
> 
> 


Mob: 920 63 413 



Re: imap migration tools

2004-01-08 Thread Denis V. Suhanov
Hello Kendrick,

I  have  recentlely  faced the same task and my way of dealing with it
was  pretty  painful.  I tried several different IMAP migration tools,
but   none   wanted   to   work   propertly.  After  several  days  of
experimenting,  I've  just  ended  up  manually  recreating all of the
folders  on  the  new  server  (took  me a long long while though) and
copied  (tar/untar)  the  whole partition/users folder. It worked just
fine.  There  were  only  two  problems  -  first,  all of the message
read/unread  states  were lost, so my users had to mark their messages
as  read  in their mail clients and second, it was damn boring to type
in all the folder names manually. There might be much better solutions
out there, but at least this one worked.

It seems to me that the main reason why tools I tried did not work was
the  altnamespaces  setting  I  have  on. I never spent enough time to
prove it though.

Good luck!

KV> Hi folks,

KV> I've just set up a new machine and have everything working almost exactly
KV> the way I want. I am at the last stage of migrating off an old system. I
KV> often see discussions here about which tools people need to do a proper
KV> migration from one server to another, but apparently my search foo is
KV> kinda weak.

KV> Basically I want to do a copy from IMAP to IMAP, both servers being cyrus
KV> - one version 2.1 and the other 2.2. From the searches I ran it seems that
KV> the general concensus is to use imapcp, however it's homepage seems to
KV> think it's experimental software and it hasn't been updated since august.
KV> I don't mind unsupported, but experimental kinda frightens me :-)

KV> In any case, I tried something similar a long time ago and I remember
KV> having issues with various mailboxes that simply had a crapload of mail in
KV> them. I'm wondering what people's experiences are moving several thousand
KV> messages in one mailbox and 1-500 megs worth of mail for any one folder. I
KV> don't want the script dieing half way through the transfer.

KV> Any pointers to other tools that might fit the bill would be appreciated
KV> too. Thanks much :-)
KV> -peace

-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re: user administration question

2004-01-08 Thread James A. Pattie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Denis V. Suhanov wrote:
| Hello,
|
| I  have a working Cyrus installation and everything is just fine, I am
| really happy with it. However, I would like to let my users an ability
| to change their passwords. I've triedmailadmin
| (mailadmin.sourceforge.net),  but  failed to make it work, besides, it
| does  not  seem  to  be  updated  for  a long while.
Did you check out the Patches section on the SF project?  I've put a bunch of
updates there for the developer to hopefully include.  Part of that is a install
howto that details the things you need to do to get saslpasswd to work.  The
latest changes updated to support sasl2.  You can also download my work from
http://www.pcxperience.org/mailadmin/
- --
James A. Pattie
[EMAIL PROTECTED]
Linux   SysAdmin / Systems Programmer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE//X3itUXjwPIRLVERAmUmAJ9X+LuL9FB43I55Rzw+Hri7BOjJUgCeIIPh
5f2aaJjWqJ4wTua+DS6Ps3Y=
=OxEq
-END PGP SIGNATURE-
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


Re: Problems with lmtp delivery on 2.2.2-BETA

2004-01-08 Thread Ken Murchison
Matthew Hodgson wrote:


Looking at the process_recipient() code in lmtpengine.c, I'm not sure 
that the
quote-string parsing has been updated fully to reflect virtual domains - so
I've fiddled around and come up with a version based on the existing 
code, and
also a complete rewrite.  I enclose the latter as a patch here; it 
hasn't been
rigorously tested (at all), but has fixed my particular problem.  If anyone
has interest in the other version, just say - any feedback & flames 
appreciated.
I'm looking at your current patch now to make sure it looks sane before 
I commit it.  If you have an alternate patch, I'd like to see it also.

--
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


Re: imap migration tools

2004-01-08 Thread Ken Murchison
Kendrick Vargas wrote:

Hi folks,

I've just set up a new machine and have everything working almost exactly 
the way I want. I am at the last stage of migrating off an old system. I 
often see discussions here about which tools people need to do a proper 
migration from one server to another, but apparently my search foo is 
kinda weak.

Basically I want to do a copy from IMAP to IMAP, both servers being cyrus 
- one version 2.1 and the other 2.2. From the searches I ran it seems that 
the general concensus is to use imapcp, however it's homepage seems to 
think it's experimental software and it hasn't been updated since august. 
I don't mind unsupported, but experimental kinda frightens me :-)

In any case, I tried something similar a long time ago and I remember 
having issues with various mailboxes that simply had a crapload of mail in 
them. I'm wondering what people's experiences are moving several thousand 
messages in one mailbox and 1-500 megs worth of mail for any one folder. I 
don't want the script dieing half way through the transfer.

Any pointers to other tools that might fit the bill would be appreciated 
too. Thanks much :-)
I've used mailutil (which is part of UW IMAP) several times in the past. 
 In fact this is how I take a mailing list archive (in mbox format) and 
inject it into my server.

--
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


sieve authentication

2004-01-08 Thread Denis V. Suhanov
Hello,

Is  there  a way to disable plaintext passwords in imap but allow them
in  sieve  (since  I have it running locally). There is a bug in PHP's
Net_Sieve module that makes it hang whenever timsieved does not report
a PLAIN method (http://pear.php.net/bugs/bug.php?id=159).

Thanks a lot.

-- 
Sincerely yours,
 Denis Suhanovmailto:[EMAIL PROTECTED]



imap migration tools

2004-01-08 Thread Kendrick Vargas
Hi folks,

I've just set up a new machine and have everything working almost exactly 
the way I want. I am at the last stage of migrating off an old system. I 
often see discussions here about which tools people need to do a proper 
migration from one server to another, but apparently my search foo is 
kinda weak.

Basically I want to do a copy from IMAP to IMAP, both servers being cyrus 
- one version 2.1 and the other 2.2. From the searches I ran it seems that 
the general concensus is to use imapcp, however it's homepage seems to 
think it's experimental software and it hasn't been updated since august. 
I don't mind unsupported, but experimental kinda frightens me :-)

In any case, I tried something similar a long time ago and I remember 
having issues with various mailboxes that simply had a crapload of mail in 
them. I'm wondering what people's experiences are moving several thousand 
messages in one mailbox and 1-500 megs worth of mail for any one folder. I 
don't want the script dieing half way through the transfer.

Any pointers to other tools that might fit the bill would be appreciated 
too. Thanks much :-)
-peace

-- 
Let he who is without clue kiss my ass



cyrus logging

2004-01-08 Thread Andrei Buryukov
Can I configure pop3d to log amount and size of messages fetched by user 
(like popper)?

--
Biryukov Andrei ElVisti Information Center, Kiev, Ukraine.
E-mail  [EMAIL PROTECTED]


Re: Autodelete of old mails

2004-01-08 Thread Ramprasad A Padmanabhan




On Thu, 2004-01-08 at 17:26, Craig Ringer wrote:

Ramprasad A Padmanabhan wrote:
> I am trying ipurge out.
> Seems a good idea, but does not work even if one mailbox is corrupt.

A better question might be why you have corrupt mailboxes. I don't run a 
particularly large server, but I haven't run into mailbox corruption 
that hasn't been my fault (manually deleting a message when first 
learning about Cyrus). It seems odd for mailbox corruption to be a 
sufficiently common thing on your server that it makes a scheduled 
ipurge run impractical.

Any idea what is causing the corruption?

Craig Ringer


A corrupt mailbox , usually means  a messy administration I agree.
But what happens if you get corrupt mailboxes because in the dead of the night the partition run out of disk space 
or because there is some one accessing using pop over a very slow link which  breaks off every now and then

Now the point is I have corrupt mailboxes , users arent complaining because they are not using ( mostly )
Now what do I do ? 
I am thinking of running ipurge as a pipe process in a perl script and catch the output. If it has quit anywhere in the middle reconstruct the mailbox  and start again
Now the point is How do I tell ipurge to start from where I left out.

Running a different ipurge for every user is ruled out , that is too slow for my box. 

I am thinking of a hack in the ipurge source with another commandline option 
something like
ipurge -f -d 30  --skipuntil 'user/someuser' 

Is that feasible

Thanks
Ram







NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in

Pragatee: Integrated Server-Software Suite: http://www.pragatee.com

Emergic Freedom: Server-centric Computing: http://www.emergic.com

BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com

Deeshaa: Rural Development: http://www.deeshaa.com

Rajesh Jain's Weblog on Technology: http://www.emergic.org






Newbie, Cyrus, FreeBSD ---- Problem: Cyrus IMAP user unknow

2004-01-08 Thread Ajitesh K
I am newbie in FreeBSD as well as cyrus IMAP world.

Problem: Need to setup new POP3 account. I have assume that setting up new
account in Cyrus IMAP of POP3 server would takecare of setting up new
accounts.

I am not able to connect Cyrus IMAP server in POP3 server as I don't know
about user & password of cyradm or imtest. Can any one help me to find a
user and login into POP3 server's Cyrus IMAP.

Thanks in Advance.

Ajitesh





Re: Autodelete of old mails

2004-01-08 Thread Craig Ringer
Ramprasad A Padmanabhan wrote:
I am trying ipurge out.
Seems a good idea, but does not work even if one mailbox is corrupt.
A better question might be why you have corrupt mailboxes. I don't run a 
particularly large server, but I haven't run into mailbox corruption 
that hasn't been my fault (manually deleting a message when first 
learning about Cyrus). It seems odd for mailbox corruption to be a 
sufficiently common thing on your server that it makes a scheduled 
ipurge run impractical.

Any idea what is causing the corruption?

Craig Ringer



Re: Autodelete of old mails

2004-01-08 Thread Sebastian Hagedorn
Hi,

--On Donnerstag, 8. Januar 2004 15:55 Uhr +0530 Ramprasad A Padmanabhan 
<[EMAIL PROTECTED]> wrote:

I am trying ipurge out.
Seems a good idea, but does not work even if one mailbox is corrupt.
I have around 2000 mailboxes on a redhat 7.3 machine but now whenever
ipurge encounters the first corrupt mailbox it just exits
Is there a way I can tell ipurge to continue on error  after reporting
the errors
not that I know of. A workaround may be to wrap the ipurge calls in a 
script and to call it for each user (or even mailbox) separately. That's 
not as efficient, but it should work. we do something similar with squatter.

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgp0.pgp
Description: PGP signature


Re: Autodelete of old mails

2004-01-08 Thread Ramprasad A Padmanabhan




On Tue, 2003-12-30 at 12:44, Craig Ringer wrote:

Ramprasad A Padmanabhan wrote:
> I want to maintain my cyrus-imap server in such a way that all mails
> older than 30 days will be deleted for all users
>  I have written a client code using perl Mail::IMAPClient. 
> But I was wondering if it was possible at the cyrus level.
> the "popexpiretime:"  in imapd.conf  parameter is something like this ,
> But I dont think I can use it to actually delete older mails

What about using the `ipurge` command? I nuke my users' trash mailboxes 
after 14 days with a simple command in the EVENTS section of cyrus.conf:

   purgetrashcmd="ipurge -d 14 -f user.%.Trash" at=0200

and it works well.

Craig Ringer



I am trying ipurge out.
Seems a good idea, but does not work even if one mailbox is corrupt.
I have around 2000 mailboxes on a redhat 7.3 machine but now whenever ipurge encounters the first corrupt mailbox it just exits

Is there a way I can tell ipurge to continue on error  after reporting the errors

Thanks
Ram





NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in

Pragatee: Integrated Server-Software Suite: http://www.pragatee.com

Emergic Freedom: Server-centric Computing: http://www.emergic.com

BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com

Deeshaa: Rural Development: http://www.deeshaa.com

Rajesh Jain's Weblog on Technology: http://www.emergic.org






user administration question

2004-01-08 Thread Denis V. Suhanov
Hello,

I  have a working Cyrus installation and everything is just fine, I am
really happy with it. However, I would like to let my users an ability
to change their passwords. I've triedmailadmin
(mailadmin.sourceforge.net),  but  failed to make it work, besides, it
does  not  seem  to  be  updated  for  a long while. I've heard of the
web-cyradming   project,   but  it  seems  to  be  more  of  the  site
administrator  tool then anything else. Horde looks to be a great tool
and  it works just fine, but I did not find any saslpasswd2-compatible
module for it.

I  am  sure  that I'm not the only one having this problem, but I am a
newbie  and  maybe there is a well-known system that 'just works'. Any
suggestions?

Thank you very much.

-- 
Sincerely yours,
 Denis Suhanovmailto:[EMAIL PROTECTED]