BerkeleyDB RPC Support

2003-01-06 Thread Stephen L. Ulmer
Attached is a patch that begins to implement a db3_rpc cyrusdb back-end. I worked-around my previous question (for now) by just implementing an open) that fakes the database name from the basename of the full path of the filename. I've only tested this with the mailboxes.db so far, the others tha

Re: Intermittent sieve failures...

2003-01-06 Thread Ken Murchison
The large number of Received headers might be exceeding some internal sieve limit. Try running the original message (and your script) through the sieve test program (sieve/test.c) and see what happens. Then try your trimmed message and see what happens. Of course, if test and lmtpd don't use the

Re: How to upload a sieve script?

2003-01-06 Thread Ken Murchison
[EMAIL PROTECTED] wrote: > > Hi, > with help from Ken Murchison, i got the sieveshell working, but i can't upload a > script, getting: > > moria:/home/peter# cat test.script > #Example sieve script > #Reject messages based on criteria > > require ["fileinto"]; > > if header :contains ["From"]

Intermittent sieve failures...

2003-01-06 Thread Rob Mueller
I'm just wondering if anyone has seen anything like this. Basically I'm noticing (and so have a few other users) that sieve scripts are *very* intermittently failing. I've captured an example, and I'm wondering if I'm missing anything obvious. Basically, I've got a simple sieve script here: htt

How to upload a sieve script?

2003-01-06 Thread peter
Hi, with help from Ken Murchison, i got the sieveshell working, but i can't upload a script, getting: moria:/home/peter# cat test.script #Example sieve script #Reject messages based on criteria require ["fileinto"]; if header :contains ["From"] ["[EMAIL PROTECTED]"] { fileinto "INBOX.peter"; }

Re: [PATCH] close potential buffer overflow in prot_flush (was: Re:[PATCH] imapd segfaults after broken pipe)

2003-01-06 Thread Rob Siemborski
On Mon, 6 Jan 2003, Henrique de Moraes Holschuh wrote: > I suggest the assert in Gerd's patch to be moved to before the if clause. > That way, we catch any other bug that triggers that assert. Actually, based on discussions with Larry I'm pretty sure Gerd's patch is now extra code that doesn't ad

Re: Yet another mail-restore question...

2003-01-06 Thread Earl Shannon
Hello, Sadly we've a little experience in IMAP server recovery. Most of what I'm listing makes common sense but I'll say it anyway. How to quickly get back a once working server depends upon whats wrong with it. We've not had any problems with software failing but have had hardware bite us(me) in

Re: [PATCH] close potential buffer overflow in prot_flush (was: Re: [PATCH] imapd segfaults after broken pipe)

2003-01-06 Thread Henrique de Moraes Holschuh
On Mon, 06 Jan 2003, Rob Siemborski wrote: > I've committed/credited this as well. By doing that you fixed the hole Gerd's workaround was initially added for :-) I suggest the assert in Gerd's patch to be moved to before the if clause. That way, we catch any other bug that triggers that assert.

Re: Major Cyrus Problems

2003-01-06 Thread Earl Shannon
Hello, Make sure the users are actually subscribed to the folders and have permissions to access them. Regards, Earl Shannon -- Systems Programmer, Computing Services, Information Technology NC State University. http://www.earl.ncsu.edu Chris Nolan wrote: > > Hi, > > I'm running Cyrus 2.0.16

Re: [PATCH] close potential buffer overflow in prot_flush (was: Re:[PATCH] imapd segfaults after broken pipe)

2003-01-06 Thread Rob Siemborski
I've committed/credited this as well. Thanks, -Rob On Sun, 5 Jan 2003, Henrique de Moraes Holschuh wrote: > On Sun, 05 Jan 2003, Henrique de Moraes Holschuh wrote: > > On Sun, 05 Jan 2003, Gerd v. Egidy wrote: > > > > The attached patch fixes this. > > The attached patch fixes the bug in prot_fl

Re: [PATCH] imapd segfaults after broken pipe

2003-01-06 Thread Rob Siemborski
Both of these patches have been committed and credited. On to look at Henrique's addition Thanks, -Rob On Sun, 5 Jan 2003, Gerd v. Egidy wrote: > > The attached patch fixes this. > > Just a cosmetic fix - the defined prot_putc now returns EOF in case of error. > -=-=-=-=-=-=-=-=-=-=-=-=-=

BerkeleyDB RPC support

2003-01-06 Thread Stephen L. Ulmer
Greetings, I'm interested in using the built-in RPC support in BerkeleyDB 4.x to network-abstract access to the mailboxes.db (and maybe other BerkeleyDBs). I did some experiments, and hacked-up the db3 back-end to do this (and am actually using it right now :). I believe that it'll be easy to a

Re: Sieveshell not logging in

2003-01-06 Thread Ken Murchison
[EMAIL PROTECTED] wrote: > > Hi, > I have cyrus21 installed on debian. Imap works fine, I can telnet localhost 2000 > and get timesieve responding: > moria:/home/peter# telnet localhost 2000 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > "IMPLEMENTATION" "Cyrus tim

RE : Sieveshell not logging in

2003-01-06 Thread Bruhin Gregor
Hi, You can try "sieveshell -u username -a username localhost" it should work fine. Then you can put a script and activate it, you can check in /usr/sieve/? If it was uploaded ... CU Greg -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : Montag, 6. Januar 2

Sieveshell not logging in

2003-01-06 Thread peter
Hi, I have cyrus21 installed on debian. Imap works fine, I can telnet localhost 2000 and get timesieve responding: moria:/home/peter# telnet localhost 2000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.1.11-Debian-5" "SIEVE" "fileinto rej

cyradm: two passwords ?

2003-01-06 Thread Bruhin Gregor
Hi, I would like to know if it is normal that cyradm --auth plain localhost asks for the password two times (password and imap password, what is the difference ?) ? Did I make a mistake in my configuration? sasl_pwcheck_method: saslauthd allowanonymouslogin: no sasl_auto_transition: yes allowplai

sieve setup problems

2003-01-06 Thread Bruhin Gregor
Hi, I think there is a problem writing the mail files into the queue folder, cyrus seems not to be allowed to write anything. In which folder is cyrus trying to write and how did you setup the permissions on this folder ? Mytest script is: require ["fileinto","reject"]; if allof (header :contai

Re: Cyrus Authentication Problem

2003-01-06 Thread Ken Murchison
Jon \"GenKIller\" Gaudette wrote: > > Good and Bad News :( > > That fixed that particular authentication error, but aunveiled another > one :( > > Now when I issue the command imtest -m login -p imap localhost as user > cyrus it 'works'. However, when I try to create a new user by following >

Re: Cyrus Authentication Problem

2003-01-06 Thread Jon \"GenKIller\"
Good and Bad News :( That fixed that particular authentication error, but aunveiled another one :( Now when I issue the command imtest -m login -p imap localhost as user cyrus it 'works'. However, when I try to create a new user by following the directions at http://en.tldp.org/HOWTO/Cyrus-IMAP-

lmtpd don't advertise the "EXTERNAL" auth method

2003-01-06 Thread Balazs GAL
Hi! I use a backported version of debian's (thanks hmh) cyrus21 2.1.11-5 package. My problem is that, lmtpd don't advertise the "EXTERNAL" auth method on unix socket (neither on tcp). Because it, cyrdeliver (deliver) can't use the AUTH parameter of the MAIL FROM command (see lmtp_runtxn in lmtpen

Re: Sieve reject working but emails get delivered to inbox ?

2003-01-06 Thread Ken Murchison
Christian Schulte wrote: > > Hi, > > I installed the contrib/sieve-spamassassin patches and everything is > working in my 2.2-cvs installation. My problem now is, that sieve reject > seems to not work properly. > > require ["spam", "fileinto", "reject"]; > > if spam { > reject "

Re: Problem with starting Cyradm

2003-01-06 Thread Rob Siemborski
On Mon, 6 Jan 2003, Dennis Pedersen wrote: > Hi, > I have been trying to get Cyrus (cyrus-imapd-2.0.17 ) to work on my > FreeBSD box (4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT > 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC > i386). Cyrus has been installed through port

Re: Problem with starting Cyradm

2003-01-06 Thread Mitrana Cristian
* Dennis Pedersen <[EMAIL PROTECTED]> [06-01-03 08:27]: > Hi, > I have been trying to get Cyrus (cyrus-imapd-2.0.17 ) to work on my > FreeBSD box (4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT > 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC > i386). Cyrus has been installe

setup problem: websieve

2003-01-06 Thread Bruhin Gregor
I try to setup websieve, but I get the following error, has anybody an idea: Mail Account Management Login Error There was an error in login you to the server. Please click HERE and try again. System Error: No Errors It seems to be a known bug ? http://sourceforge.net/tracker/index.php?func=deta

Problem with starting Cyradm

2003-01-06 Thread Dennis Pedersen
Hi, I have been trying to get Cyrus (cyrus-imapd-2.0.17 ) to work on my FreeBSD box (4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386). Cyrus has been installed through ports and I just did a cvsup before installing t

Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-06 Thread Lawrence Greenfield
--On Sunday, January 05, 2003 7:22 PM +0100 [EMAIL PROTECTED] wrote: Try, LIBS="-lkstat -lkvm" ./configure ... I now had a try and it finally compiled perfectly ! Now, is that somehow normal that I need to do that, shouldn't this be automatically done with the configure script ? UCD SNMP ca

Re: Question about reconstruct and main mailbox

2003-01-06 Thread Lawrence Greenfield
--On Saturday, January 04, 2003 11:56 AM -0800 Doug <[EMAIL PROTECTED]> wrote: Hi! I'm looking at upgrading from a Cyrus 1.5 to a more current Cyrus Imap, and have noticed that the 'reconstruct -m' function is not implemented. I think we know that things happen. Is there any way in version

Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-06 Thread marc . bigler
Hi there, You are right, an ldd on the Cyrus binaries showed up kstat and kvm library... Hopefully this doesn't use too much memory. Btw: I saw that only the master binary from Cyrus IMAPD does use the UCD-SNMP library so wouldn't it be a better idea to link only the kvm and kstat library against