Re: STARTTLS on Cyrus IMAPd 2.3.11

2008-03-19 Thread Patrick T. Tsang
hello,

try this:
...
sasl_mech_list: PLAIN LOGIN
...

patrick



- Original Message - 
From: Jorey Bump [EMAIL PROTECTED]
To: Sebastian Hagedorn [EMAIL PROTECTED]
Cc: info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, March 20, 2008 6:49 AM
Subject: Re: STARTTLS on Cyrus IMAPd 2.3.11


Sebastian Hagedorn wrote, at 03/19/2008 04:03 AM:
 -- Jorey Bump [EMAIL PROTECTED] is rumored to have mumbled on 19.
 März 2008 01:09:31 -0400 regarding Re: STARTTLS on Cyrus IMAPd 2.3.11:

 Can anyone confirm that STARTTLS connections to
 port 143 work with 2.3.11?

 Of course they do. We've been running 2.3.11 for a few months now and
 haven't had any issues with it. There must be another variable somewhere
 - perhaps the OpenSSL version.

Thanks for the confirmation. I wasn't sure how widely deployed 2.3.11
is, since it's still listed as a testing release. I've just installed it
on a system like the one I have my production 2.3.7 instance on, and
it's displaying similar (but not identical) errors with OpenSSL 0.9.7l,
so it might not be related to the OpenSSL version. I have to do more
testing...

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: problem with timsieved 2.3.9

2007-11-20 Thread Patrick T. Tsang
Hello,

Can you try this?

...
sasl_mech_list: PLAIN LOGIN
allowplaintext: yes
pwcheck_method: PLAIN
...



  - Original Message - 
  From: Peter Nerád 
  To: info-cyrus@lists.andrew.cmu.edu 
  Sent: Tuesday, November 20, 2007 10:39 PM
  Subject: problem with timsieved 2.3.9


  Hi

  I have a strange problem. After upgrade to cyrus 2.3.9 I can't login to 
timsieved server. Old sieve scripts works fine but I can't add new ones. telnet 
localhost sieve, or sievtest -a root -u root localhost not working. I have no 
response on these commands from timsieved. There are no error messages in logs. 
I can login to imapd or pop3d, so auth woks fine.

  Thanks for any help.

   

  This is my imapd.conf

   

  configdirectory: /var/lib/imap

  partition-default: /var/spool/imap

  admins: cyrus root

  allowplaintext: true

  sievedir: /var/lib/imap/sieve

  sendmail: /usr/sbin/sendmail

  hashimapspool: true

  sasl_pwcheck_method: saslauthd

  sasl_mech_list: PLAIN

  #tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem

  #tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem

  #tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt

   

   

  Sorry for my English.

   

   



--


  
  Cyrus Home Page: http://cyrusimap.web.cmu.edu/
  Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
  List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Cyrus IMAPd 2.3.10 Released

2007-10-25 Thread Patrick T. Tsang
Hello Simon,

When your latest source rpm can be available on your download site?
I wonder when the statuscache could be offically patched...

BTW, the renaming folder patch requires admin ppl to cleanup (renamed) 
folders by script.
Is it possible possible to purge them immediately while users change them?

thx
patrick




- Original Message - 
From: Simon Matter [EMAIL PROTECTED]
To: Ian G Batten [EMAIL PROTECTED]
Cc: Ken Murchison [EMAIL PROTECTED]; Cyrus Mailing List 
info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, October 25, 2007 11:01 PM
Subject: Re: Cyrus IMAPd 2.3.10 Released


 
 On the Linux box, all fresh compilations aside from the sasl 2.1.15
 binaries:

 I once posted to the list that 2.3.9 needs at least cyrus-sasl-2.1.19. As
 a package maintainer I know that :)

 Regards,
 Simon


 imapd 2.3.7 + sasl 2.1.15: works
 imapd 2.3.7 + sasl 2.1.22: works
 imapd 2.3.9 + sasl 2.1.15: not tried
 imapd 2.3.9 + sasl 2.1.22: works
 imapd 2.3.10 + sasl 2.1.15: fails (cannot examine mailboxes, then
 coredumps prior to calling accept for second connection)
 imapd 2.3.10 + sasl 2.1.22: fails (SIGSEGV immediately after
 authentication)

 I've compiled 2.3.10 both -O2 and with optimisation turned off, to no
 effect.

 This is God's way of telling me to move onto a newer OS platform, I
 think.  I'll stick at 2.3.9 + 2.1.22, since it appears to work and
 it's obviously a better proposition that the 2.3.7+2.1.15 I was
 running previously.  It seems clear the problem has come in with
 2.3.10, and as the platform is horrid I'll stop investigating further.

 In the mean time, is there any way I can run replication from a
 master running 2.3.9 into a replica running 2.3.10?  Or should I back
 the replica out to 2.3.9 as well?

 ian




 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


8G RAM in 32bit platform

2007-07-13 Thread Patrick T. Tsang
Hello,

We will start up the mail server with 4G RAM.
As I know the 32bits cannot handle RAM more than 3.2G.

The client plans to upgrade the RAM to 8G in coming years.
Can the 64bits platform is the only solution to it?

Is there any outstanding problem of 64bits on Cyrus imapd server?

Thanks
Patrick

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: 8G RAM in 32bit platform

2007-07-13 Thread Patrick T. Tsang
Hello,

Sorry, I didn't mention it is Redhat AS5.0

The bigsmp no longer exists.

Anyone tried 32bits Redhat AS5.0 with 8G RAM for cyrus imapd?

Thanks
Patrick



- Original Message - 
From: David Carter [EMAIL PROTECTED]
To: Patrick T. Tsang [EMAIL PROTECTED]
Cc: info-cyrus@lists.andrew.cmu.edu
Sent: Friday, July 13, 2007 5:24 PM
Subject: Re: 8G RAM in 32bit platform


 On Fri, 13 Jul 2007, Patrick T. Tsang wrote:

 We will start up the mail server with 4G RAM.
 As I know the 32bits cannot handle RAM more than 3.2G.

 The client plans to upgrade the RAM to 8G in coming years.
 Can the 64bits platform is the only solution to it?

 You don't say which CPU or operating system you are using.

 The Linux bigsmp kernel supports PAE extensions on IA32 platforms: all 8 
 GBytes will be available as buffer cache, which is what matters to Cyrus.

 64 bit pointers don't really do anything: no single process in Cyrus needs 
 2 GBytes of address space. 64 bit integer arithmetic would be a slight 
 benefit for quota arithmetic (unsigned long long). However my systems 
 spend about 2% of their time in user CPU state according to vmstat. You 
 really aren't going to notice on any modern Intel/AMD CPU.

 -- 
 David Carter Email: [EMAIL PROTECTED]
 University Computing Service,Phone: (01223) 334502
 New Museums Site, Pembroke Street,   Fax:   (01223) 334679
 Cambridge UK. CB2 3QH.
 


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


FastMail.FM and autocreate folder/sieve patch conflict

2007-04-20 Thread Patrick T. Tsang
Hello,

I have applied most of the FastMail.FM patches. The only problem that I found 
that is the patch conflict of , autocreate folder/sieve patch, and statuscache 
patch.

As FastMail.FM never provides autocreate folder/sieve patch, I have to remove 
this old patch on 2.3.8 version.

I would like to know, if there is an alternative of autocreate patch?

Many thanks
Patrick

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: IMAP sync tool (rsync for IMAP)

2007-01-18 Thread Patrick T. Tsang

Hello,

This problem really annoys most people, including me.
The old version kills all the system memory and even create zombie.

syncinternaldates option is very important to many mail client.
By missing this option, I think this is a GREAT impact.

Hopely you guys find a prompt solution.

Greatly thanks
Patrick




- Original Message - 
From: Rich Graves [EMAIL PROTECTED]

To: info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, January 18, 2007 11:51 PM
Subject: Re: IMAP sync tool (rsync for IMAP)


I'd started taking this offline because it's not entirely on-topic for 
info-cyrus, but I realize that it has broad impact...


On Jan 3 2007, at 8:37 PM, Jo Rhett wrote:

On Jan 3, 2007, at 9:20 AM, James Miller wrote:
I have 2 users left on an OLD Cyrus installation I want to get off  
and was
hoping to use imapsync.  It seemed to work just fine except dates  
of the

messages from the old server to the new were not retained.  All of the
messages have the date they were imported instead.


You need the syncinternaldates.  Did you do a sync already without  
that option?  You need to toast the destination and resync it to get  
the dates fixed...


--syncinternaldates stopped working at imapsync 1.200 (current is 
1.204), as a side effect of the append_string-append_file change 
suggested by John Capo and Florin Andrei earlier in this thread, on Dec 
26, 2006. That change was made to avoid memory exhaustion, see 
http://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg31296.html


The underlying problem is that at least as of Mail::IMAPClient 2.2.9, 
the append_file function doesn't handle INTERNALDATE at all.


A bunch of people here have talked about minor patches to 
Mail::IMAPClient. Has anyone added the $d argument to append_file and 
verified functionality?


Most clients display Date: header, but some may show or use 
INTERNALDATE. For example, the Zimbra web interface is incapable of 
showing or sorting by Date:.


See also http://www.zimbra.com/forums/showthread.php?p=33880#post33880
--
Rich Graves [EMAIL PROTECTED]
Sr UNIX and Security Administrator
Ofc 507-646-7079 Cell 952-292-6529

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


IDLE is gone?

2007-01-16 Thread Patrick T. Tsang
hello,

I am using cyrus 2.3.7 downloaded from Simon RPM.

on /etc/cyrus.conf, I have included   idled cmd=idled.

I can also check that the idle socket is working fine.

However, why is no idle command available when I try to use telnet (port 143)?
there is iDLE on the CAPACITY list too..

Is IDLE gone?

Thanks
Patrick

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

SNMP agentx -P option no effect

2007-01-10 Thread Patrick T. Tsang
Hello ,

I am using the latest net-snmp 5.4 agentx support on cyrus 2.3.7.
It is working until I find its agentx cannot re-connect to the SNMP server.
The cyrus-master is running with -P 30 -x /var/agentx/master but the 
cyrus-master stops talking to the agentx if the SNMP service gets restarted. I 
have to restart the cyrus-imapd for reconnection.

Is there anyone who can help?

Thanks
Patrick

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: IMAP/POP traffic accounting

2006-11-30 Thread Patrick T. Tsang

Hello,

The current version support SNMP. It works on my own linux box.
However, the agentx is not working very well.

The old method of keeping checking log and INBOX are not good enough to show 
the actual flow.


I really wonder why there is no one to have a deep looking on it.

Regards
Patrick



- Original Message - 
From: Anthony Tibbs [EMAIL PROTECTED]

To: info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, November 30, 2006 2:23 AM
Subject: IMAP/POP traffic accounting


I believe there was some mention of this in the past, but I'm wondering 
whether there are any known efforts to implement network traffic accounting 
in the later versions of Cyrus, or if this is still something that hasn't 
been dealt with.  I am pondering possibly tackling this, but I'm not really 
familiar with the Cyrus code and would rather not reinvent the wheel if 
it's already in the works.


On the surface, this appears to be fairly straight forward, what with the 
protocol abstraction already in place (where recording could be done at or 
around the same place as telemetry logging) ... or is there something I'm 
missing about this idea that makes it significantly more complicated than 
it first appears?






Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html





Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


SNMP agentx -P option no effect

2006-10-22 Thread Patrick T. Tsang



Hello ,

I am using SNMP agentx support on cyrus 
2.3.7.
It is working until I find its agentx cannot 
re-connect to the SNMP server.
The cyrus-master is running with "-P 30 -x 
/var/agentx/master" butthe cyrus-masterstopstalking to the 
agentx if the SNMP service gets restarted.

Is there anyone who can help?

Thanks
Patrick


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: SNMP agentx -P option no effect

2006-10-22 Thread Patrick T. Tsang

Hello Igor,

yes, I am using net-snmp 5.3.0 on RHAS3 and RHAS4.

Thanks
Patrick

- Original Message - 
From: Igor Brezac [EMAIL PROTECTED]

To: Patrick T. Tsang [EMAIL PROTECTED]
Cc: info-cyrus@lists.andrew.cmu.edu
Sent: Sunday, October 22, 2006 9:11 PM
Subject: Re: SNMP agentx -P option no effect




On Sun, 22 Oct 2006, Patrick T. Tsang wrote:


Hello ,

I am using SNMP agentx support on cyrus 2.3.7.
It is working until I find its agentx cannot re-connect to the SNMP 
server.
The cyrus-master is running with -P 30 -x /var/agentx/master but the 
cyrus-master stops talking to the agentx if the SNMP service gets 
restarted.


Is there anyone who can help?


Are you using Net-SNMP 5.x?

--
Igor





Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Migrate QMail to Cyrus

2006-07-20 Thread Patrick T. Tsang


Read this link, and then you know why mailutil is NOT good enough.

http://www.webservertalk.com/message1280487-1.html


I am also having this problem.
To improve the speed, I have to tar the mail to the new server and do 
reconstruct, and then use imapsync to re-build the imap flag and re-subscrib 
the imap folder.

However, I am still not satisfied by this method.

Please kindly share me a better way.

BTW, people using SAN for clustering solution is welcome, too.

Patrick





- Original Message - 
From: Bjoern Burger [EMAIL PROTECTED]

To: info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, July 20, 2006 5:11 PM
Subject: Migrate QMail to Cyrus



Hello,

we have sucessfully installed a mailserver with Sendmail, MySQL and Cyrus.
Now we want to migrate the user mails from the old server (qmail) to the 
new.


I have tried imapsync and it works fine, but it takes too long for our not 
so small imap-folders.
So we are looking forward to find another solution. We have thought about 
copying  the old qmail mails to the new server and migrate them to Cyrus.
But we have not found a solution yet where we could keep flag informations 
like read or unread.


Could anyone give me a piece of advise in this matter?

Best regards,

Bjoern Burger


Virus checked by G DATA AntiVirusKit



Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


2.3.7 replication (#1)

2006-07-16 Thread Patrick T. Tsang



Hello all,

I have just leant that the virtual user is 
finally supported in 2.3.7.
My problem is then shifting to that of the 
virtual user account and the quota are being "transferred" to the Replica or 
not.

All my virtual users are kept in LDAP, the client 
(frontend server) reads all information from LDAP.
The replica has no initial IMAP user database, 
ie. no account and no quota.

Will the cyrus imap create the user db on the 
replica when the client requests it?
or I have to prepare the user db on the replica 
first?


Thanks
Patrick





Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

2.3.7 replication - sync mail (#2)

2006-07-16 Thread Patrick T. Tsang



Hello,

Will I have to sync (ie. imapsync) all the mails 
from the client to the replica at the first run?
Is there any way to "replicate" (NOT sync) 
actively all the emails to the newly added replica?

For the moment, there are only one client and one 
replica in my test.

Thanks
Patrick




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Fw: 2.3.7 replication (#3)

2006-07-16 Thread Patrick T. Tsang



Hello,

My client and replica are running with 

unixhierarchysep: 1

The replica can successfully create the user db 
with correct quota.
When I remove the account on the client, the 
replica maillog shows me that :

Jul 17 13:35:40 www syncserver[6820]: LOSTQUOTA: 
unable to remove quota root xxx.com!user.tester for .com!user.tester: 
Mailbox does not exist

OK,

I think it ignores the Unix Hierarchysep 
support.

Thanks
Patrick










Hello all,

I have just leant that the virtual user is 
finally supported in 2.3.7.
My problem is then shifting to that of the 
virtual user account and the quota are being "transferred" to the Replica or 
not.

All my virtual users are kept in LDAP, the client 
(frontend server) reads all information from LDAP.
The replica has no initial IMAP user database, 
ie. no account and no quota.

Will the cyrus imap create the user db on the 
replica when the client requests it?
or I have to prepare the user db on the replica 
first?


Thanks
Patrick





Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: migrating from dovecot to cyrus

2006-06-27 Thread Patrick T. Tsang

The biggest show stopper (apart from the hard work...) is the loss of the
Seen flag.



use imapsync to re-match imap flag and subscribe the imap folder.

Patrick



- Original Message - 
From: Ciprian Vizitiu [EMAIL PROTECTED]

To: info-cyrus@lists.andrew.cmu.edu
Sent: Tuesday, June 27, 2006 4:32 PM
Subject: RE: migrating from dovecot to cyrus





 What would be an recommended way to move maildirs (one file per
 message) to the cyrus storage for several thousand maildirs?

FYI: cyrus doesn't use maildir format...


... True. But if you're really desperate and since the messages in
maildir(s) are all separated files (not one big mbox) all you have to do 
is:


1. Stop maildir delivery
2. Create the same folder structure in /var/spool/whatever (probably by
altering the mailbox list file via text export/import)
3. Copy all the message files from maildir (while giving them a name in 
the

line of the ones used by Cyrus)
4. reconstruct.

The biggest show stopper (apart from the hard work...) is the loss of the
Seen flag.


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: migrating from dovecot to cyrus

2006-06-27 Thread Patrick T. Tsang


I always say Cyrus is the best open IMAP server that I have ever used.
It implements openldap to ease most of my system setup problems.

You may consider using imapsync to re-match the imap mail flags and 
re-subscribe the mail folders.


Patrick



- Original Message - 
From: Marten Lehmann [EMAIL PROTECTED]

Cc: info-cyrus@lists.andrew.cmu.edu
Sent: Tuesday, June 27, 2006 8:49 PM
Subject: Re: migrating from dovecot to cyrus



Hello,

Just out of curiosity, what kind of performance problems at what load do 
you have. It was claimed that dovecot is really fast and we plan to 
evaluate it in the near future for some projects so any hints where to 
dig are welcome.


the difference is, that cyrus handles a lot of things while the mail is 
being delivered, which saves a lot of time. We had to split the incoming 
mailserver (smtp) and the pop3/imap server because one server couldn't 
handle the load any longer.


Example delivery with exim+dovecot:
To check the quota, exim has to count all messages (files) in all 
directories in the maildir (very timeconsuming with NFS mounted maildirs).
Then the message is delivered to maildir/tmp and moved to maildir/new 
(another two NFS operations).
When a user is connecting to IMAP now, dovecot has to look through all 
directories within the maildir of files or gone, new ones appeared and 
build the cache and index accordingly. This is done locally on the disk, 
so it is a bit faster, but it is time consuming on big maildirs anyway.

Now dovecot can start serving the new message.

Example delivery with exim+cyrus:
Exim sends to message to cyrus via unix socket or tcp socket. The rest is 
done locally on the cyrus backend server:

Checking for quota
Updating indizes
Possibly notifying an existing imap-connection about the new message
So the delivery is very fast, because cyrus doesn't have to look through 
all messages to check the quota: It can be looked up in the index.
When the user is connecting to IMAP, the index is already prepared, cyrus 
doesn't have to look for changes in the maildir at this stage so it can 
serve the new message immediately.


In small setups with everything on one server, exim (or any other mta) + 
dovecot should work fine, while cyrus is maybe a bit more complicated to 
setup. But with bigger setups (or expected growth in the future) cyrus and 
its option of cyrus murder should scale better.


Regards
Marten

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: what is the best way to migrate

2006-06-22 Thread Patrick T. Tsang

Running imapsync in auth mode. you should enable the IMAPS (port 993) for
this.

I use ssh to pipe the mail tar to the target server, extract the tar file on
the user folder, run reconstruct, and finally use imapsync to subscribe the
imap folders and recreate the mail flag.
We have already built a complete cyrus migration tool with the help of
reconstruct and imapsync.

Patrick


- Original Message - 
From: Rudy Gevaert [EMAIL PROTECTED]

To: cyrus Mailing List info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, June 22, 2006 10:12 PM
Subject: Re: what is the best way to migrate



Timo Schoeler wrote:



http://www.linux-france.org/prj/imapsync/

helped me several times. it's an awesome tool imho ;)



I'm still looking for a way to do the sync without knowing the password
of the user.  Any idea's?

Rudy

--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: How to remove the Cyrus header in mail for security purpose?

2006-04-25 Thread Patrick T. Tsang

Hello,

I am using Simon's RPM for development.
I would like to remove Cyrus v2.3.3-Invoca-RPM-2.3.3-4 and replace it with
IMAP4 server
These words, will be prompted in console mode, in which I want to suppress
them.

I know there may be no use in security issue, but better than nothing.

quote:
==
Received: from mail01..com ([unix socket])
 by mail.opesware.com (Cyrus v2.3.3-Invoca-RPM-2.3.3-4) with LMTPA;
 Tue, 25 Apr 2006 12:29:34 +0800
X-Sieve: CMU Sieve 2.3


so, Which files I should touch?

Thanks
Patrick


- Original Message - 
From: Michael Loftis [EMAIL PROTECTED]

To: info-cyrus@lists.andrew.cmu.edu
Sent: Tuesday, April 25, 2006 11:52 AM
Subject: Re: How to remove the Cyrus header in mail for security purpose?





--On April 25, 2006 10:13:01 AM +0800 Patrick T. Tsang 
[EMAIL PROTECTED] wrote:




Hello,

I have searched the old posts but I cannot find any hints to remove the
Cyrus header in mail message.
Anyone who can help me finding which files I should touch?


Be more specific, which header precisely.  Further you're not adding a 
single iota of security, and you'll be making debugging harder down the 
road.  It's a bad idea(tm) to suppress things like Received headers in the 
name of some completely botched idea of 'security.'  It won't make you any 
more secure.


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: How can I enable/force compression?

2006-04-25 Thread Patrick T. Tsang


- Original Message - 
From: Ciprian Vizitiu [EMAIL PROTECTED]

To: info-cyrus@lists.andrew.cmu.edu
Sent: Tuesday, April 25, 2006 4:54 PM
Subject: How can I enable/force compression?




Hi everybody,

One user has more than 20.000 messages in Inbox. And he's an Outlook user.
And one normally does not tell the CEO what to do. So; It used to be that
upon first login in the morning it took more some 1 minute to get the
headers in Outlook; but ever since the upgrade from 2.2.8 to 2.2.12 and
enabling squatter, the login has increased to 25 minutes! =:-o Which time 
is

spent mostly in fetching the headers and updating the Outlook local cache.

I've noticed that the very same operation performed via SSH (143 forwarded
via the user's DSL) is significantly faster when I enable compression on
SSH; funny I know, encryption should tax the whole process badly but 
then...
Anyway here's my question: is there anyway that I can enable compression 
or

SOMETHING?


... And then although this id definitely NOT the place to ask, maybe a 
kind
soul on this list has a any constructive hints for me regarding why 
Outlook
insists into re-reading all the god damn headers every-time to begin 
with...

:-(




It seems it is the problem of Outlook, NOT cyrus problem.
I still have the same problem of using Outlook for a very IMAP quota since 
the outlook uses mailbox file to store the IMAP folders, including INBOX.
Office 2003 Outlook is better to handle large file in my own test, but it is 
still very slow to fetch mail from IMAP server.
My suggestion is to distribute the mails in INBOX to several IMAP folders 
and this will divide the single large file of INBOX mailbox file on the 
client PC to several relatiively smaller mailbox files.
This may reduce the CPU and RAM requirement and hence a faster mail 
checking.


Hope this helps.

Patrick






Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


How to remove the Cyrus header in mail for security purpose?

2006-04-24 Thread Patrick T. Tsang



Hello,

I have searched the old posts but I cannot find 
any hints to remove the Cyrus header in mail message.
Anyone who can help me finding which files I 
should touch?

thanks
Patrick



Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Conditions to trigger replication in 2.3.3

2006-04-12 Thread Patrick T. Tsang



Hello all,

What are the conditions to trigger the 
replication in ver.2.3.3?

My testing platform shows me that only the 
TOUCHED imap folder and TOUCHED email(imap flag: SEEN state will 
not!)will do.
I have some old imap folders created before the 
replica is done.
These folders will not replicate in my 
test.
Also, all imap emails with SEEN status will not 
replicate, too.

Are these normal in this 2.3.3 replication 
feature?
Please kindly tell me if I am wrong.

Thanks
Patrick


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: How can I restore the \Seen state from backup?

2006-04-09 Thread Patrick T. Tsang

Hello,

I have seen there is no solution of re-construction.
The only way is to do imapsync.

As long as I know, cyrus imapd comes with no solution of keeping user mail 
status.
I tested to copy all /var/lib/imap files to the target server and do mail 
reconstruct, it worked but it is not practical since I have to shut down the 
cyrus server.


Patrick




- Original Message - 
From: Ciprian Vizitiu [EMAIL PROTECTED]

To: info-cyrus@lists.andrew.cmu.edu
Sent: Monday, April 10, 2006 4:54 AM
Subject: How can I restore the \Seen state from backup?




Hi everybody,

SomeUser deletes SomeFolder by mistake; so I bring
/var/spool/imap/s/user/someuser/SomeFolder content back from tape; I stop
cyrus, I export mailbox.db, I edit it, add back user.someuser.SomeFolder
default lrswpcida, import mailbox.txt, reconstruct -f -r someuser start
cyrus. I can again subsribe to that folder BUT all mails are brand new;
for some 8000 mails this might not be an option. What am I missing from 
the

restoration process? Obviously I can not simply restore .../someuser.seen
from tape as in between the deletion of the folder and my restoration from
tape the user has \Seen other mails; someuser.seen is skiplist.



Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus imapd LDAP connection without saslauthd?

2006-01-25 Thread Patrick T. Tsang



Hello,

I have seen there are some parameters in 
/etc/imapd.conf for LDAP connection.
However I cannot see any for user password 
login.

How can I connect to LDAP server without 
saslauthd?

Regards
Patrick



Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

How to do IMAP folder subscrib using cyradm?

2005-11-06 Thread Patrick T. Tsang



Hello,

I can login as cyrus admin, create user account 
and folders.
But how to subscrib the folders? 
seems cyradm and its provided 
/Cyrus/IMAP/Admin.pm doesn't have this command.

Thanks
PT


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Ken, When will the 2.3 release?

2005-10-31 Thread Patrick T. Tsang



Hello Ken,

I am waiting for the 2.3 version since I need 
replication and global sieve support.

Thanks
Pat


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Subscribe user folder using telnet

2005-10-25 Thread Patrick T. Tsang



Hello,

I would like to use telnet (console) to subscribe 
user IMAP user folders.
How to do it?
What is the standard way / command ?

Since I login onto the IMAP server using the root 
user, cyrus, 
I can do many things but I cannot subscribe user 
IMAP folders.

Please help.

Regards
Patrick


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Subscribe user folder using telnet

2005-10-25 Thread Patrick T. Tsang

Thanks Ken

This is still a good way.
However, is there any commands which is working for subscribing user IMAP
folder using root admin,cyrus, in telnet mode?
This is important to my company project since we will access the cyrus mail
server using socket connection.

BTW, how to PIPE subscribe command into imtest such that I can do the
subscription by just one single shell command line?

Regards
Patrick


- Original Message - 
From: Ken Murchison [EMAIL PROTECTED]

To: Patrick T. Tsang [EMAIL PROTECTED]
Cc: info-cyrus@lists.andrew.cmu.edu
Sent: Tuesday, October 25, 2005 9:49 PM
Subject: Re: Subscribe user folder using telnet



Patrick T. Tsang wrote:

Hello,

I would like to use telnet (console) to subscribe user IMAP user folders.
How to do it?
What is the standard way / command ?

Since I login onto the IMAP server using the root user, cyrus,
I can do many things but I cannot subscribe user IMAP folders.


Rather than using telnet, use imtest which can do the proxy
authentication that you need.  Do something like this:

imtest -t '' -m plain -a cyrus -u user servername

When prompted, enter the password for cyrus (alternatively, use the -w
option to put the password on the command line).


This will use the PLAIN mechanism under a TLS layer to authenticate you
as cyrus, but authorize you as whatever user that you want to have
subscribe to mailboxes.

--
Kenneth Murchison
Systems Programmer
Carnegie Mellon University




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus IMAP and Blackberry

2005-06-23 Thread Patrick T. Tsang



Hello,

I have some value clients who are using 
Blackberry to connect to the Cyrus IMAP (ver.2.2.12).
There was no problem when it was version 
2.1.

After upgrade to ver.2.2.12, all my blackberry 
clients (using IMAP) complaint that their mail index cannot update even though 
they had deleted some mails on the server.

From the /var/log/maillog file: 

Jun 19 04:16:04 mail imap[22764]: SQUAT failed to 
open index fileJun 19 04:16:04 mail imap[22764]: SQUAT 
failed
I have no idea if this is the main 
problem.

Please kindly help if you have such 
experiences.

Pat


reject8bit problem

2004-12-08 Thread Patrick T. Tsang



Hello,

I havea problem on the mail subject which 
contains no encoding.

in /etc/imapd.conf, I have included the line " 
reject8bit: no " but nothing happen.
It shows me "" again.

How can I allow the 8bit charactor without 
encoding on the subject?

Thanks
Patrick



Upgrade from 2.1.16 to 2.2.8

2004-10-25 Thread Patrick T. Tsang



Hello,

I have a client who is using cyrus-imapd 
2.1.6.
I downloaded it from Simon Matter RPM website and 
connected it to mysql backend.
It works fine for nearly a year.

I would like to know if there is problem to 
upgrade it to the latest 2.2.8

Simon, Can I just run the RPM (2.2.8) upgrade 
directly? and keep the same imapd.conf ?

I have to confirm this before upgrading 
it.

Thanks
Patrick







Cyrus subfolers demaged after rename

2004-06-20 Thread Patrick T. Tsang
Dear sirs,

For cyrus-imapd-2.2.5
I have tried making some subfolders with altnamespace:yes in /etc/imapd.conf
without problem.
say:  -  - 
(I use M$ Outlook expres)

However, If I rename the folder, , to , the subfolders of it just
gone (can't be seen).
It still in the mail server but it's index is just gone.

The cyrus-imapd-2.1.x doesn't has this problem.
Any helps of this?

Patrick


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrus-sasl-2.1.17 and 2.1.15 [%u@%r] ?

2004-06-18 Thread Patrick T. Tsang
Hello ,

I have just upgraded the cyrus-sasl 2.1.15 to 2.1.17 with several patch.
the usual switch %u  on /etc/saslauthd.conf is no longer working !
The latest 2.1.17 changes it to be [EMAIL PROTECTED] if I want the full email address 
as
the login name.
(I use LDAP backend)

It's fine for general use but it makes not possible to login as local user
(eg. mymailuser, no domain name)
Is there any workaround for this?

Regards
Patrick



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


strange problem of global admin

2003-12-30 Thread Patrick T. Tsang
Hello all,

I know many of you are disscussing some problems on virtual domain and
global admin.
I have also read many of those problems which are very similar to my case.

However I would like to mention again a strange problem on the admins
parameters in /etc/imapd.conf

The problem is:
My value for admins is:
admins: cyrus admin
(/etc/imapd.conf)

If I create a vitual user account, say [EMAIL PROTECTED] , then I can no way
to delete it if I login in as cyrus.
It is supposed the global admin, cyrus, should be able to erase it.
In this case I have to login as admin and it is done.

so I would like to know how the global admin works?

By the way, the defaultdomain parameter is also very confusing to me since
the value should appear in /etc/hosts?! WHY?

Best Regards
Patrick Tsang



Re: Problem with RENAME

2003-11-06 Thread Patrick T. Tsang
- Original Message - 
From: Andrew Morgan [EMAIL PROTECTED]
To: Etienne Goyer [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 5:28 AM
Subject: Re: Problem with RENAME




 On Wed, 5 Nov 2003, Etienne Goyer wrote:

  Hi,
 
  On the system I work, it is being considered to backup mailbox instead
  of destroying them when a user is deleted from the system.  The idea is
  that instead of deleting the mailbox, it would be moved somewhere else,
  possible to be restored.  I know I could just dump the mailbox somewhere
  and delete it within Cyrus, but I would prefer to do this within IMAP.
 
  When logged on as an admin, here is what I get when trying to RENAME a
  top-level mailbox to a special backup mailbox :
 
  * OK mail Cyrus IMAP4 v2.1.13 server ready
  . login admin *
  . OK User logged in
  . rename user.gwb user.backup.gwb
  . NO Operation is not supported on mailbox
 
 
  admin have ACL lrswipcda on both user.gwb and user.backup.  If this is
  of any importance, this is being done in a Murder.
 
  What does the Operation is not supported on mailbox mean ?  Is there
  any other way to achieve the same result ?
 
  Thanks for your insight !

 Cyrus 2.1.x does not support renaming user.xxx mailboxes.  I don't know if
 Cyrus 2.2.x does or not.

 I've written a pair of perl scripts that we use here when someone asks to
 have their username changed.  One script copies a mailbox to a new
 mailbox.  The other script deletes a mailbox.  I'm willing to share these
 scripts if there is interest.

 Andy



Cyrus 2.2.2 BETA supports mailbox deletion.

in /etc/imapd.conf

allowusermoves: yes

I tested it and it works.
I don't know if it can cater sieve scripts.


Patrick




Re: Problem with RENAME

2003-11-06 Thread Patrick T. Tsang

- Original Message - 
From: Simon Matter [EMAIL PROTECTED]
To: Andrew Morgan [EMAIL PROTECTED]
Cc: Etienne Goyer [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 3:58 PM
Subject: Re: Problem with RENAME


 
 
  On Wed, 5 Nov 2003, Etienne Goyer wrote:
 
  Hi,
 
  On the system I work, it is being considered to backup mailbox instead
  of destroying them when a user is deleted from the system.  The idea is
  that instead of deleting the mailbox, it would be moved somewhere else,
  possible to be restored.  I know I could just dump the mailbox
somewhere
  and delete it within Cyrus, but I would prefer to do this within IMAP.
 
  When logged on as an admin, here is what I get when trying to RENAME a
  top-level mailbox to a special backup mailbox :
 
  * OK mail Cyrus IMAP4 v2.1.13 server ready
  . login admin *
  . OK User logged in
  . rename user.gwb user.backup.gwb
  . NO Operation is not supported on mailbox
 
 
  admin have ACL lrswipcda on both user.gwb and user.backup.  If this is
  of any importance, this is being done in a Murder.
 
  What does the Operation is not supported on mailbox mean ?  Is there
  any other way to achieve the same result ?
 
  Thanks for your insight !
 
  Cyrus 2.1.x does not support renaming user.xxx mailboxes.  I don't know
if
  Cyrus 2.2.x does or not.
 
  I've written a pair of perl scripts that we use here when someone asks
to
  have their username changed.  One script copies a mailbox to a new
  mailbox.  The other script deletes a mailbox.  I'm willing to share
these
  scripts if there is interest.

 I'd be interested to put them into contrib in my rpms, if the license
 permits it.

 Simon

 
  Andy
 


What about sieve script?
If the perl script can move script and compile it, it is useful.

Best Regards
Patrick Tsang



perl: No worthy mechs found

2003-09-24 Thread Patrick T. Tsang
hello,

using cyrus-imapd-2.2-1 beta, found that the error log:

perl: No worthy mechs found

However, I have no problem to login .
My server is running RH9 with SASL 2.1.15

Any helps?

[EMAIL PROTECTED]




Cyrus 2.2-1 Beta Global Admin (cyrus) problem

2003-09-23 Thread Patrick T. Tsang
hello,

I have tried the Cyrus 2.2-1 Beta on RH8 and RH9.
It is very strange that the line in /etc/imapd.conf :  admins: cyrus  does
not behave the same.

Since I use saslauthd with mech=LDAP, I have the record for
[EMAIL PROTECTED] (!) because
On RH8, it acts as the global admin which can modify all the users for
different domains.
It uses [EMAIL PROTECTED] as the global login(!).
The log shows that the login name is [EMAIL PROTECTED] , even I just type 
cyrus .
It just appends the @localdomain after the name?!

On RH9, it is NOT the case.
using the same LDAP, the [EMAIL PROTECTED] is the user(cyrus) for the
domain, localdomin!?
The log shows that the login name is [EMAIL PROTECTED] , even I just type 
cyrus .

The cyrus admin has disappeared. And I cannot find a way to use cyrus admin
again.

Do anyone can clarify and provide me the guideline for this?

Patrick Tsang




Re: Changing Cyrus to accept 8bit subjects

2003-09-22 Thread Patrick T. Tsang
Could you show me the modification and let me test them?
Thanks
[EMAIL PROTECTED]



 Actually most of the users just set a default charset and everything
 works fine with them.
 I know it breaks the standard, but we have to do it.


 Rob Siemborski wrote:

 On Mon, 22 Sep 2003, Rayed Alrashed wrote:
 
 
 
 I just modified my Cyrus IMAP to make it accept 8 bit subjects without
 changing it to the letter 'X', I changed these two files:
 imap/lmtpengine.c
 imap/message.c
 I tested it and it seems to work fine.
 
 My question is this change safe? I am afraid it might break Cyrus
 database format.
 
 
 
 Since the messages aren't really usable anyway, the change is safe.
 But the messages are meaningless -- without being properly encoded with a
 character set, 8 bit characters are just as useful as an 'X'.
 
 -Rob
 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
 Research Systems Programmer * /usr/contributed Gatekeeper
 
 
 







Global admin?

2003-08-14 Thread Patrick T. Tsang



I have tried to setup the global admin for 2.2.1 
beta according to the doc but I failed.
I have also read the mailling list, just found a 
litte help...

Platform:
RH 9
Cyrus-imapd-2.2.1 beta
Cyrus-2.1.15
Openldap 2.1.22-4 (rawhide)

This is my extract of my config files:
/etc/imapd.conf,
...
admins: cyrus [EMAIL PROTECTED]defaultdomain: 
localdomain...

All the user records are kept in openldap 
2.1.22.

If I type: " cyradm 
--user cyrus localhost " , the log tells me that it is [EMAIL PROTECTED].
I thought it is the global admin, but it doesn't 
since there are some domains which are added by [EMAIL PROTECTED],
I even can't list the domain user mailbox,nothing 
in here using " cyrus " login.
So I think the [EMAIL PROTECTED] user is just one of the 
domain user which is NOT global user.
How to setup the global admin user?

Seems that some users have the same problems. 

Anyone can help?

Patrick