Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Patrick Radtke
Sorry, I must have butchered the original patch when I was pulling it out of a larger patch (that does some Columbia specific stuff). Igor's patch makes it look like the correct version. -Patrick The last commit has an issue. Please try this patch and report back: --- ldap.c.orig

Re: Odd quota problem

2006-08-03 Thread Patrick Radtke
have you tried fixing the quota cyr_quota -f user.username (The name for cyr_quota may be quota depending on your installation) also what version of Cyrus? -Patrick On Aug 3, 2006, at 10:49 AM, Karl Boyken wrote: We have one user who has very large disk usage, 3,880,884 kb. His quota is

Re: Odd quota problem

2006-08-03 Thread Patrick Radtke
Is all that usage for his INBOX? If it is spread across multiple IMAP folders then you could set a quota separately for each one. It may be that you are suffering from the 2GB quota limit in Cyrus 2.2 that Daniel mentioned. Maybe just remove his quota? liverwurst.cc.columbia.edu sq

Re: sieve[25275]: Couldn't find mech PLAIN

2006-08-03 Thread Patrick Radtke
What program are you using to connect to the sieve port? What does imtest -p 2000 hostname tell you on the SASL line? mine says S: IMPLEMENTATION Cyrus timsieved v2.2.12 S: SASL GSSAPI PLAIN S: SIEVE fileinto reject envelope vacation imapflags notify subaddress relational

Re: SSL certs on proxy pool?

2006-08-02 Thread Patrick Radtke
we have a mail.columbia.edu cert on each of our frontends. They are behind a load balancer which has the name mail.columbia.edu. Clients connect to the load balancer which passes them to one of the frontends. The CN name in the cert matches the name the client thinks they connected to and

Re: cyradm problem. sasl?

2006-07-27 Thread Patrick Radtke
what happens if you do --auth LOGIN instead of PLAIN? PLAIN requires start TLS. The version of Cyrus you are using probably doesn't support startTLS with cyradm. -Patrick On Jul 27, 2006, at 8:57 AM, jocke khazad wrote: Hello everyone! Iam trying to setup a mailserver with postfix,

Re: cyradm lm returns empty list but mailboxes are accessible via

2006-07-24 Thread Patrick Radtke
what command line options are you using with cyradm? do you have GSSAPI enabled and Keberos in your environment? On Jul 23, 2006, at 11:25 AM, [EMAIL PROTECTED] wrote: I asked this question (see below) two weeks ago but had no reply. Just posting it one more time, hoping to get an answer :)

Re: Starting cyrus - what output should I see?

2006-07-12 Thread Patrick Radtke
you probably want to use '-d' instead of '' to make master run in the background. After that you can look in log files for cyrus. The location of the log file depends on your syslog.conf ( I think wherever local6.* points to). Any problems should be reported there. On Jul 12, 2006, at

Re: Murder without Kerberos?

2006-07-06 Thread Patrick Radtke
We use PLAIN to authenticate between all the machines in our murder. What version of Cyrus are you using? do you have a sasl_mech_list: line in your imapd.conf? Can you auth using imtest and DIGEST-MD5? Do you support other mechanisms for users? -Patrick On Jul 6, 2006, at 8:54 AM, Andrew

Re: Murder without Kerberos?

2006-07-06 Thread Patrick Radtke
(for tls)) to connect to backends, and then see if the backends will communicate correctly. -Patrick On Jul 6, 2006, at 2:32 PM, Andrew Findlay wrote: On Thu, Jul 06, 2006 at 11:43:50AM -0400, Patrick Radtke wrote: We use PLAIN to authenticate between all the machines in our murder

Re: defeated about Murder.....

2006-06-19 Thread Patrick Radtke
I've tried to summarize the different ways of doing mail delivery in a murder http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/ CyrusMurderMailDelivery There are some brief instructions on setting up lmtpproxyd to query the localhost. Try those out and let me know if you have questions.

Re: defeated about Murder.....

2006-06-19 Thread Patrick Radtke
I also added http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/WhyMailDeliverySlow to the FAQ It lists the causes of mail delivery problems that we've seen. -Patrick On Jun 18, 2006, at 8:57 AM, Andrzej Kwiatkowski wrote: Hi.. I'was thinking that Murder is a very good concept for cyrus...

Re: PTLOADER and LDAP for authorization and ptloader dies

2006-06-15 Thread Patrick Radtke
Does ptloader die in both 2.2.12 and 2.3.3 or only 2.3.3?I've seen it die like that in 2.3 (don't recall the minor version), but never had a chance to investigate it.-PatrickOn Jun 15, 2006, at 5:30 AM, Sebas PRE wrote:This is my intallation:- Red Hat Enterprise 3- imapd-2.2.12 or imapd-2.3.3 (I

Re: problem with :DBERROR db4: Logging region out of m

2006-06-08 Thread Patrick Radtke
On Jun 8, 2006, at 7:28 AM, Marek Must wrote: Jun 8 14:04:48 mail lmtpunix[13729]: DBERROR db4: Logging region out of memory; you may need to increase its size Jun 8 14:04:48 mail lmtpunix[13729]: DBERROR: opening /var/lib/ imap/deliver.db: Cannot allocate memory Jun 8 14:04:48 mail

Re: cyrus ACL and groups ...

2006-06-05 Thread Patrick Radtke
I'm not sure if there is anything besides 'man imapd.conf' On Jun 5, 2006, at 3:28 AM, Brasseur Valéry wrote: That nearly what i am looking for !!! Where is the doc for pts ? and the LDAP part ? Thanks -Message d'origine- De : Patrick Radtke [mailto:[EMAIL PROTECTED] Envoyé

Re: cyrus ACL and groups ...

2006-06-02 Thread Patrick Radtke
Are your users stored in a LDAP server as well? If so, then you can have Cyrus speak LDAP and get the info. Plus it can do caching (ptscache_timeout) In Cyrus 2.3 you'd want to do something like #make the authz mechanism be pts auth_mech: pts #make pts talk to ldap pts_module: ldap

Re: Cyrus IMAPd 2.3.4 Released

2006-05-25 Thread Patrick Radtke
On May 25, 2006, at 6:00 AM, Robert Mueller wrote:1. There's no regression testing with cyrus at all. I did try and start a cyrus regression test a while back (just a perl script to test basic IMAP functionality) but there wasn't really interest in taking it up. I still strongly believe that some

Re: Replication specifics

2006-05-23 Thread Patrick Radtke
On May 23, 2006, at 4:48 PM, David Korpiewski wrote: So I got into a big argument with the people in my department about how replication works and I'm seeking some guidance from the community: (1)The worst fear of any prof here at UMASS is the potential of losing a single email. So my

Re: mailboxes.db backend comparison

2006-05-22 Thread Patrick Radtke
On May 18, 2006, at 12:11 PM, Andrew Morgan wrote: On Wed, 17 May 2006, Wesley Craig wrote: On 17 May 2006, at 14:21, Andrew Morgan wrote: My most recent test was to rebuild the mupdate master mailboxes.db from my backend server. skiplist - 20-25 minutes berkeley - 3 minutes How many

Re: mailboxes.db backend comparison

2006-05-22 Thread Patrick Radtke
On May 22, 2006, at 1:55 PM, Andrew Morgan wrote: On Mon, 22 May 2006, Patrick Radtke wrote: On May 18, 2006, at 12:11 PM, Andrew Morgan wrote: On Wed, 17 May 2006, Wesley Craig wrote: On 17 May 2006, at 14:21, Andrew Morgan wrote: My most recent test was to rebuild the mupdate master

Re: Replication problem

2006-05-17 Thread Patrick Radtke
.cs.umass.edu sync_repeat_interval: 5 sync_password: XX Thank you for any help you can offer! David Patrick Radtke wrote: did you try setting sasl_pwcheck_method on the replica? 'unix' isn't a SASL mechanism. you may want to try PLAIN (what do you use currently on the primary server

reconstruct removes messages?

2006-05-16 Thread Patrick Radtke
We had a user with approx 525 messages in her mailbox, but she was only able to see about 500 of them (e.g (two different) clients said there were 525 messages, but only 500 where available to see) We ran reconstruct (with -r) on her inbox and all but 9 of the messages disappeared. any

Re: Replication problem

2006-05-16 Thread Patrick Radtke
did you try setting sasl_pwcheck_method on the replica? 'unix' isn't a SASL mechanism. you may want to try PLAIN (what do you use currently on the primary server)? on the replica use this line sasl_mech_list: PLAIN to make it only advertise PLAIN authentication, and then the primary

Re: doing replication from two machine to one machine

2006-05-03 Thread Patrick Radtke
On May 3, 2006, at 8:34 AM, Rudy Gevaert wrote: Hi, At our site I'm going to set up several cyrus servers to store all the email for staff and students. We now have only one cyrus server for the staff. In the near future we are going to several backends running cyrus for staff and

Re: Make cyradm use plain+tls

2006-05-02 Thread Patrick Radtke
On May 2, 2006, at 3:24 PM, Perry Brown wrote:I log into imtest: /opt/mail/cyrus-imapd/bin/imtest -t "" -p imap -u cyrus -a cyrus -m plain Run C: XFER user.vbperry server2.sub2.domain.com and get C: NO Server(s) unavailable to complete operationAm I using the right auth mode? should the

Re: Make cyradm use plain+tls

2006-05-02 Thread Patrick Radtke
On May 2, 2006, at 4:19 PM, Perry Brown wrote: On May 2, 2006, at 3:24 PM, Perry Brown wrote: I log into imtest: /opt/mail/cyrus-imapd/bin/imtest -t -p imap -u cyrus -a cyrus - m plain Run C: XFER user.vbperry server2.sub2.domain.com and get C: NO Server(s) unavailable to complete

Re: Cyrus admin user that can read messge on all accounts?

2006-04-28 Thread Patrick Radtke
The 'cyrus' user. what ever is in 'admins:' in your imapd.conf file or if you don't want to use that one, you can create a user and add to 'proxy_authname' that allows you to authenticate as the proxy user but then take on the authorization of a target user. -Patrick On Apr 28, 2006, at

Re: huge time for rename

2006-04-25 Thread Patrick Radtke
Does the user have a lot of folders? Is the load high on your murder master? I haven't used xfer much, but possibly it takes time for the 2nd machine to created the index and cache files. -Patrick On Apr 25, 2006, at 11:02 AM, roos wrote: Hi, transfer of mailbox which size is 15mb between

Re: does xfer require murder?

2006-04-21 Thread Patrick Radtke
Bascially: Cyrus Imapd uses a SASL mechanism to talk between cyrus machines. The SASL mechanism you are using is PLAIN (I don't think LOGIN is a SASL mechanism, its a imap specific) PLAIN requires TLS TLS requires certificates. You don't have certificates. if imtest -t -m PLAIN -a cyrus -u

Re: mupdate slave master on the same machine?

2006-04-20 Thread Patrick Radtke
On Apr 20, 2006, at 5:16 PM, Andrew Morgan wrote: On Thu, 20 Apr 2006, Patrick Radtke wrote: I'm not sure if its to clear from the documentation (or if its in there) but you can also configure lmtpproxyd on each frontend to query the slave mupdate process on the localhost. On a busy

Re: does xfer require murder?

2006-04-20 Thread Patrick Radtke
You need to use tls as well for PLAIN to work. add -t to your arguments What mechanism do you want to use for connecting between backends? If its PLAIN then you want force_sasl_client_mech: PLAIN in your imapd.conf file. Otherwise, the machines will see GSSAPI advertised and will try

Re: does xfer require murder?

2006-04-19 Thread Patrick Radtke
On Apr 19, 2006, at 12:54 PM, Ken Murchison wrote: Andrew Morgan wrote: On Wed, 19 Apr 2006, Ken Murchison wrote: Perry Brown wrote: Here is what my imapd.conf looks like: defaultpartition: imap1 configdirectory: /var/imap partition-imap1: /var/spool/imap1 admins: cyrus support srvtab:

Re: Avoiding deliver.db corruption

2006-04-19 Thread Patrick Radtke
basically duplicate suppression might miss a few messages (since you've deleted what it does its comparison against). Also, I think it resets any state associated with vacation. e.g. Someone who has already gotten a vacation auto-response, may get another one after the deliver.db is deleted

Re: does xfer require murder?

2006-04-18 Thread Patrick Radtke
what happens if you use cyradm to log into the second host from the first host using the proxy username and password? I think xfer is going to connect on the imap port of the 2nd machine. Is syslog in the debug level? if not, that might give you a better hint. It seems that its the

Re: cyrus vacation notice problem

2006-04-14 Thread Patrick Radtke
On Apr 14, 2006, at 9:46 AM, Andri Herumurti wrote: when i try cyrus vacation notice at first it runs normally, but yesterday the probelm start, cyrus vacation notice not working properly, some times sent a auto reply vacation notice, some times not. how to fix this? where is the file /

Re: SASL/Sieve problems

2006-04-13 Thread Patrick Radtke
do you allow plain text logins? (I don't think sieveshell won't work with it disabled) you can try using sievec to compile the current sieve scripts and make them active. you can debug with sivtest # sivtest bratwurst S: IMPLEMENTATION Cyrus timsieved v2.3-alpha S: SASL GSSAPI S: SIEVE

Re: Too slow

2006-04-07 Thread Patrick Radtke
On Apr 7, 2006, at 2:58 PM, Sascha Bieler wrote: Everythings working just fine, but when I want to delete an email it's so slowly... Has anyone a hint for me? I assume deleting is expunging the messages and not just flagging the messages as deleted.I don't have a hint for your setup, but 

Re: murder config

2006-04-04 Thread Patrick Radtke
On Apr 4, 2006, at 12:49 PM, Brasseur Valéry wrote:If I "manually" populate the "remote mailbox" in the murder server is it sufficient? It is until a user creates a new mailbox or deletes one.  The none Cyrus Imap server won't be in synch with the murder master for any future changes-Patrick

ctl_mboxlist -u doesn't seem to work (2.3)

2006-04-04 Thread Patrick Radtke
I was testing getting a text dump using ctl_mboxlist -d and then restoring using u. It all seems to work until I connect and get errors. I'm doing this test using a CVS version from March 30th. The machine is a frontend. I do [EMAIL PROTECTED]:/var/cyrus/proc /etc/init.d/cyrus stop

Re: terminated abnormally

2006-03-30 Thread Patrick Radtke
On Mar 23, 2006, at 8:27 AM, Ken Murchison wrote: Patrick Radtke wrote: Every day we get a number of 'terminated abnormally' messages on our frontends. When they happen just occasionally then everything still seems to run fine. However sometimes, there will be a large number of them

Re: Disallowing PLAIN login without TLS

2006-03-29 Thread Patrick Radtke
We just use allowplaintext: no that stops plaintext logins and will require the session to be encrypted before the PLAIN mechanism is used -Patrick On Mar 29, 2006, at 10:05 AM, Nikola Milutinovic wrote: Hi all. I am setting up our internal IMAP server. Open SUSE Linux 10.0 Cyrus IMAP

terminated abnormally

2006-03-22 Thread Patrick Radtke
Every day we get a number of 'terminated abnormally' messages on our frontends. When they happen just occasionally then everything still seems to run fine. However sometimes, there will be a large number of them in a short time span and this is a sure sign that people are having trouble

Re: Renaming A User

2006-03-22 Thread Patrick Radtke
there is a proc directory in your cyrus folder that lists which users are logged in through which imap process. You can look in there. You might also want to check if the user has any shared mailboxes that other users are accessing. As for preventing the user from logging you can

Re: 2.3.3 Replication Documentation

2006-03-21 Thread Patrick Radtke
On Mar 21, 2006, at 1:05 PM, Joel Nimety wrote: Muenz, Michael wrote: Can someone point me to documentation for setting up and managing the new replication feature in 2.3? I've looked through the cyrus docs folder and man pages but I thought there might be more somewhere. Thanks.

Re: Renaming A User

2006-03-20 Thread Patrick Radtke
rename works fine when we've used it. You just need to make sure their new account has a password and the same ACLs as the old account (for shared mailboxes). -Patrick On Mar 20, 2006, at 3:08 PM, Michael Johnson wrote: Hi all I Googled it and looked over the archives and couldn't find a

Re: Imap login as user using imap administrator credentials?

2006-03-14 Thread Patrick Radtke
I don't think most mail clients support proxy authentication like imtest (imtest -a cyrus -u username -t -m PLAIN host). The one exception is pine (I've only tested this with GSSAPI) To log in as a user 1. be root 2. su username 3. kinit cyrus(or your admin name) 4. pine Pine will use

Re: we need some information about cyrus-imap server

2006-03-14 Thread Patrick Radtke
On Mar 14, 2006, at 2:11 PM, Jure Pečar wrote:That many accounts is nothing an old dual p3 can't hande, if it has properly set up storage behind it. How many simultaneous users are connecting? Mostly IMAP or POP users? We're doing about 5K accounts per server spread across 4 partitions of about

Re: cyrus murder, mupdate sucking up CPU

2006-03-07 Thread Patrick Radtke
We have the same/similar problems with mupdate on RHEL4. Our problem usually shows up when we are creating new users or if users are creating new mailboxes. The mailbox creation may hang or go extremely slow (and eventually start hanging). This seems to be linked to when a frontend

Re: 2.3.3 replication

2006-03-02 Thread Patrick Radtke
What happens if you use '-r' instead of '-u' I thought -u needed a list of users to follow it. -Patrick On Mar 2, 2006, at 4:39 PM, Marco Schirrmeister wrote: Hello, I try to setup replication according the docs. But it is not working at the moment. If I try the following command as

Re: 2.3.1 replication and deliver problem

2006-01-31 Thread Patrick Radtke
On Jan 31, 2006, at 4:06 AM, Dmitry Melekhov wrote: David Carter wrote: On Tue, 31 Jan 2006, Dmitry Melekhov wrote: This is what I see. Promoting: MAILBOX user.dm - USER dm Error in do_sync(): bailing out! Not too informational message... syslog should tell you why it decided to bail

mupdate worker thread problem

2006-01-24 Thread Patrick Radtke
We've been seeing a lot of mupdate worker thread problems the last 2 days. Things like Jan 24 12:38:42 notdog mupdate[5295]: could not start a new worker thread (not fatal) Jan 24 12:38:42 notdog last message repeated 353 times Jan 24 12:38:45 notdog mupdate[5295]: login:

high load cpu/usage on murder master

2006-01-10 Thread Patrick Radtke
We've noticed a strange pattern of load and cpu usage on our murder master. The machine will go a few days will minimal load and very little cpu usage (~5%). Then for a few days load will jump to 2, and CPU usage will jump to 40% (35% in system mode). So the CPU usage graph looks like

Re: TLS support in cyradm?

2006-01-10 Thread Patrick Radtke
If you're building Cyrus yourself then you can just patch it to add TLS support. I don't recall where these patches originally came from (collected from past postings I'm told). Once patched, cyradm takes the password as (-w secret) on the command line, so you probably don't want to run it

Re: cyrus sync_client always refuses to run with an 'Invalid Argument'

2006-01-10 Thread Patrick Radtke
Have you tried synctest? Usage: synctest [options] hostname -p port : port to use (default=standard port for protocol) -k # : minimum protection layer required -l # : max protection layer (0=none; 1=integrity; etc) -u user : authorization name to use -a user :

Re: replication sync_client dying cyrus-imap 2.3.0

2005-12-20 Thread Patrick Radtke
Easiest way is as the cyrus user run, sync_client -r We have an init.d script to start sync_client back up, and another perl script that connects to cyrus and makes a sync log file of all the accounts on the machine. We then feed the log file to sync_client to process. Lastly, we have

Re: SASL Authentication

2005-12-16 Thread Patrick Radtke
You must use a secure connection when using PLAIN. Try with a ' -t '. (I assuming you have a certificate already installed) -Patrick On Dec 16, 2005, at 1:06 PM, [EMAIL PROTECTED] wrote: Perhaps it could be usefull for someone... If I try: imtest -a cyrus -m plain -p imap localhost I

Re: Design for a largish Cyrus server

2005-12-14 Thread Patrick Radtke
On Dec 14, 2005, at 12:00 PM, Jure Pečar wrote:About iSCSI ... any expirience with it? I know throughput is good enough, but what about latencies? Are they comparable with local disks or fibrechannel?I attended a "iSCSI is great" seminar last week, where a similar question was raised.Their answer

Re: Imtest failure

2005-12-05 Thread Patrick Radtke
The second case is using DIGEST-MD5 for the auth mechanism. Is that what you intended to use? Did you tell outlook to use tls? On Dec 5, 2005, at 10:43 AM, Rajeev wrote: Hi I have done a cyrus installation with tls support and I am not able to send messages through the Outlook or

lmtpproxyd dissapearing

2005-12-01 Thread Patrick Radtke
A couple of times this week, lmtpproxyd has stopped running. I don't see anything in logs about why Usually there will be 8 of them running (same as the number of sendmail processes) ps -ef | grep lmtppr cyrus 5579 21975 0 14:51 ?00:00:02 lmtpproxyd cyrus 7085 21975 0

imaps has -1 workers?!?

2005-11-30 Thread Patrick Radtke
We had a bit of melt down on 2 of our frontends. I've saw a lot of errors like Nov 30 17:56:54 tofu imaps[2309]: imaps failed: [local] ov 30 09:39:55 tofu master[4581]: imaps has -1 workers?!? service imaps pid 4922: while trying to process message 0x2: not registered yet Nov 30 17:59:10

mupdate: bad file descriptor

2005-11-23 Thread Patrick Radtke
I got a bunch of errors like this last night on our murder master before the mupdate process died. the errors then repeated again this morning. Nov 22 20:14:09 notdog mupdate[16698]: Bad file descriptor, closing connection Nov 22 20:14:09 notdog mupdate[16698]: Bad file descriptor,

mailbox listed twice

2005-11-03 Thread Patrick Radtke
For some of our users I see the following when listing their mailboxes. user.des2004.Professors and Faculty (\HasNoChildren) user.des2004.Professors and Faculty (\Noselect \HasChildren) The mailbox is listed twice. Sometimes clients (Apple Mail) get confused by this (sometime you can store

Re: mailbox listed twice

2005-11-03 Thread Patrick Radtke
On Nov 3, 2005, at 1:57 PM, Ken Murchison wrote: For some of our users I see the following when listing their mailboxes. user.des2004.Professors and Faculty (\HasNoChildren) user.des2004.Professors and Faculty (\Noselect \HasChildren) The mailbox is listed twice. Sometimes clients

Re: mupdate signaled to death by 11

2005-10-31 Thread Patrick Radtke
Hey Ken, New patches work great. I've seen no reoccurrence of the errors since we installed it last week. thanks, -Patrick On Oct 27, 2005, at 10:46 AM, Ken Murchison wrote: Patrick Radtke wrote: Ken suggested I try the following patch https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2720

Re: mupdate signaled to death by 11

2005-10-26 Thread Patrick Radtke
Ken suggested I try the following patch https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2720 This looks like it solved all our problems. We've had no errors since I patched Cyrus. Thanks Ken! -Patrick On Oct 24, 2005, at 9:08 AM, Ken Murchison wrote: Patrick Radtke wrote: Several times

Re: cyradm login

2005-10-21 Thread Patrick Radtke
Can you post what you are using as arguments for cyradm imtest and what capabilities the server advertises with imtest and also the output from testsaslauthd when testing the cyrus username/password. thanks, Patrick On Oct 21, 2005, at 9:35 AM, Jt Chiodi wrote: Jt Chiodi wrote: I am

Re: cyradm login

2005-10-21 Thread Patrick Radtke
On Oct 21, 2005, at 10:28 AM, Jt Chiodi wrote: On 10/21/05, Patrick Radtke [EMAIL PROTECTED] wrote: Can you post what you are using as arguments for cyradm imtest and what capabilities the server advertises with imtest and also the output from testsaslauthd when testing the cyrus username

mupdate signaled to death by 11

2005-10-19 Thread Patrick Radtke
Several times an hour, our mupdate process on the murder master dies. Oct 19 07:12:41 notdog master[2277]: process 15588 exited, signaled to death by 11 Oct 19 07:25:41 notdog master[2277]: process 16681 exited, signaled to death by 11 Oct 19 07:32:41 notdog master[2277]: process 17644

Re: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication

2005-09-30 Thread Patrick Radtke
I think you need to use either TLS or SSL but not both at the same time.If you listen on the regular imap port, then clients will connect and issue a START_TLS command and the session will be encrypted.When you connect to imaps the session is already encrypted with SSL, so  trying to start TLS

Re: High-Availability IMAP server

2005-09-27 Thread Patrick Radtke
was fully in action) I consider the code to stable, though on occasion strange things happen (e.g. when user renames user.INBOX to user.saved.INBOX) and you have to restart the replication process (no downtime to Cyrus involved). -Patrick Radtke On Sep 27, 2005, at 8:24 AM, Ken Murchison wrote

Re: group ACLS problem

2005-09-12 Thread Patrick Radtke
I figured out my one problem ( I had left ldap_member_attribute: cn out of my imapd.conf), but I still have another. I have an ldap group with the name 'WWW' but when I create an ACL in cyrus it shows up in lower case. spam.cc.columbia.edu sam ldap group:WWW all spam.cc.columbia.edu lam

Re: Messages don't show up in imap view...

2005-08-26 Thread Patrick Radtke
Thunderbird has a lot of bugs. We've done copies with Thunderbird that never seem to end, while with another client we tested like Outlook Express the copies happened instantly. After you perform a copy, Cyrus repsonds with something like OK [COPYUID 1116262918

Re: multiple authentication methods?

2005-08-25 Thread Patrick Radtke
Have you tried sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN GSSAPI Our pine users connect useing a Kerb5 ticket. Our other users (like Apple Mail) send us a username/password over a secure connection. They are then validated by saslauthd. -Patrick On Aug 25, 2005, at 12:42 PM,

Re: Cyrus Reconstruct Problems

2005-08-19 Thread Patrick Radtke
I don't see a -i as a valid argument in the reconstruct src. Maybe its from an older version. What upgrade did you perform? To 10.4 I assume. I think you need to run reconstruct with -rfx user.username.foldername (wherever the missing mail is located) to rebuild the index. You might

Re: Quota Issue - New To List

2005-07-21 Thread Patrick Radtke
It's not clear to me if you've tried setting a quota using cyradm. Once you use that to set the quota, then the quota folder will appear. It will contain a file like 'user.username' (e.g. user.phr2101) with info on that user's quota. -Patrick On Jul 21, 2005, at 2:35 PM, Kurt Laurinaitis

XFER fails for users with quota set

2005-07-20 Thread Patrick Radtke
I'm trying to move users between two backend machines. If the user has a quota, I get this message xfermailbox: The remote Server(s) denied the operation the log file on the machine the user is to be moved too has this in the log file Jul 20 15:25:09 alpenwurst imap[16698]: kick_mupdate:

sieve and frontends

2005-07-08 Thread Patrick Radtke
I'm trying to test our frontends. They work with imap and pop transactions, but if I connected to a frontend to use sieve I get an error. sieveshell -u phr2101 -a phr2101 -t frontend connecting to tofu verify error:num=19:self signed certificate in certificate chain Please enter your

saslauthd failures during xfer command

2005-06-28 Thread Patrick Radtke
I'm trying to transfer a user between two machines in a murder using the xfer command. Using cyradm xfer user.testuser hostname 1 xfermailbox: The remote Server(s) denied the operation Looking through the log files, it appears that the user gets partially transferred and then saslauthd on

Re: designing a backup mail server

2005-06-27 Thread Patrick Radtke
On Jun 24, 2005, at 2:09 AM, Shaun Feeley wrote:Hi Guys,I'm not sure if I'm at the right place so sorry if this is annoyingbut...I run a cyrus mail server here at Cytopia supporting about 35 users.  Ihave recently purchased some new boxes to upgrade the servers.  I amupgrading the Cyrus server,

Re: backup/restores

2005-06-27 Thread Patrick Radtke
So what does /var/lib/imap/db directory actually hold? This is the only thing I am not clear on right now. Files like __db.001 that in the folder are the bdb shared memory cache. The log.0001 type files are transaction logs for bdb. If there is a problem with the bdb databases, you can

Re: 2.2 and 2.3 imapd

2005-06-22 Thread Patrick Radtke
We had the same problem a few weeks back. I filed a bug at https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2669 Our solution was to have the backends and murder master run the 2.3 code, and the frontends run the 2.2 code. This works for us since the 2.3 features that we want (replication,

Re: backup without stopping the imap server?

2005-06-14 Thread Patrick Radtke
If you are adventurous you can try running the 2.3 code from CVS. You can build it with replication, and then it can replicate everything from one machine to a secondary/replica machine. That way you always have a backup that is just a few seconds behind the original. To make tape backup

Re: Unable to login

2005-06-02 Thread Patrick Radtke
Try it with testsaslauthd first to see if saslauthd is working correctly. testsaslauthd -u cyrus -p password 0: OK Success. -Patrick On Jun 2, 2005, at 8:47 AM, Imran Aziz wrote: Hello All, I have finally managed to install Cyrus IMAP. But I am unable to login to the server to create new

Re: Unable to login

2005-06-02 Thread Patrick Radtke
You have the -u and -a parameters mixed up. You want to authenticate (-a) as 'cyrus' and be authorized (-u) as USER. In your imapd.conf file you have sasl_mech_list: PLAIN So the only SASL mechanism that will be advertised by the server is PLAIN. It will only be advertised if you connect

Re: Does Proxy User Work?

2005-06-01 Thread Patrick Radtke
You can proxy as another user automatically with the cyrus user imtest -t -a cyrus -u tc2154 host. You give the cyrus password for authentication and then are authorized as tc2154. If you want to use an account besides cyrus for authentication set these in imapd.conf proxy_authname:

frontend can see mailboxes but not messages

2005-05-24 Thread Patrick Radtke
This my first time setting up a murder. I can get the frontend too see all the mailboxes, but when I try to read a message, or even list the messages in a mailbox, the operation just times out. Anyone know what the likely cause is? We are running 2.3 from cvs. Our proxy_authname is murder.

does ctl_mboxlist support tls?

2005-05-19 Thread Patrick Radtke
I am wondering if ctl_mboxlist supports tls? If not, is it because of a technical reason or 'lack of time to add feature' reason? We have plain text logins disabled on the murder master. mupdatest works fine mupdatetest -p 3905 -a cyrus -t host does what is expected but ctl_mboxlist does not

auth_unix

2005-04-05 Thread Patrick Radtke
of wether he exist according to the authorization mechanism? or if there is no user matching user in ldap, will it fail and not let them login (acceptable for our use)? cyrus-imapd-2.2.12 thanks, Patrick Radtke --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http

Re: using imclient

2005-03-21 Thread Patrick Radtke
On Mar 17, 2005, at 1:21 PM, Patrick Welche wrote: On Wed, Mar 16, 2005 at 04:04:48PM -0500, Patrick Radtke wrote: I'll add a little code sample // server returns NO on an error imclient_addcallback(imclient, NO, CALLBACK_NOLITERAL, callback_error

Re: using imclient

2005-03-21 Thread Patrick Radtke
I figured out how to determine the OK,BAD tagged response. I modified the end_command from 'man imclient' static void end_command (struct imclient *connection, void* rock, struct imclient_reply *inmsg) { cout in end_command endl; cout \tKeyword: inmsg-keyword

using imclient

2005-03-16 Thread Patrick Radtke
Hi, I am trying to write a program using imclient. I am not sure how to detect errors when I use send. For example when I send 'create user/phr2101' I am unsure how to get the error message from the action (since the account already exists). Does anyone know? or have sample code using imclient