Re: Cyrus support for multiple client access?

2003-07-10 Thread John Alton Tamplin
Ken Murchison wrote: To be more specific, this means we have a mailbox where our customer sends mail to and about 9 people should be able to be connected to this mailbox seeing the incoming messages and those, that have been answererd or seen). Of course, they should be able to answer, delete

Re: APPEND vs RFC2822 vs STD0011

2003-07-09 Thread John Alton Tamplin
Edward Reid wrote: What RFC3501 says is The APPEND command appends the literal argument as a new message to the end of the specified destination mailbox. This argument SHOULD be in the format of an [RFC-2822] message. Since it's the client that constructs the literal, it appears t

Re: APPEND vs RFC2822 vs STD0011

2003-07-09 Thread John Alton Tamplin
Edward Reid wrote: Obviously there's a problem with the RFC in this case, in that it makes a recommendation to the client but no recommendation or requirement for the server. But the RFC clearly says that the client is allowed to store a non-RFC2822 message, if it has a valid reason. Nowhere do I

Re: quota warning problem - Is it a bug of cyrus imap?

2003-07-07 Thread John Alton Tamplin
Joe Rhett wrote: On Wed, Jul 02, 2003 at 12:29:41PM -0500, Paul M Fleming wrote: Rounding error would present a problem for us and our users. My 2 cents .. quotas > 4GB are fairly rare. I know with a large student user base with 50-75Mb quotas rounding to the nearest K wouldn't be desirable.

Re: APPEND vs RFC2822 vs STD0011

2003-07-07 Thread John Alton Tamplin
Edward Reid wrote: The mail provider (MX) for my domain, fastmail.fm, runs cyrus. I use Eudora (for Mac, v5.2), mostly in POP mode, but I use some IMAP features too. In particular, some of my filters copy incoming (POP) messages to an IMAP mailbox at fastmail.fm. That's where the problems start. S

Re: quota warning problem - Is it a bug of cyrus imap?

2003-07-03 Thread John Alton Tamplin
Rob Siemborski wrote: Though, it may be safe to check this with a configure test (since the quotas are all stored as strings, not binary data). Actually, I lied here. We do store the used quota as binary data in the index header. So the quota used for a particular mailbox (independent of

Re: quota warning problem - Is it a bug of cyrus imap?

2003-07-03 Thread John Alton Tamplin
Rob Siemborski wrote: Right. Thats the fix (or some other integer size > 32 bits). Is it safe to assume that the platforms where Cyrus runs has long long available? -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/7

Re: quota warning problem - Is it a bug of cyrus imap?

2003-07-02 Thread John Alton Tamplin
Rob Siemborski wrote: We're using 32-bit numbers to track the quota. We'd need to be more clever than that to get around it. Other than a conversion issue on existing mailstores, couldn't this be solved by just using the same units IMAP does, ie 1k rather than bytes? -- John A. Tamplin

Re: cyradm erros when reconstructing a mailbox

2003-07-01 Thread John Alton Tamplin
Ezsra McDonald wrote: Let me go to another account with the same problem. All af the folders exist. Some are empty and reconstruct reports an IOERROR when it can't find cyrus.* in the folders. He has several folders whose names are made up of multiple words like for example one is named 'user.ran

Re: 4.3.0 lmtpd: Virtual memory exhausted - problem :(

2003-07-01 Thread John Alton Tamplin
Pascal Gienger wrote: I am using Cyrus IMAP 2.1.12 (Suse Linux package, no source install allowed here), and we see some errors from lmtpd saying "Virtual memory exhausted". ulimits are unlimited for every resource (no limit), and there are 4 Gigabytes of swap used by 5% and 2 Gigabytes of RAM

Re: cyradm erros when reconstructing a mailbox

2003-07-01 Thread John Alton Tamplin
Ezsra McDonald wrote: OK, I probably did something rash when I rsynced a few of my mailboxes to a new cyrus mail server. It was an unplanned migration and It had to be fast. One of the users can't delete messages in subfolders. she also can't move messages into these sub folders. I tried to run

Re: Sieve failure on deliverdb corruption...

2003-06-19 Thread John Alton Tamplin
Rob Siemborski wrote: But its not even an issue since duplicate_init is called in service_init. (Before the lmtpd is handling a connection). So the MTA will just see "connection reset by peer" and defer it, right? If so, that behavior seems fine. I didn't have any problem noticing it before

Re: Questions about backup files in /var/imap/db

2003-06-17 Thread John Alton Tamplin
Daniel Qian wrote: It confused me by putting all databases using BDB under a imap directory. Read the documentation at sleepycat -- the logs are per BDB environment. In this case, it protects only the various BDB files used by Cyrus. Anyway I am more concerned about a proper way to backup al

Re: Cyrus on Red Hat Enterprise Linux

2003-06-17 Thread John Alton Tamplin
Craig Ringer wrote: [OT: Yes, I'm aware that there other other Linuces beyond RH, but we're committed to HP hardware which is only certified for RH and SuSE (one of my colleagues has been told by an HP engineer that they support Debian but I've yet to see anything official). We have zero SuSE exp

Re: Can't delete old folders from before ALTNAMESPACE

2003-06-16 Thread John Alton Tamplin
Lee wrote: Will this cause any problems with seen / unseen flags (or anything for that matter)? Seen flags are kept in a different database, under /var/imap/user/X/user.seen. I presume Cyrus gracefully deals with nonexistent folders in the seen/sub files, but I haven't looked at that part of

Re: Can't delete old folders from before ALTNAMESPACE

2003-06-16 Thread John Alton Tamplin
Lee wrote: You should be able to delete these from within cyradm as an admin, unless somebody deleted stuff by hand from the filesystem. I think that might be the problem. When i try to SAM the folders pre-deletion in cyradm, i get a: setaclmailbox: admin: lcp: System I/O error Is there a way

Re: Cyrus Backup Strategy

2003-06-13 Thread John Alton Tamplin
pnelson wrote: Yes dumping to removable medium. Why not write directly to tape rather than going through an extra step and requiring extra disk space? So a cyrus backup needs to contain: /var/spool/imap /var/lib/imap/mailboxes.db to be useful as a backup, right? With these to things I can

Re: Cyrus Backup Strategy

2003-06-13 Thread John Alton Tamplin
pnelson wrote: My last thing to do prior to converting to production is a backup strategy. I have been doing this with tar something like: tar -C /var/lib-czf lib-.tar.gzimap tar -C /var/spool -czf spool-.tar.gz imap tar -cf cyrus-.tar This is producing a pretty big file(s): lib-.tar.g

Re: migrating from sendmail/shadow to sasl on new box

2003-06-13 Thread John Alton Tamplin
blast wrote: As far as I've been able to find, the only way to migrate use info from an old box running sendmail authenticating against shadow to a new system running postfix authenticating against sasldb2 is to use the auto_transition feature. Is this true, or is there perhaps a manual_trans

Re: Compiling Cyrus IMAPD on AMD Opteron

2003-06-13 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: Compiling with the -fPIC fixes the problem. I had to do this for the following: imclient.c imparse.c xmalloc.c imapurl.c iptostring.c assert.c util.c libisieve.c prot.c Why does -fPIC fix this problem? Code to be used in a shared library must be position-independent, s

Re: Compiling Cyrus IMAPD on AMD Opteron

2003-06-12 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: make[2]: Entering directory `/root/src/cyrus-imapd-2.1.13/perl/imap' rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so LD_RUN_PATH="/usr/lib64" cc -shared -L/usr/local/lib64 IMAP.o -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a -lssl -lcrypto /usr/lib64/gcc-lib/x86_64-

Re: "special" imap server

2003-06-11 Thread John Alton Tamplin
Brasseur Valéry wrote: did someone know if there exist a IMAp server who would be able to use a POP3 server for the INBOX folder and his normal folders for all others ! note : i need something like this for a migration purpose ! The basic problem is that you cannot implement the IMAP protocol u

Re: Weird pop3d hang problem (fd blocked?!)

2003-06-10 Thread John Alton Tamplin
foobar wrote: See word *theoretically* , didn't urandom gather some data from network-interfaces too so it may be affected. Nobody knows when it takes data from device nr X. My point was simply before you decide to link random to urandom for the sake of Cyrus, you should consider the impact th

Re: Several issues with 2.1.13

2003-06-09 Thread John Alton Tamplin
Wil Cooley wrote: Got it. But John's probably right about the kernel keeping the sockets open. But we never had this problem with cucipop (that's what I always have to listen to: "We didn't have this problem before blah blah blah"). Somehow, even though cucipop locked the mailboxes, it was abl

Re: Several issues with 2.1.13

2003-06-09 Thread John Alton Tamplin
Wil Cooley wrote: Yeah, you're probably right; I just saw a directory full of capital letters and assumed it was all of them. I do recall prime-based hash functions being better. However, after I did the hash, imapd seemed to still be using the traditional first-letter-hash. I had this in my lo

Re: Several issues with 2.1.13

2003-06-09 Thread John Alton Tamplin
Wil Cooley wrote: The upgrade wasn't entirely smooth; I wrote up some notes about what I did: http://nakedape.cc/wiki/index.cgi/CyrusImapNotes in case someone else wanders along this path... The biggest issue was that ctl_cyrusdb wasn't able to read my old mailboxes.db file; I reverted to my old

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
Lars Peterson wrote: Here's some output from config.log: configure:5808: checking for db_create in -ldb-4.1 configure:5839: gcc -o conftest -Wall -g -O2 -I/usr/local/itech/iwaymail/include -L/usr/local/lib -Wl,-rpath,/usr/local/lib - L/usr/local/itech/iwaymail/lib conftest.c -ldb-4

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
Igor Brezac wrote: This problem is fixed in cvs for both 2.1.x and 2.2. Ok, so it was a problem in Cyrus not db? Thanks. -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/727-9931

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
Lars Peterson wrote: Yes libdb-4.1.so is in the same directory I passed to configure for bdb-libdir. Permissions are same user I'm building as, and mode is 775. I was able to link against these libraries successfully for an openldap-2.1.19 build. Then I suggest looking at the log generated by conf

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
Lars Peterson wrote: Snippet from configure's output: <=== checking for db.h... yes checking for db_create in -ldb-4.1... no checking for db_create in -ldb4.1... no checking for db_create in -ldb41... no checking for db_create in -ldb-4.0... yes ===> When I do an ldd on the resultant imapd binary

Re: Weird pop3d hang problem (fd blocked?!)

2003-06-06 Thread John Alton Tamplin
Rob Siemborski wrote: You can symlink /dev/random to point at /dev/urandom, but keep in mind that will affect all applications, not just cyrus. And in particular you may not want to do this if you are generating RSA private keys or equivalent on a machine that anyone else may have shell acces

Re: Subject field corruption

2003-06-06 Thread John Alton Tamplin
NOwlar wrote: I use Postfix 2.0.10 with TLS patch, cyrus-imapd 2.1.13, sasl 2.1.13 The problem is as follow: When a message with russian charset characters (KOI8-R, WIN1251) in Subject field arrives or is moved into the Sent Items folders by Outlook Express, each russian character is replaced by a

Re: cyrus server and backup

2003-04-04 Thread John Alton Tamplin
Phil Chambers wrote: I have never used the Cyrus IMAP server before and have just intalled it on a test system to evaluate it, with a view to moving our service over to it. We have over 20,000 users and need to upgrade our current system. One of our fundamental requirements is to be able to ta

Re: sieve: Too many levels of symbolic links

2003-04-03 Thread John Alton Tamplin
Ken Murchison wrote: FYI, Websieve does this automatically when no script is present, unless the user overrides it. The administrator can change that configuration in websieve.conf, variable $defaultscript. -- John A. Tamplin Unix System Administrator Emory Universi

Re: message in /var/log/messages

2003-04-03 Thread John Alton Tamplin
Nicolas Gauvrit wrote: i post this message yesterday, but i got no answer... (is my question to stupid for you ?) i'd like to know what does mean those message, is i do something wrong ? is my Cyrus Imap will work fine, even if i got thoses Error messages ? i was searching several hours, but i d

Re: interesting limitation

2003-03-31 Thread John Alton Tamplin
Dave O wrote: 2 level hashing would work, but I don't know if Cyrus supports that. It would most likely be trivial to implement. eg spool/s/sm/user/smith Or in the case of full dir hashing, have a second hash function and hash the names that get assigned to one bin into an additional set of b

Re: Problem with cyradm crashing

2003-03-28 Thread John Alton Tamplin
Marco Colombo wrote: 2) the old cyradm binary, from a 2.0.16 installation, never crashes. (that made me turn to the client side instead of the server side) The old binaries were compiled vs. SASL v.1.5.26 (shared), which has been recently upgraded to 1.5.28. Cyrus 2.x requires SASL 2.x -- if yo

Re: Bare newlines

2003-03-28 Thread John Alton Tamplin
Sebastian Konstanty Zdrojewski wrote: I was attempting to move an email message from a local account onto an IMAP directory located on Cyrus. The client I am using is Netscape Mail and usually it gives me no problems. This time, I am not able to move the message because the client gives the fol

Re: ctl_cyrusdb -r performance over NFS

2003-03-26 Thread John Alton Tamplin
Andrew McNamara wrote: You probably don't want to be running cyrus on an NFS partition. The only other option would be a SAN, and people here trust them even less. BTW, they've successfully been running a large, heavily used, Oracle instance for several years now over NFS to a Netapp with se

Re: Cyrus debugging

2003-03-26 Thread John Alton Tamplin
Oliver Pitzeier wrote: Sorry, but I believe there are enough interessting parts in imapd and also in some lib/* file that could be logged for debugging reasons... Complaints about the code quality of Cyrus coming from someone who tries to pass an int where a char* is expected, whose patch resu

Re: I tried chinese in cyrus's folder name and chinese IMAP client,but something wrong

2003-03-24 Thread John Alton Tamplin
Temp wrote: I tried chinese in postfix+cyrus-imap and in Outlook Express 5, the "Inbox" is still the one in chinese, but the "Sent Items" and "Drafts" folders which I saw in english IMAP client become normal folders, and there are another folder instead of them in chinese in chinese name. so, d

Re: pam_mysql and cyrus_sasl

2003-03-12 Thread John Alton Tamplin
Andreas Meyer wrote: eta saslauthd[982]: pam_mysql: where clause = eta saslauthd[982]: SELECT password FROM accountuser WHERE username='karl' eta saslauthd[982]: pam_mysql: select returned more than one result eta saslauthd[982]: returning 7 after db_checkpasswd. eta saslauthd[982]: AUTHFAIL: user

Re: Outlook Express and Seen database - And Outlook Express and Cyrusin general

2003-03-12 Thread John Alton Tamplin
Steve Hanson wrote: There was some discussion on the list in the past about problems with Outlook Express not interoperating well with Cyrus due to it corrupting the seen database by using multiple concurrent connections, confusing the caching model in Cyrus. Our desktop support people are try

Re: libcyrus and the imap proto

2003-02-27 Thread John Alton Tamplin
Patrick Welche wrote: Overall I see that you send commands to the imap server using imclient_send, the last argument of which is essentially the text of the imap command. You register callbacks based on keyword, so that when the server sends you a reply, the function registered gets called. I susp

Re: "seen" flag for multiple users // cyrus and procmail

2003-02-25 Thread John Alton Tamplin
Kristian Rink wrote: (a) in this network, IMAP is used because the vast majority of mail traffic needs to be seen not only by a single user but by a group of persons. For what I have experienced and also read in the archive of this list, it is not possible in cyrus (in IMAP?) to have a general "s

Re: Deleting mailbox

2003-02-24 Thread John Alton Tamplin
Sebastian Konstanty Zdrojewski wrote: I am experiencing the following trouble: from both cyradm and IMAP I cannot delete a mailbox. Phisically I tested the permissions and it is everything ok. Anybody can help me? Here is a screenshot of the error: -- BEGIN ATTACHMENT -- [EMAIL PROTECTED] imap

Re: Vacation for non-existant users?

2003-02-13 Thread John Alton Tamplin
Tarjei Huse wrote: I got a few users whom I've removed, and now I'd like to set a auto-responder for the addresses. I'd like to do this so people emailing them get their new address. Any suggestions on how to set this using sieve? If they don't have an inbox, I don't believe you can use siev

Re: Backup of Cryus IMAP (restore?)

2003-02-12 Thread John Alton Tamplin
Thomas Hannan wrote: So to backup Cyrus, I should do the following?: ctl_mboxlist -d /var/backup/mydbbackupfile cp -dPr /var/imap /var/backup/imap cp -dPr /var/spool/imap /var/backup/spool/imap Would it be better to tar them first, or just copy and then tar later? And to do a full restore? How w

Re: Backup of Cryus IMAP

2003-02-12 Thread John Alton Tamplin
Michael Frank wrote: I have heard that if I backup the database and/or user files as they are being accessed I might corrupt the files. Is this true? If so how can I implement an automated backup without taking the service down? I need to have the service up 24/7 and am unable to take it down at

Re: informing users about quotas

2003-02-10 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: What is your custom delivery program? I'm interested in that kind of solution but i didn't found yet a deliver program for postfix that use lmtp and can add the ignorequota option. It is a small perl program that uses Net::LMTP (hacked to support authentication and the

Re: Move Emails From a unix format to cyrus

2003-02-07 Thread John Alton Tamplin
Brandon High wrote: On Thu, 2003-02-06 at 18:11, test s wrote: Does anyone know how to Move Emails From a unix format which is on server A to cyrus which is on server B We migrated from WU-imapd to Cyrus last year... The easiest way is to pipe the mail into deliver. It takes a little cu

Re: mailinglists

2003-02-06 Thread John Alton Tamplin
Peter Burggraef wrote: I want cyrus to delete mails, older then sometime. How can I do this? man ipurge -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/727-9931

Re: looking for Cyrus mail format documentation

2003-02-06 Thread John Alton Tamplin
Phil Howard wrote: That would result in doubling the bandwidth on the inside server connection since it would be dealing with the mail first coming in to the MX, then being replicated back out to the other server. By delivering outside mail to the outside server first, the only bandwidth usage i

Re: saslauthd getpwent

2003-02-06 Thread John Alton Tamplin
RJ45 wrote: hello I noticed that getpwent method of saslauthd fails on solaris, it works with pam or shadow but not with getpwent. IS it normal for Solaris 9 ? or is there some trick to make it work? During the transition here, I was running saslauthd -a getpwent because it was easier to hack

Re: creating user-mailboxes without cyradm

2003-02-05 Thread John Alton Tamplin
Hans Wilmer wrote: Sure, read RFC 2060. You'd do "tag CREATE user/username" How is this dealt with in respect to security and reliability? Just write a script that logs in and automatically creates mailboxes from randomly generated (user-) names until the storage is full. That's sort of ma

Re: looking for Cyrus mail format documentation

2003-02-05 Thread John Alton Tamplin
Patrick Welche wrote: All this sounds remarkably similar to the postgres-r database replication problem cf nice paper by Bettina Kemme http://www.cs.mcgill.ca/~kemme/papers/vldb00.html Here it would be client connects to imap server A and says "APPEND". Server A then sends "APPEND" to server A

Re: looking for Cyrus mail format documentation

2003-02-04 Thread John Alton Tamplin
Henrique de Moraes Holschuh wrote: On Tue, 04 Feb 2003, Phil Howard wrote: I wonder how well that method of replication works when both nodes cannot reach each other, and both are doing updates. And I wonder They don't. If they cannot reach each other, at most one of them must allow upd

Re: looking for Cyrus mail format documentation

2003-01-31 Thread John Alton Tamplin
Earl R Shannon wrote: But that does now beg the question. There must be some form of coordination between the various processes as they access the mail store. Can this not be abstracted out and put in an API to make it easier for people to write their own applications? I would venture a guess to

deliver db problem

2003-01-30 Thread John Alton Tamplin
I am running Cyrus 2.1.11 (Solaris 9, mboxlist/seen=skiplist, sub=flat, duplicate/tls=db3_nosync), and periodically sieve stops working after the server has been up a couple of weeks. Upon further investigation, I find it is some problem with the deliver.db file, as running ctl_deliver -d resu

Re: Conversion/Migration

2003-01-28 Thread John Alton Tamplin
Peter Lawler wrote: OK, thanks to those who replied. I've gone this far: http://batleth.sapienti-sat.org/projects/mb2md/ It's a pretty neato script, although I haven't tested the version released yesterday. It converts just as we want. Now, the trick after the conversion that the new files are

Re: Working Vacation?? [solved?]

2003-01-23 Thread John Alton Tamplin
Mikael Brandström wrote: It should be possible to rewrite rulset Parse0 (and maybe Parse1) to make them leave the local adress qualified while delivering locally. There might even be something among the files in cf/cf which kan fix it, I have a vague memory of something such. Just my 2c. I ma

Re: Vacation problem

2003-01-22 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: So what is you suggestion? How do I fix this problem? Why the mail server doesn't accept the message if the envelope from set right? It is hard to tell from the logs since you are using 4 different email addresses, but it looks like sieve tried to send mail from <> (wh

Re: Vacation problem

2003-01-22 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: I'm wondering why cyrus setting sender to <>, not to <[EMAIL PROTECTED]>, or even as I made configuration in my imapd.conf? May be I missed something? You don't want an auto-generated message generating a bounce message, since that could lead to an infinite loop. Thu

Re: Problem with cyrus and deleting a message with a virus.

2003-01-22 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: Irrelevant question. The fact that it could happen is enough. I can't stop my users going to someone's computer (which has no virus protection) and connecting to my IMAP server. I have students who will no doubt use the IMAP server as a filestore when they run out of quot

Re: Problem with cyrus and deleting a message with a virus.

2003-01-21 Thread John Alton Tamplin
Ted Cabeen wrote: Right. Other than losing the flags data, are there any other downsides to this solution? (We were thinking of using this to delete old messages from users spam folders) If your users all have spam folders named the same or similar (presumably put there by spam filtering

Re: Problem with cyrus and deleting a message with a virus.

2003-01-21 Thread John Alton Tamplin
Mark London wrote: I'm not messing with it, uvscan is doing it. Is there a better software alternative that will delete viruses on the server? Are we the only people using cyrus that are running virus scanning software on the server? I think most people scanning their mail do so before it is

Re: Pb with cyradmin and quotas...

2003-01-21 Thread John Alton Tamplin
Mr Bullier Erick wrote: I use quotas on mailbox with cyradmin. I use scripts which check (in the night) if user go out the warning limit (80%) of is mailbox quota. Today, i see that a user maibox is 85% full. So i use cyradm to check it, and cyradm write: localhost> lq user.toto STORAGE 5996/1000

Re: Websieve and Cyrus 2.1.11

2003-01-16 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: ok right I just saw that my Admin.pm perl module is in /usr/perl5/site_perl/5.6.1/sun4-solaris-64int/Cyrus/IMAP/Admin.pm so in the file funclib.pl from Websieve I've changed the following line: use IMAP::Admin; to use Cyrus::IMAP:Admin; and I got further but now it's

Re: Websieve and Cyrus 2.1.11

2003-01-16 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: I am currently trying to make Websieve run with my Cyrus 2.1.11 installation. Unfortunately this doesn't work as well as planned, I copied the files to my cgi-bin directory but now when I run http://mailserver/cgi-bin/websieve.pl I get the following error: Received a pr

Re: UW to Cyrus transition

2003-01-16 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: In the last week of december, I ported 1 ( c.a. ) users from UW to Cyrus. As I had a REALLY hard time finding ANY help whatsoever ( scripts etc ), I wrote some of my own. I must say, they DO take time. I was running them on a Sun Fire 880 with 4x900MHz CPUs and 8GB

Re: [PATCH][CVS IMAPd 2.1] lmtp_downcase_rcpt implementation (2)

2003-01-13 Thread John Alton Tamplin
Lawrence Greenfield wrote: Well, "message delivery" and "mailbox names" are tightly intertwined. How should I know that "leg+detail" should be delivered to "user.leg.Detail"? There is no historical usage that says imap folder names within a mailbox aren't case sensitive, so I would say leg+De

Re: [PATCH][CVS IMAPd 2.1] lmtp_downcase_rcpt implementation (2)

2003-01-13 Thread John Alton Tamplin
Lawrence Greenfield wrote: Date: Mon, 13 Jan 2003 16:31:15 -0500 From: John Alton Tamplin <[EMAIL PROTECTED]> Lawrence Greenfield wrote: >I'm kinda unhappy about the limited scope of the patch. It makes >usernames case-insensitive during delivery, but they&

Re: [PATCH][CVS IMAPd 2.1] lmtp_downcase_rcpt implementation (2)

2003-01-13 Thread John Alton Tamplin
Lawrence Greenfield wrote: I'm kinda unhappy about the limited scope of the patch. It makes usernames case-insensitive during delivery, but they're case-sensitive everywhere else. I'm not sure this is a great idea. Maybe a global switch of case-sensitive mailbox names would make more sense (thus

Re: presubscribing mailboxes

2003-01-13 Thread John Alton Tamplin
Earl Shannon wrote: An alternative is to authenticate as one user, probably the admin user, and be authorized to act on behalf of the account. That said, I don't know how to do this. If someone has an example of some perl code using the Perl IMAP Admin module that does this and is able to post i

Re: delete selected folder leaves empty dir on disk

2003-01-10 Thread John Alton Tamplin
Rob Siemborski wrote: We do currently call rmdir() on the directory. The applicable code is in mailbox_delete() in mailbox.c if you'd like to suggest a patch. Since rmdir() doesn't delete it, I assume that means there is some entry in the directory which wasn't deleted. Since you have appar

Re: delete selected folder leaves empty dir on disk

2003-01-10 Thread John Alton Tamplin
Rob Siemborski wrote: Yeah, we know about this. There's no good way around it, since a totally separate imapd could be selected on the folder as well, and the directory would still be left around. So is it ok to sweep the filesystem and delete any empty directories? Would that leave a race c

Re: saslauthd performance anxiety

2003-01-09 Thread John Alton Tamplin
Paul M Fleming wrote: Timing out the passwords is simple ( I think ) I would store the time when the entry is added and force a reauth if the password has been cached longer than a timeout (for example one hour ). That forces a reauth at least every timeout period of time. If an entry isn't in th

Re: lmtpd NUL rejection

2003-01-09 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote: I've recently upgraded imapd from 1.5.19 to 2.1.11, and instead of having sendmail invoke deliver it now talks to lmtpd over a Unix socket. All is well, except that lmtpd is much more scrupulous about checking its input than deliver was - in the space of a week, it's dete

Re: [PATCH][CVS IMAPd 2.1] lmtp_downcase_rcpt implementation (2)

2002-12-26 Thread John Alton Tamplin
Henrique de Moraes Holschuh wrote: Here's the improved patch. It skips over the +Mailbox part of the recipient, in the most straightforward way possible ;-) Would it make sense to make the control more generic, such as downcase_account_name, and have it also apply to logins and other places

Re: Slow LIST command

2002-12-16 Thread John Alton Tamplin
On Wed, 11 Dec 2002, Rob Siemborski wrote: Having watched the activity, the thing which seems to consume most of the resources are the LIST "" * and LIST "" % commands. These return with a response like "OK Completed (1.480 secs 28 calls)" but can take a very long real time. Is there anything

Re: cyrus 2.2 status

2002-12-13 Thread John Alton Tamplin
Rob Siemborski wrote: But unless the contents of the folders are backed up in this way too, you haven't really gained a significant amount, since the transactions that cyrus needs to make rely on the contents of the filesystem as well. True, although with the metadata secure you can politely t

Re: cyrus 2.2 status

2002-12-12 Thread John Alton Tamplin
Rob Siemborski wrote: The only *possible* advantage I see is it gets cyrus's databases backed up with an SQL database, but since you still have to back up the cyrus datastore anyway, you haven't won anything. Well, most real databases offer online backup capability so you can get a robust bac

Re: using Murder for migration from UW IMAP

2002-12-10 Thread John Alton Tamplin
Ted Cabeen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii In message <[EMAIL PROTECTED]>, "John A. Tamplin" writ es: Quoting Rob Siemborski <[EMAIL PROTECTED]>: Do you really have so much data that it would take 2-3 days to move it?

using Murder for migration from UW IMAP

2002-12-09 Thread John Alton Tamplin
Would it be possible to use Murder to migrate from UW IMAP? I have Cyrus setup and running on a new machine, but the problem is that taking everything down and converting all the mailboxes would be too much downtime (2-3 days). What I was thinking of is setting up a frontend server with UW IM