get number of users count from Cyrus IMAP

2002-12-12 Thread Su Li
Hi, I am trying to find a command from Cyrus IMAP, so that I can tell how may mailbox do I have on the system. I know 'rlist "" "user.%"' will print out all the user mailboxes. But Is there a way to just the the user count? Thanks a lot, Su Li Reseach In Motion (519)888-7465 ext 3041

RE: Sieve filtering -- set filter as Cyrus administrator

2002-12-10 Thread Su Li
-- user c: username (in base 64) s: UGFzc3dvcmQ6-- password c: password (in base 64) s: OK I don't know how do I login as "authname" and set the filter for normal user. Thanks, Su -Original Message- From: Rob Siemborski [mailto:[EMAIL PROTECTED]] Sent: December 10, 2

Sieve filtering -- set filter as Cyrus administrator

2002-12-10 Thread Su Li
w other user to set the filter for the mailbox? Thanks a lot for your help. Su Li Research In Motion (519)888-7465 ext 3041

RE: Outobox, Sent Items, Deleted Items folders

2002-12-06 Thread Su Li
Thanks, That works. I did creat those folders in IMAP, but they will show up under "Inbox". Su -Original Message- From: Bryntez [mailto:[EMAIL PROTECTED]] Sent: December 6, 2002 3:22 PM To: Su Li Subject: Re: Outobox, Sent Items, Deleted Items folders If you go into the

Outobox, Sent Items, Deleted Items folders

2002-12-06 Thread Su Li
Hi, I set up MS Outlook Express to get mail from Cyrus IMAP. When I creat a user, I only get "Ibox" folder. How can I get "Outobox", "Sent Items", "Deleted Items"? Is there any thing in Cyrus IMAP, I should turn it on to enable this? Thanks, Su

Cyradm -- Administration Port

2002-11-29 Thread Su Li
Hi, Does any one knows, what port does Cyradm telnet to Cyrus IMAP? Like Sieve, the port is 2000. So I can telnet to the administration port and issue a command: "setacl username1 user.username1" Thanks, Su Li

RE: Saslauthd -- saslpasswd2 set passwd in LDAP

2002-11-28 Thread Su Li
Hi, Thanks for your reply. So the saslpasswd tool and Cyrus Sasl API wouldn't work for authentication on LDAP. Anyway, the worst case I think I can still using LDAP C API. Su -Original Message- From: Phil Brutsche [mailto:[EMAIL PROTECTED]] Sent: November 28, 2002 7:27 PM To:

Saslauthd -- saslpasswd2 set passwd in LDAP

2002-11-28 Thread Su Li
Hi, I set up Cyrus IMAP to authenticate using LDAP via saslauthd. Now I can go into LDAP browser and set the password for a user. But is there a way to set the passwd in LDAP for a user using saslpasswd2? Or some other tool/API? Thanks, Su Li

RE: Sieve question -- BODY contains

2002-11-26 Thread Su Li
Thanks a lot Ken, So there is not way I can filter according to the content of the BODY. How about "exits"? Su -Original Message- From: Ken Murchison [mailto:[EMAIL PROTECTED]] Sent: November 26, 2002 2:51 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: Re: Sieve questi

Sieve question -- BODY contains

2002-11-26 Thread Su Li
Hi, In Sieve I saw a lot of "header :contains ...". I wonder, if a user needs to do some filtering when 'body contains "test filter"', is there some thing like "body" to replace "header"? So I can do: if body :contains "From" { discard; } Thanks, Su

RE: Timsieved valid commands -- Expected EOL -- sovled

2002-11-25 Thread Su Li
I did: PUTSCRIPT "s2" {127+} require ["fileinto", "reject", "imapflags"]; if header :is "From" "[EMAIL PROTECTED]" { addflag["\\Answered", "$MDSent"]; } OK Thanks, Su -Original Message- From: Su Li Sen

RE: Timsieved valid commands -- Expected EOL

2002-11-25 Thread Su Li
cript data" In my C++ program I did: sprintf((char*) sendBuffer, "PUTSCRIPT \"%s\" \"%s\"\r\n", scriptName.c_str(), script.c_str()); m_pConnection->Send(sendBuffer, strlen(sendBuffer)); The C++ program gave me the same result. I wonder why other command didn

RE: Timsieved valid commands -- it works cool!

2002-11-19 Thread Su Li
Thank a lot! It works very well! Really cool! Thanks, every one who helped me on this problem. Su -Original Message- From: Mark Keasling [mailto:[EMAIL PROTECTED]] Sent: November 19, 2002 11:55 PM To: Su Li Subject: Re: Timsieved valid commands Hi, On Tue, 19 Nov 2002 23:30:16 -0500

RE: Timsieved valid commands

2002-11-19 Thread Su Li
Thanks a lot Mark and Ken, I am writing a C++ client to log into Sieve 2000 port. Can you send me the C++/C code for base64 encode? So what I need to do to login to Sieve should be like: C: AUTHENTICATE "PLAIN" {21+} C: S: password? C: S: OK loged in Is that right? I really appreciate if you

Timsieved valid commands

2002-11-19 Thread Su Li
uot; >"SASL" "PLAIN OTP DIGEST-MD5 CRAM-MD5" >"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational >regex" >OK >AUTHENTICATE "PLAIN" >{0} >user "cyrus" >NO "Authentication Error" Can any body let me know the valid commands for Timsieved? Thanks a lot. Su Li Research In Motion (RIM) (519) 888-7465 ext 3041

RE: Massive Problems (lmtp, db corruption) - Ahh!

2002-10-31 Thread Su Li
other processes. Su -Original Message- From: Rob Siemborski [mailto:rjs3@;andrew.cmu.edu] Sent: October 31, 2002 10:48 AM To: Su Li Cc: Joe Finkle; [EMAIL PROTECTED] Subject: RE: Massive Problems (lmtp, db corruption) - Ahh! On Thu, 31 Oct 2002, Su Li wrote: > > In master/master.c fu

RE: Massive Problems (lmtp, db corruption) - Ahh!

2002-10-31 Thread Su Li
: Rob Siemborski [mailto:rjs3@;andrew.cmu.edu] Sent: October 31, 2002 10:38 AM To: Su Li Cc: Joe Finkle; [EMAIL PROTECTED] Subject: RE: Massive Problems (lmtp, db corruption) - Ahh! On Thu, 31 Oct 2002, Su Li wrote: > That will limit the number of lmtpd for sure. I tested with 1 users > and se

RE: Massive Problems (lmtp, db corruption) - Ahh!

2002-10-31 Thread Su Li
One more thing, the default maxchild is a number bigger thatn 200,000. I don't think any normal machine can handle that. We need to config the maxchild before it run. -Original Message- From: Rob Siemborski [mailto:rjs3@;andrew.cmu.edu] Sent: October 31, 2002 10:20 AM To: Su Li Cc

RE: Massive Problems (lmtp, db corruption) - Ahh!

2002-10-31 Thread Su Li
That will limit the number of lmtpd for sure. I tested with 1 users and send email at 15 msg/sec. No problem found. -Original Message- From: Rob Siemborski [mailto:rjs3@;andrew.cmu.edu] Sent: October 31, 2002 10:20 AM To: Su Li Cc: Joe Finkle; [EMAIL PROTECTED] Subject: RE: Massive

RE: Massive Problems (lmtp, db corruption) - Ahh!

2002-10-31 Thread Su Li
I don't know how to fix db issues. But I know how to limit the number of lmtpd processes. In master/master.c function void add_service(const char *name, struct entry *e, void *rock) add "Services[5].max_workers=6;" before " free(max);" It will limit the number of lmtpd to 6. I am suggeting,

RE: Auto Delete Mail for Aged Mails -- RE: When users delete mail, I want it to be moved to Trash.

2002-10-22 Thread Su Li
Sorry for the previous email. I got it. I need to login as user cyrus not root. Thanks, Su -Original Message- From: Ken Murchison [mailto:ken@;oceana.com] Sent: October 22, 2002 4:51 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: Re: Auto Delete Mail for Aged Mails -- RE: When users delete

RE: Auto Delete Mail for Aged Mails -- RE: When users delete mail, I want it to be moved to Trash.

2002-10-22 Thread Su Li
sges, there is no error message. I don't know how to get it working. Su -Original Message- From: Ken Murchison [mailto:ken@;oceana.com] Sent: October 22, 2002 4:51 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: Re: Auto Delete Mail for Aged Mails -- RE: When users delete mail, I want it t

Auto Delete Mail for Aged Mails -- RE: When users delete mail, I want it to be moved to Trash.

2002-10-22 Thread Su Li
As I saw a lot of discussion on deleting mail. I am think about auto delete the users email, when the emails' time stamp is 6 months ago or 1 year ago. I wonder if there is a function in Cyrus IMAP or tool that I can use to auto delete the "old" emails. So that I can free up the hard disk.

RE: Cyrus_Imapd problem

2002-10-06 Thread Su Li
Try read the log file /var/log/messages. It may have some error messages. Su -Original Message- From: Harsimran Hansrai [mailto:[EMAIL PROTECTED]] Sent: October 6, 2002 10:38 PM To: [EMAIL PROTECTED] Subject: Cyrus_Imapd problem Hi all I am configuring my Cyrus-imapd on my server and d

RE: Berkeley DB4 can;t allocate memory errors

2002-10-01 Thread Su Li
>From what I experienced. The delivery speed exceeds the capacity of IMAP server. There are a lot of lmtpd process and your are really ran out of memory. Just limit the speed of delivery from Sendmail. Or try tuning up the performence of IMAP server. Su -Original Message- From: Aidan E

RE: Can not logon to Sieve -- need help -- still need help

2002-09-27 Thread Su Li
Yes! I rerun the tools/mkimap. It works! Thanks a lot Jon. Thanks a lot Scott. This problem is with me for one week. Now I can put my scripts. Su -Original Message- From: Jon Mitchiner [mailto:[EMAIL PROTECTED]] Sent: September 27, 2002 12:47 PM To: Su Li; [EMAIL PROTECTED] Subject

RE: how many users can Cyrus server support? -- is 5.5 msg/sec slow?

2002-09-27 Thread Su Li
Maybe I should try this: For each hostname say a1.xzt.com, b2.xzt.com and c3.xyz.com, I use one Cyrus IMAP Server. I think I can some how may it working on Sendmail. By that I can run multiple copies of IMAP Server. I hope that can speed things up. Su -Original Message- From: Jeremy Rum

RE: Can not logon to Sieve -- need help -- still need help

2002-09-27 Thread Su Li
Hi, I saw a lot of mails on Sieve. I haven't gotten Sieve work for me. Thanks for Scott, I used "sieveshell --user=cyrus --auth=cyrus localhost". I got further. But I still get the following error, when I typed in password. I typed in password 3 times. Sep 27 11:28:47 web9 sieve[4111]: accept

RE: how many users can Cyrus server support? -- is 5.5 msg/sec sl ow?

2002-09-27 Thread Su Li
support? -- is 5.5 msg/sec sl ow? On Fri, Sep 27, Su Li wrote: > Yes MTA is a problem. When I stop sending emails and let Cyrus IMAP finish > the mails queued in Sendmail, I got more that 20 messages per second. > > I have tried to use Postfix. Probebly because I didn't setup P

RE: how many users can Cyrus server support? -- is 5.5 msg/sec sl ow?

2002-09-27 Thread Su Li
than using Sendmail. Su -Original Message- From: Kendrick Vargas [mailto:[EMAIL PROTECTED]] Sent: September 27, 2002 12:05 AM To: [EMAIL PROTECTED] Subject: RE: how many users can Cyrus server support? -- is 5.5 msg/sec sl ow? On Thu, 26 Sep 2002, Su Li wrote: > Hi Christian, > &

RE: how many users can Cyrus server support? -- is 5.5 msg/sec slow?

2002-09-26 Thread Su Li
Sent: September 26, 2002 11:24 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: RE: how many users can Cyrus server support? -- is 5.5 msg/sec slow? Hi, Please look at the LMTP source code. While lmtpd accepting a new message, it stores the message as a tmp file under disk for later parsing. To

RE: how many users can Cyrus server support? -- is 5.5 msg/sec slow?

2002-09-26 Thread Su Li
4:20 PM To: Su Li Cc: 'Lawrence Greenfield'; [EMAIL PROTECTED] Subject: Re: how many users can Cyrus server support? -- is 5.5 msg/sec sl ow? Su Li wrote: >Thanks Larry, > >But I did "For Sendmail 8.10 - 8.12.3, use the cyrusv2.mc file as a template >to create a Sendma

RE: how many users can Cyrus server support? -- is 5.5 msg/sec sl ow?

2002-09-26 Thread Su Li
- From: Lawrence Greenfield [mailto:[EMAIL PROTECTED]] Sent: September 26, 2002 12:20 PM To: [EMAIL PROTECTED]; Su Li Subject: Re: how many users can Cyrus server support? -- is 5.5 msg/sec sl ow? From: Su Li <[EMAIL PROTECTED]> Date: Tue, 24 Sep 2002 17:20:11 -0400 First of all

RE: Can not logon to Sieve -- need help

2002-09-26 Thread Su Li
cyrus /usr/sieve/' 'chgrp mail /usr/sieve'. Right now nothing is in /usr/sieve directory. Can you give me some instructions on creating sieve directory? Thanks a lot, Su -Original Message- From: Scott Russell [mailto:[EMAIL PROTECTED]] Sent: September 26, 2002 11:1

RE: Can not logon to Sieve -- need help

2002-09-26 Thread Su Li
Thanks Scott, PERL5LIB works! I tried 'sieveshell --user=cyrus --auth=cyrus localhost'. I got: Sep 26 10:43:10 web9 timsieved[23718]: mkdir /usr/sieve/c/cyrus: No such file or directory Sep 26 10:43:10 web9 timsieved[23718]: error in actions_setuser() So I went to /usr/sieve and 'mkdir c' and

RE: how many users can Cyrus server support? -- is 5.5 msg/sec slow? -- what?

2002-09-26 Thread Su Li
ation. Su -Original Message- From: ??? [mailto:[EMAIL PROTECTED]] Sent: September 26, 2002 2:35 AM To: Su Li; Steve Barber; [EMAIL PROTECTED] Subject: RE: how many users can Cyrus server support? -- is 5.5 msg/sec slow? I already tested cyrus imap with lmtp connection. At normal configur

Can not logon to Sieve -- need help

2002-09-25 Thread Su Li
Hi, I can not logon to Sieve using sieveshell. Here is what I have done. I compiled Cyrus IMAP with sieve. I tested Sieve by 'telnet localhost', I got: [root@web9 i386-linux]# telnet localhost sieve Trying 127.0.0.1... Connected to web4 (127.0.0.1). Escape character is '^]'. "IMPLEMENTATIO

RE: how many users can Cyrus server support? -- is 5.5 msg/sec slow?

2002-09-24 Thread Su Li
Steve Barber [mailto:[EMAIL PROTECTED]] Sent: September 18, 2002 2:39 PM To: Su Li Subject: Re: how many users can Cyrus server support? -- is 5.5 msg/sec slow? Su - Can you explain how you're measuring this? With sequential sendmail deliveries, or multiple deliveries in parallel? I suspect

RE: Really Need Help! -- Cyrus Imap Initialize Error

2002-09-23 Thread Su Li
Fort (Andy) Provident Solutions LLC. (615) 406-5540 http://www.provident-solutions.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:owner-info- >>[EMAIL PROTECTED]] On Behalf Of Su Li >>Sent: Monday, September 23, 2002 7:38 PM >>To: 'Ken Murchiso

RE: Really Need Help! -- Cyrus Imap Initialize Error

2002-09-23 Thread Su Li
IL PROTECTED] [mailto:owner-info- >>[EMAIL PROTECTED]] On Behalf Of Su Li >>Sent: Monday, September 23, 2002 7:38 PM >>To: 'Ken Murchison' >>Cc: [EMAIL PROTECTED] >>Subject: RE: Really Need Help! -- Cyrus Imap Initialize Error >> >>Hi, >> >>I am

RE: Really Need Help! -- Cyrus Imap Initialize Error

2002-09-23 Thread Su Li
ther thing can I do to get it compile? Thanks a lot for your help. Su (519)888-7465 ext 3041 -Original Message- From: Ken Murchison [mailto:[EMAIL PROTECTED]] Sent: September 23, 2002 8:06 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: RE: Really Need Help! -- Cyrus Imap Initialize

RE: Really Need Help! -- Cyrus Imap Initialize Error

2002-09-23 Thread Su Li
chison [mailto:[EMAIL PROTECTED]] Sent: September 23, 2002 4:48 PM To: Su Li Cc: [EMAIL PROTECTED] Subject: Re: Really Need Help! -- Cyrus Imap Compile Error Su Li wrote: > > Hi, > > So strange, I downloaded cyrus-imapd-2.0.16, it complies with no problem. > > All the troubl

RE: Really Need Help! -- Cyrus Imap Compile Error

2002-09-23 Thread Su Li
Hi, So strange, I downloaded cyrus-imapd-2.0.16, it complies with no problem. All the trouble start from I try to use db-4.1 BerkeleyDB. I am afraid to upgrade to a newer update now. Su -Original Message- From: Su Li [mailto:[EMAIL PROTECTED]] Sent: September 23, 2002 3:35 PM To

Really Need Help! -- Cyrus Imap Compile Error

2002-09-23 Thread Su Li
Hi, I posted the message, but I didn't get answer. I tried for 3 days compiling Cyrus Imap, but didn't success. I am compling cyrus-imapd-2.1.8, with db-4.0.14 and cyrus-sasl-2.1.7. The error message I got is: gcc -L/usr/local/lib -Wl,-L/usr/local/lib -Wl,-rpath,/usr/local/lib -Wall -g -O2

how to login to Sieveshell?

2002-09-23 Thread Su Li
Hi, I am trying to set up Sieve on Cyrus IMAP. I didn't use --disable-sieve when I don ./configure. I tested timsieved by "telnet localhost sieve" and got the answer back same as install-sieve.html shows. When I try "sievsshell localhost", sieveshell will ask me for password. I not sure what pa

RE: only half of the problem solved -- cyrus deliver slow -- speeded up!

2002-09-21 Thread Su Li
give me a big improvement in deliver speed. I did mean other tuning is not important. I am still looking for the bottle neck of speed delivery. Thanks all, Su -Original Message- From: Christian Schulte <[EMAIL PROTECTED]> To: Su Li <[EMAIL PROTECTED]> CC: [EMAIL P

Cyurs IMAP Compile Error -- undefined reference to `txn_checkpoin

2002-09-19 Thread Su Li
Hi, I was using BerkleyDB4.0 on Linux 7.3. I am tring to use BerkleyDB4.1. When I complie cyrus-imapd-2.1.8, I got the following error: gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/BerkeleyDB.4.0/lib -Wall -g -O2 -o imapd \ ../master/service.o pushstats.o backend.o imapd.o index

RE: only half of the problem solved -- cyrus deliver slow

2002-09-18 Thread Su Li
knows how to set up sendmail for lmtp socket delivery so that I don't get lots a deliver -e -m in the system? Thanks, Su -Original Message- From: Scott Russell [mailto:[EMAIL PROTECTED]] Sent: September 18, 2002 2:00 PM To: Su Li Cc: 'Lawrence Greenfield'; [EMAIL PROTE

RE: only half of the problem solved -- cyrus deliver slow

2002-09-18 Thread Su Li
postfix config file? Any one knows how to set up sendmail for lmtp socket delivery so that I don't get lots a deliver -e -m in the system? Thanks, Su -Original Message- From: Scott Russell [mailto:[EMAIL PROTECTED]] Sent: September 18, 2002 2:00 PM To: Su Li Cc: 'Lawrence

how many users can Cyrus server support? -- is 5.5 msg/sec slow?

2002-09-18 Thread Su Li
Hi, I have been trying my best to get better delivery speed of Cyrus server. Now I am stop at 5.5 mesg/sec. I wonder, can any body tell me how many users can your cyrus mail server support? --no matter what system or configuration you are using. Also if you can tell me how many emails through put

RE: only half of the problem solved -- cyrus deliver slow

2002-09-18 Thread Su Li
lto:[EMAIL PROTECTED]] Sent: September 17, 2002 3:36 PM To: [EMAIL PROTECTED]; Su Li Subject: Re: only half of the problem solved -- cyrus deliver slow What version of Sendmail are you using? You want Sendmail 8.12.4 or later. You should consider running Sendmail in deliverymode=queue with freque

RE: only half of the problem solved -- cyrus deliver slow

2002-09-18 Thread Su Li
s like the test tool's problem. I don't know how to limit the number of lmtp. If I can limit it by changing the code, will it help? Thanks, Su -Original Message- From: Rob Siemborski [mailto:[EMAIL PROTECTED]] Sent: September 17, 2002 3:01 PM To: Su Li Cc: [EMAIL PROTECTE

RE: stress testing

2002-09-18 Thread Su Li
Hi, I am runing two scripts, one sends emails to cyrus, the other does selection and fetch the email. I run into a lot of problems. You can search for su li -- my name too find the problems that I have :). Su -Original Message- From: Hein Roehrig [mailto:[EMAIL PROTECTED]] Sent

RE: only half of the problem solved -- cyrus deliver slow

2002-09-17 Thread Su Li
can not get it, unless I restart sendmail. Any thing else I should do? Thanks, Su -Original Message- From: Lawrence Greenfield [mailto:[EMAIL PROTECTED]] Sent: September 17, 2002 3:36 PM To: [EMAIL PROTECTED]; Su Li Subject: Re: only half of the problem solved -- cyrus deliver slow

only half of the problem solved -- cyrus deliver slow

2002-09-17 Thread Su Li
Hi, I am trying to speed up the speed of mail delivery. I have used separate disk for /spool/queue for sendmail, separate disk for /var/imap/ (fs: ext2). I moved syslog to another machine. I changed /var/imap to be no-sync by doing chattr -S. Now I did improved the speed of delivery to 5.5 mess