cyrus-2.0.16 - pl help

2001-10-17 Thread Gautam Das

When I run imtest as user cyrus I get the following error:

$ imtest -m login -p imap localhost
C: C01 CAPABILITY
S: * OK somehost.some.domain Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT
THREAD=REFERENCES IDLE
S: C01 OK Completed
Password:
C: L01 LOGIN cyrus {9}
+ go ahead
C: 
L01 NO Login failed: generic failure
Authentication failed. generic failure
Security strength factor: 0


What am I missing?

gd




Re: Cyradm

2001-10-17 Thread Gautam Das

I found this on the net which fixed the
 Can't locate IMAP/Cyrus/Shell.pm problem.

You can try it.

   go to $CYRUS_SOURCE_DIR/perl/imap
   perl Makefile.PL
   make
   make install

--
gd

On Wed, 17 Oct 2001, Fatemeh Taj wrote:

> Hi,
> I'm trying to install Cyrus 2.0.16. Before; I've installed 2.0.7 and used cyradm 
>perl script with no problem. Now I get following error when running cyradm :
>
> >> cyradm --user admin --auth login hostname
> perl: error in loading shared libraries: 
>/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Cyrus/IMAP/IMAP.so: undefined symbol: 
>imclient_connect
>
> also with following line which is recommended to test the imclient some errors 
>occoured. Unfortunately I'm not familier with perl :(
>
> # perl -Iblib/arch -Iblib/lib -MIMAP::Cyrus::Shell -e --user admin hostname
> Can't locate IMAP/Cyrus/Shell.pm in @INC (@INC contains: blib/arch blib/lib 
>/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 
>/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .).
> BEGIN failed--compilation aborted.
>
> Shell.pm is in this path : 
>/usr/lib/perl5/site_perl/5.005/i386-linux/Cyrus/IMAP/Shell.pm
> Maybe linking it to above mentioned path (in error message) is not correct, but 
>anyway , it did not help.
>
> How I can fix the problem ?
>
> Thanks
> F. Taj
>
>
>




Re: cyrus-2.0.16 - pl help

2001-10-17 Thread Gautam Das

Never mind - I found the answer to my problem. User cyrus was unable to
read /etc/sasldb..:)
--
gd

On Wed, 17 Oct 2001, Gautam Das wrote:

> When I run imtest as user cyrus I get the following error:
>
> $ imtest -m login -p imap localhost
> C: C01 CAPABILITY
> S: * OK somehost.some.domain Cyrus IMAP4 v2.0.16 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
> NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT
> THREAD=REFERENCES IDLE
> S: C01 OK Completed
> Password:
> C: L01 LOGIN cyrus {9}
> + go ahead
> C: 
> L01 NO Login failed: generic failure
> Authentication failed. generic failure
> Security strength factor: 0
>
>
> What am I missing?
>
> gd
>




cyrus 2.0.16 on AIX anyone?

2002-03-26 Thread Gautam Das

Hi,

Is anyone running Cyrus on AIX? We had upgraded from 1.5 to 2.0.16 last
weekend, and had to rollback after half a day of operation. The cyrus
master process would silently stop doing anything useful after anywhere
from 15 minutes to a maximum 2 hours of operation. Unfortunately once it
got to that state it would not log anything either. Is 2.0.16 running
without problems on Solaris and Linux? I am trying to understand if the
problems we are seeing are specific to AIX?

The rollback required reconstructing all of the 85000+ mailboxes, which
took over 2 days on a 4 CPU SP2 node running AIX 4.3.3.  If anyone is
running or has attempted to run cyrus version 2 on AIX, irrespective of
the size of their user population, I am very eager to hear from them.

Thank you and looking forward to find at least someone out there running 
Cyrus on AIX. 

-- 
Gautam Das  [EMAIL PROTECTED]
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440
University of Florida




Re: cyrus 2.0.16 on AIX anyone?

2002-03-27 Thread Gautam Das

Hello, is anybody listening? I have not received a single response to my 
distress call. Are we the only AIX cyrus site in the world or what?  


On Tue, 26 Mar 2002, Gautam Das wrote:

> Hi,
> 
> Is anyone running Cyrus on AIX? We had upgraded from 1.5 to 2.0.16 last
> weekend, and had to rollback after half a day of operation. The cyrus
> master process would silently stop doing anything useful after anywhere
> from 15 minutes to a maximum 2 hours of operation. Unfortunately once it
> got to that state it would not log anything either. Is 2.0.16 running
> without problems on Solaris and Linux? I am trying to understand if the
> problems we are seeing are specific to AIX?
> 
> The rollback required reconstructing all of the 85000+ mailboxes, which
> took over 2 days on a 4 CPU SP2 node running AIX 4.3.3.  If anyone is
> running or has attempted to run cyrus version 2 on AIX, irrespective of
> the size of their user population, I am very eager to hear from them.
> 
> Thank you and looking forward to find at least someone out there running 
> Cyrus on AIX. 
> 
> 

-- 
Gautam Das  [EMAIL PROTECTED]
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440
University of Florida




Re: cyrus 2.0.16 on AIX anyone?

2002-03-27 Thread Gautam Das

Thanks for your response. I hope the French site will contact me. I know a
little French and will somehow manage...:) I can't believe we are all
alone. This is so depressing.

Gautam

On Wed, 27 Mar 2002, Clifford Thurber wrote:

> I think there is one other one actually in France somewhere.
> 
> At 11:29 AM 3/27/2002 -0500, Gautam Das wrote:
> >Hello, is anybody listening? I have not received a single response to my
> >distress call. Are we the only AIX cyrus site in the world or what?
> >
> >
> >On Tue, 26 Mar 2002, Gautam Das wrote:
> >
> > > Hi,
> > >
> > > Is anyone running Cyrus on AIX? We had upgraded from 1.5 to 2.0.16 last
> > > weekend, and had to rollback after half a day of operation. The cyrus
> > > master process would silently stop doing anything useful after anywhere
> > > from 15 minutes to a maximum 2 hours of operation. Unfortunately once it
> > > got to that state it would not log anything either. Is 2.0.16 running
> > > without problems on Solaris and Linux? I am trying to understand if the
> > > problems we are seeing are specific to AIX?
> > >
> > > The rollback required reconstructing all of the 85000+ mailboxes, which
> > > took over 2 days on a 4 CPU SP2 node running AIX 4.3.3.  If anyone is
> > > running or has attempted to run cyrus version 2 on AIX, irrespective of
> > > the size of their user population, I am very eager to hear from them.
> > >
> > > Thank you and looking forward to find at least someone out there running
> > > Cyrus on AIX.
> > >




Re: cyrus 2.0.16 on AIX anyone?

2002-03-27 Thread Gautam Das

Could you tell me what the AIX OS level was? 

Thanks.

On Wed, 27 Mar 2002, GOMBAS Gabor wrote:

> On Tue, Mar 26, 2002 at 03:57:52PM -0500, Gautam Das wrote:
> 
> > Is anyone running Cyrus on AIX?
> 
> Yes. When I last upgraded it it was a CVS version somewhere between 2.0.13
> and 2.0.14. I am no longer the sysadmin of that host so I do not know if
> it has been upgraded since. I do know that it works nicely with about 2000
> users on an IBM H70.
> 
> Gabor
> 
> 




Load test scripts for Cyrus?

2002-03-27 Thread Gautam Das

Are there any scripts available to stress test a cyrus server? Has
anyone written something and is willing to share? The scripts should 
be capable of logging in, reading and deleting some messages, creating, 
opening, and deleteing folders, and logging out. If we can run a couple  
thousand of these in parallel, we can generate sufficient load to expose
any problems. Thats the plan before going live.

BTW, if you are running Cyrus on AIX I would appreciate hearing from you.

Thanks.

-- 
Gautam Das  [EMAIL PROTECTED]
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440
University of Florida




Re: cyrus 2.0.16 on AIX anyone?

2002-03-27 Thread Gautam Das

I cam reproduce the problem in less than 2 hours. However the problem 
manifested after we went live. And I cannot do that to reproduce it..:)
 
So if have any scripts to generate the load, I can run it. 
I am hoping someone on this list may have something that I can use.

Gautam


On Wed, 27 Mar 2002, Lawrence Greenfield wrote:

>Date: Wed, 27 Mar 2002 11:29:44 -0500 (EST)
>From: Gautam Das <[EMAIL PROTECTED]>
> 
>Hello, is anybody listening? I have not received a single response to my 
>distress call. Are we the only AIX cyrus site in the world or what?  
> 
> While I don't have any direct experience with running Cyrus on AIX,
> this is the first report we've had with these symptoms.
> 
> Can you recreate the problem on a non-production system?
> 
> Larry
> 
>On Tue, 26 Mar 2002, Gautam Das wrote:
> 
>> Hi,
>> 
>> Is anyone running Cyrus on AIX? We had upgraded from 1.5 to 2.0.16 last
>> weekend, and had to rollback after half a day of operation. The cyrus
>> master process would silently stop doing anything useful after anywhere
>> from 15 minutes to a maximum 2 hours of operation. Unfortunately once it
>> got to that state it would not log anything either. Is 2.0.16 running
>> without problems on Solaris and Linux? I am trying to understand if the
>> problems we are seeing are specific to AIX?
>> 
>> The rollback required reconstructing all of the 85000+ mailboxes, which
>> took over 2 days on a 4 CPU SP2 node running AIX 4.3.3.  If anyone is
>> running or has attempted to run cyrus version 2 on AIX, irrespective of
>> the size of their user population, I am very eager to hear from them.
>    > 
>> Thank you and looking forward to find at least someone out there running 
>> Cyrus on AIX. 
>> 
>> 
> 
>-- 
>Gautam Das  [EMAIL PROTECTED]
>Senior Systems Programmer   Tel: (352) 392-2061
>Northeast Regional Data Center  Fax: (352) 392-9440
>University of Florida
> 
> 
> 

-- 
Gautam Das  [EMAIL PROTECTED]
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440
University of Florida





cyrus developers' list?

2002-03-27 Thread Gautam Das

Is there a separate list for Cyrus developers, or do they monitor this 
list?

I know of the cyrus-sasl list, but I am assuming the focus there would be  
on sasl development.

-- 
Gautam Das  [EMAIL PROTECTED]
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440
University of Florida





Re: cyrus 2.0.16 on AIX anyone?

2002-03-28 Thread Gautam Das

On Thu, 28 Mar 2002, GOMBAS Gabor wrote:

> On Wed, Mar 27, 2002 at 02:02:34PM -0500, Gautam Das wrote:
> 
> > Could you tell me what the AIX OS level was? 
> 
> When I left it was 4330-08. I heard that -09 might cause problems (the
> system freezes after a day or two, depending on the load, and only the
> reset button helps).
> 
> Gabor
> 
> 

Oh yes we are well aware of the problems with 09. We had to back off from 
that one too...:)

Gautam





RE: Load test scripts for Cyrus?

2002-03-28 Thread Gautam Das

Enric,

Thanks a million for pointing me to this resource. However I went to
http://www.webbench.com and subsequently to
http://www.etestinglabs.com/bi/cont1998/199807/emailt2.asp and found a
nice description of the tool, but could not find any links to download
the tool. I have written to ZDNET, but if you know where you downloaded it
from that would help.

Thanks.

Gautam

On Thu, 28 Mar 2002, Enric Ramos wrote:

> Gautam:
> 
> I used a mail stress program that do this..
> 
> It login using pop3 / imap4 / etc...
> It's based on windows, but it's nice.
> 
> At the end of the stress you are able to get some reports about the test...
> very good tool.
> You can visit http://www.webbench.com
> 
> There is a web stress tool and a mail stress tool.
> 
> hope this helps !
> 
> Enric
> 
> -Mensaje original-
> De: Gautam Das [mailto:[EMAIL PROTECTED]]
> Enviado el: miƩrcoles, 27 de marzo de 2002 20:21
> Para: [EMAIL PROTECTED]
> Asunto: Load test scripts for Cyrus? 
> 
> 
> Are there any scripts available to stress test a cyrus server? Has
> anyone written something and is willing to share? The scripts should 
> be capable of logging in, reading and deleting some messages, creating, 
> opening, and deleteing folders, and logging out. If we can run a couple  
> thousand of these in parallel, we can generate sufficient load to expose
> any problems. Thats the plan before going live.
> 
> BTW, if you are running Cyrus on AIX I would appreciate hearing from you.
> 
> Thanks.
> 
> 




RE: Load test scripts for Cyrus?

2002-03-28 Thread Gautam Das

Enric,

Never mind my earlier message, I found the down load link. 

http://www.etestinglabs.com/benchmarks/svrtools/email/t1intro.asp

Thanks.

Gautam


On Thu, 28 Mar 2002, Enric Ramos wrote:

> Gautam:
> 
> I used a mail stress program that do this..
> 
> It login using pop3 / imap4 / etc...
> It's based on windows, but it's nice.
> 
> At the end of the stress you are able to get some reports about the test...
> very good tool.
> You can visit http://www.webbench.com
> 
> There is a web stress tool and a mail stress tool.
> 
> hope this helps !
> 
> Enric
> 
> -Mensaje original-
> De: Gautam Das [mailto:[EMAIL PROTECTED]]
> Enviado el: miƩrcoles, 27 de marzo de 2002 20:21
> Para: [EMAIL PROTECTED]
> Asunto: Load test scripts for Cyrus? 
> 
> 
> Are there any scripts available to stress test a cyrus server? Has
> anyone written something and is willing to share? The scripts should 
> be capable of logging in, reading and deleting some messages, creating, 
> opening, and deleteing folders, and logging out. If we can run a couple  
> thousand of these in parallel, we can generate sufficient load to expose
> any problems. Thats the plan before going live.
> 
> BTW, if you are running Cyrus on AIX I would appreciate hearing from you.
> 
> Thanks.
> 
> 




Re: cyrus 2.0.16 on AIX anyone?

2002-03-28 Thread Gautam Das

On Thu, 28 Mar 2002, GOMBAS Gabor wrote:

> On Wed, Mar 27, 2002 at 03:52:05PM -0500, Gautam Das wrote:
> 
> > The cyrus-sasl code was compiled with native IBM C compiler cc_r. I had 
> > trouble linking correctly to a shared library when building with gcc.  
> > 
> > In retrospect I think I should have built the whole thing with cc_r. 
> 
> As I remember I built everything with xlc from "IBM C and C++ compilers"
> (not "C for AIX"). I remember a few issues (not with Cyrus but other
> software), but they were solvable.
> 
> Gabor
> 
> 

Thanks. I am going to build with IBM C/C++ compiler and load test it.  

Gautam





reconstruct cyrus-2.1.x mailboxes to cyrus-1.6 mailboxes?

2002-11-20 Thread Gautam Das
Is it possible to go back from cyrus-2.1.x upgrade to the older cyrus-1.6
mailbox format?

When I tried it on a test system I got invalid format error.

Thanks.

Gautam Das  [EMAIL PROTECTED]
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440
University of Florida




idled

2002-12-04 Thread Gautam Das
Which is better - using idled or polling?

--
gd





squatter - Closing index: No such file or directory

2002-12-06 Thread Gautam Das
squatter is exiting with error "Closing index: No such file or
directory".

cyrus@spnode19$ squatter -v -r user.foo
Indexing mailbox user.foo... Closing index: No such file or directory

I see a file named cyrus.squat.tmp in the user's mail store. 

What

-- 
Gautam Das  [EMAIL PROTECTED] 
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440  
University of Florida 




squatter - Closing index: No such file or directory

2002-12-06 Thread Gautam Das
squatter is exiting with error Closing index: No such file or directory.

$ squatter -v -r user.foo
Indexing mailbox user.foo... Closing index: No such file or directory

I see a 0 length file called cyrus.squat.tmp created in the user's
message store.

What's wrong?

-

gd





http://asg.web.cmu.edu/cyrus/download/imapd/murder.png

2003-01-10 Thread Gautam Das

The URL http://asg.web.cmu.edu/cyrus/download/imapd/murder.png is giving
an object not found error. Can someone alert the appropriate webmaster
to fix this?

Thanks.

gd





how to make sendmail authenticate to lmtpd

2003-01-15 Thread Gautam Das
We are trying to get a murder configuration going. 

Thus far we have the backend, frontend, and mupdate (running on a
frontend) servers mostly working.

Here are the outstanding issues to resolve - and all have to do with
authentication.

1. Mailbox move from one backend to another using cyradm on a frontend
fails with following errors:
- couldn't authenticate to backend server: no mechanism available
- Could not move mailbox: user.test100, Initial backend connect failed
Note: we were having authenticaion problems with imap proxy till I
hacked imapd.c as below:
/* secprops = mysasl_secprops(SASL_SEC_NOPLAINTEXT); */
   secprops = mysasl_secprops(0);

There was a discussion thread with the above tip from Rob (Thanks Rob).
However it made imap proxy work but not mailbox move from one backend to
another.

2. sendmail fails to deliver messages via lmtpproxyd due to
authentication problems.This is a typical mail deliver test that fails
on the frontend server running lmtpproxyd.

root@spnode21$ mail -v test100
Subject: test
test
.
Cc:
test100... Connecting to [127.0.0.1] port 2003 via cyrusv2...
220 spnode21 LMTP Cyrus v2.1.11 ready
>>> LHLO ufl.edu
250-spnode21
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-SIZE
250-STARTTLS
250-AUTH PLAIN
250 IGNOREQUOTA
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=32 [EMAIL PROTECTED]
430 Authentication required
test100... Deferred: 430 Authentication required
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 bye

The cyrusv2 mailer is defined in sendmail.cf as

Mcyrusv2,  P=[IPC], F=lsDFMnqXzA@/:|m,
   S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, E=\r\n,
   T=DNS/RFC822/SMTP,
   A=TCP [127.0.0.1] lmtp

The above mailer (lmtp via a tcp socket) works fine on backend machines,
which is using preauthenticated lmtpd i.e. "lmtpd -a" in cyrus.conf.

Any help will be appreciated.

Thanks. 

-- 
Gautam Das  [EMAIL PROTECTED] 
Senior Systems Programmer   
Northeast Regional Data Center   
University of Florida 





Re: how to make sendmail authenticate to lmtpd

2003-01-15 Thread Gautam Das
Rob,

Thanks. SMTP AUTH was the answer. Now sendmail is authenticating to
frontend lmtpproxyd as murder and delivering mail via the backend lmtpd
with proper authentication. Next I have to figure out how to get mailbox
moves between backends to work. 

Just wanted to clarify, I am not running lmtpd -a on the backends. I had
done some testing with "lmtpd -a" to allow only localhost to connect to
the "localhost:lmtp" port  via TCP socket. lmtpd was not open to the
world:) 

Gautam

On Wed, 2003-01-15 at 16:45, Rob Siemborski wrote:
> On Wed, 15 Jan 2003, Gautam Das wrote:
> 
> > /* secprops = mysasl_secprops(SASL_SEC_NOPLAINTEXT); */
> >secprops = mysasl_secprops(0);
> >
> > There was a discussion thread with the above tip from Rob (Thanks Rob).
> > However it made imap proxy work but not mailbox move from one backend to
> > another.
> 
> I'm not going to make any guarantees about trying to use the murder in a
> plaintext environment. It hasn't been tested in any way and there might be
> some surprises that I haven't thought of.  That said, it's entirely
> possible that the backend imapd that is working as a client is refusing to
> use plaintext in *its* authentication, so I'd troll around in backend.c
> some.
> 
> > 2. sendmail fails to deliver messages via lmtpproxyd due to
> > authentication problems.This is a typical mail deliver test that fails
> > on the frontend server running lmtpproxyd.
> >
> > root@spnode21$ mail -v test100
> > Subject: test
> > test
> > .
> > Cc:
> > test100... Connecting to [127.0.0.1] port 2003 via cyrusv2...
> > 220 spnode21 LMTP Cyrus v2.1.11 ready
> > >>> LHLO ufl.edu
> > 250-spnode21
> > 250-8BITMIME
> > 250-ENHANCEDSTATUSCODES
> > 250-PIPELINING
> > 250-SIZE
> > 250-STARTTLS
> > 250-AUTH PLAIN
> > 250 IGNOREQUOTA
> > >>> MAIL From:<[EMAIL PROTECTED]> SIZE=32 [EMAIL PROTECTED]
> > 430 Authentication required
> > test100... Deferred: 430 Authentication required
> > Closing connection to [127.0.0.1]
> > >>> QUIT
> > 221 2.0.0 bye
> [snip]
> > The above mailer (lmtp via a tcp socket) works fine on backend machines,
> > which is using preauthenticated lmtpd i.e. "lmtpd -a" in cyrus.conf.
> >
> > Any help will be appreciated.
> 
> You shouldn't run lmtpd on a TCP socket with -a.  That basically bypasses
> any sense of delivery security LMTP is offering you.  In reality, sendmail
> should be configured to do SMTP AUTH.
> 
> At the very least, lmtpproxyd has to be able to do authenticated delivery
> from your smtp servers to the lmtpds on the backends.  (and you can run
> lmtpproxyd -a on a unix socket on the local machine).
> 
> -Rob
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
>