Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
' On Fri, Feb 20, 2009 at 10:27 PM, Mark Crispin markrcris...@panda.com wrote: mail_versioncheck() is in the c-client.a library (it's in mail.c) so you should not be getting an undefined by referencing it. What is the EXACT text of the error message? On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: I am

Re: [Imap-uw] Optimize way to retreive UIDs?

2009-02-19 Thread Mark Crispin
On Thu, 19 Feb 2009, Shawn Walker wrote: I have a situation that I need to get a list of UIDs in a range but I have no idea how many UIDs is in that range. I can't just request all of the UIDs in a range since there might be thousands of UIDs and I can't give the impression that the

Re: [Imap-uw] expunge previously deleted email?

2009-02-18 Thread Mark Crispin
On Wed, 18 Feb 2009, Joel Reicher wrote: I run a small home mail server for my family. One of them uses a Blackberry to access her email. In order to permit a burp to happen from time-to-time, could I occasionally bring down uw-imap, physically unplug my Ethernet, bring up uw-imap and wait a

Re: [Imap-uw] expunge previously deleted email?

2009-02-18 Thread Mark Crispin
On Wed, 18 Feb 2009, Dave Halsema wrote: I can give a thumbs up to Mark's hack to allow burping when BlackBerry devices are involved. It is working for us and we will be making it available here soon. Thank you for your advice and help Mark, it is much appreciated. Contributions are always

Re: [Imap-uw] expunge previously deleted email?

2009-02-18 Thread Mark Crispin
On Wed, 18 Feb 2009, David B Funk wrote: FWIW, we see *.blackberry.net as well as *.blackberry.com IMAP connections on our server. Thanks for that information. I've updated my server to match *.blackberry.net as well as *.blackberry.com One of the hacks I've made to our UW-imap kit is to

Re: [Imap-uw] crashes libc-client + asterisk PBX voicemai

2009-02-17 Thread Mark Crispin
Perhaps alarm() is not thread-safe in your C library? The only thing that alarm() does is suspend alarms while it is in heap management code (such as malloc() which is called by fs_get()). It's basically a mutex around alarms. This is because the busy spinner in Pine runs in an alarm

Re: [Imap-uw] expunge previously deleted email?

2009-02-16 Thread Mark Crispin
Your message indicates confusion on multiple points. The following information ought to clear up your confusion AND answer your questions: [1] There are three separate operations associated with the removal of a message: [a] Marking a message as deleted (deleting) [b] Removing

Re: [Imap-uw] expunge previously deleted email?

2009-02-16 Thread Mark Crispin
On Mon, 16 Feb 2009, Haral Tsitsivas wrote: However that still leaves me with the question: how do I burp this baby? Burping happens automatically whenever the mailbox is opened exclusively read-write. An added complication may be that Blackberry polls the imap server for my messages

Re: [Imap-uw] SIGSEGV on smtp_close() in c-client

2009-01-23 Thread Mark Crispin
This sounds like a problem that was fixed several months ago. Some defective SMTP servers respond to a QUIT command by closing the connection rather than issuing a proper response. In general, two things will greatly simply the problem resolution process: [1] Make sure that you are running a

Re: [Imap-uw] Does IMAP-UW supports 64 bit ?

2009-01-23 Thread Mark Crispin
, 2009 at 10:29 PM, Mark Crispin markrcris...@panda.comwrote: Modern versions of c-client should build and run on 64-bit. I do so all the time. However, file sizes remain limited to 2GB; and basic numeric types (defined by IMAP) remain 32-bit. Because IMAP is 32-bit, and the mix format makes

Re: [Imap-uw] C-Client crashes on Vista

2009-01-21 Thread Mark Crispin
The first thing you should do is to determine which version of c-client you have. Newer versions of c-client have a #define CCLIENTVERSION near the start of mail.h. Your April 08 as the date confuses me; there was no release version in April 2008 or on any April 8. Please consider upgrading

RE: [Imap-uw] C-Client crashes on Vista

2009-01-21 Thread Mark Crispin
be evaluated char * Thanks, -Raju -Original Message- From: m...@hsinghsing.panda.com [mailto:m...@hsinghsing.panda.com] On Behalf Of Mark Crispin Sent: Wednesday, January 21, 2009 3:57 PM To: Raju Nanduri (rnanduri) Cc: imap-uw@u.washington.edu; Patrick Hamel (path) Subject: Re: [Imap-uw] C

Re: [Imap-uw] Request: PAM service name as run-time option

2009-01-21 Thread Mark Crispin
The problem with using any command line parameters in the distribution version of imapd is that certain obscure authentication mechanisms use the command line for their own purposes. Fortunately, it's easy enough to patch the source with the code that you want. It's not likely that there

Re: [Imap-uw] Send Mail through IMAP ?

2009-01-07 Thread Mark Crispin
For many years, there have been various proposals to add mail sending capabilities to mail access protocols such as POP and IMAP. These proposals are always strongly opposed. It is one of the attractive nuisances of email protocols. The value of the capability is obvious to many people, but

Re: [Imap-uw] Compile problems imap-2007d

2008-12-19 Thread Mark Crispin
Simple answer: If you don't have socklen_t, the getsockname() function can take an int*, long*, or size_t* depending upon system. The problem is that assuming any of these three will cause a compile error if the system uses one of the other two definitions and the two definitions don't both

Re: [Imap-uw] Drafts messages not being deleted

2008-12-16 Thread Mark Crispin
I think that the key is that you are using traditional UNIX format for your Drafts mailbox. This format does not allow multiple simultaneous access; that is not required by IMAP but the authors of Thunderbird assume otherwise. The other player in this is UIDPLUS. UIDPLUS is another optional

Re: [Imap-uw] Unable to find CRLF

2008-12-12 Thread Mark Crispin
That error message indicates that something appended to that that mbx format mailbox in traditional UNIX mailbox format. The two formats are incompatible with each other. That something was not anything based upon my c-client library. The solution is not to use whatever program did the dirty

Re: [Imap-uw] Deny certain users to imap and pop3

2008-11-18 Thread Mark Crispin
On Tue, 18 Nov 2008, Aaron W. LaFramboise wrote: There's probably a way to achieve this without PAM, but I'm not sure what it is. In my opinion, using PAM is the best way. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a

Re: [Imap-uw] Another mailutil question

2008-11-17 Thread Mark Crispin
As you discovered, you can't use mailutil this way. The arguments are interpreted in the context of the calling user (root in your case), thus the commend you give tries to create root's mbx-format INBOX and then copy from root's current INBOX to the newly created root's mbx-format INBOX. All

Re: [Imap-uw] About to take the plunge

2008-11-17 Thread Mark Crispin
On Mon, 17 Nov 2008, James H. McCullars wrote: 1.) Run mixcvt on everyone's (or a selected subset) INBOX 2.) Run mailutil create -u username ~username/INBOX (I have recompiled imap-2007d with CREATEPROTO=mix) and let the users snarf up the messages next time they check mail Either way will

RE: [Imap-uw] Issue with Content-type: message/rfc822 ?

2008-11-12 Thread Mark Crispin
I tested this with mtest program shipped with c-client lib. This also reports truncated body buffer if using mail_fetchtext(I am not remembering the Command) while mail_fetch_message returned full mail (including header) This does not make sense. mail_fetch_message calls themail_fetchtext

Re: [Imap-uw] mailutil question

2008-11-12 Thread Mark Crispin
On Wed, 12 Nov 2008, James H. McCullars wrote: Is there a way for the root user to do this on behalf of a user? Easiest way is to create one mbx or mix format INBOX that you keep as a prototype, then copy it to the user's home directory. Be sure to change ownership of the copy! -- Mark --

RE: [Imap-uw] mix mailboxes appear as containers in Mulberry

2008-11-11 Thread Mark Crispin
It looks like Mulberry is confused by the CHILDREN extension. Given that other clients don't work well without CHILDREN, your best bet is to contact the author of Mulberry and ask him for assistance in getting Mulberry fixed. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep

RE: [Imap-uw] mix mailboxes appear as containers in Mulberry

2008-11-11 Thread Mark Crispin
- 2006g - (Mulberry works) A00010 LIST a/a2/a3/%/% * LIST () / a/a2/a3/a41 * LIST () / a/a2/a3/a42 A00010 OK LIST completed If 2006g ever did this, this is definitely a bug. a/a2/a3/a41 can not match a/a2/a3/%/%, although it could match a/a2/a3/%. The correct response is

RE: [Imap-uw] This is a multipart mime message

2008-11-10 Thread Mark Crispin
Please read the MIME specification. Your question indicates to me that you have not read it. It is impossible to write a quality email program without reading -- and understanding -- all the email specifications. There are no shortcuts to doing the necessary research. The text is question

RE: [Imap-uw] .mailboxlist not being updated when deleting folders from Thunderbird 1.5, 2.x clients

2008-11-06 Thread Mark Crispin
The IMAP specification explicitly requires requires that a server NOT remove a name from the subscription list even if the mailbox is deleted. There is a separate step required to remove a name from the subscription list. Try to get Thunderbird to product a transcript of the IMAP protocol

RE: [Imap-uw] Security bug in tmail and dmail

2008-10-31 Thread Mark Crispin
For the record, all sites running Panda IMAP (imap-2008) have already replaced the vulnerable version of dmail (they did not run tmail). I've updated the panda.com/imap page to reflect that UW now has these fixes in its imap-2007d. The tmail bug is by far the more serious of the two.

RE: [Imap-uw] Forcing uw-imap to ignore directories in ~/mail?

2008-10-29 Thread Mark Crispin
joined the IMAP effort, and the IMAP protocol would have languished in obscurity as some crazy idea that Mark Crispin had decades ago that never took off. IMAP would have had good company -- there were lots of really good protocol ideas that ended up in the refuse heap of history for being

RE: [Imap-uw] Forcing uw-imap to ignore directories in ~/mail?

2008-10-29 Thread Mark Crispin
I've long been surprised that UW hasn't substantially forked to date. Forking imapd makes little sense compared to building your own. There are many other open source IMAP servers. Forks happen in larger projects, such as kernels, which are too daunting to recreate from the ground up.

RE: [Imap-uw] mail_fetch_mime issue?

2008-10-27 Thread Mark Crispin
This is probably a bug with your IMAP server. With NNTP, POP3, and all local file formats, mail_fetch_mime() simply returns octets starting at point in the message text, where and were earlier calculated by parsing the message. With IMAP, mail_fetch_mime() does a specific IMAP operation to

RE: [Imap-uw] imap server on SCO Openserver 6

2008-10-27 Thread Mark Crispin
Very few people run SCO systems, so it may be difficult to find someone who knows enough about the issue to help you. Your best bet is run run imapd as root under a debugger such as gdb, with a breakpoint at routine checkpw() (in file ckp_sv4.c). Start imapd, give the command x login username

RE: [Imap-uw] mail_fetch_mime issue?

2008-10-27 Thread Mark Crispin
I noticed this issue with gmail account. I am not surprised. Gmail violates the IMAP specification in many ways. I am working with a product where we need to store the mail in different parts in SQLite/MySQL and it should be able to be able to recreate the mail as it is. I noticed this

RE: [Imap-uw] Quotas tmail

2008-10-23 Thread Mark Crispin
Actually those settings seem to be part of the experimental things under the Labs settings tab. You have to enable it there to have it show up at all, but there are a lot of warnings and disclaimers about doing so. I don't see any Labs setting tab. I assumed that he misspelled Labels.

RE: [Imap-uw] Quotas tmail

2008-10-23 Thread Mark Crispin
There is a Labs tab under settings. I see it in my gmail settings. And I don't. _ Want to read Hotmail messages in Outlook? The Wordsmiths show you how.

RE: [Imap-uw] Quotas tmail

2008-10-23 Thread Mark Crispin
You never know with Google. There is also an Older Version/Newer Version toggle at the top by the Settings link, if you're in the older version you won't have the Labs settings available. I tried both older version and newer version. No joy. We all hope you are doing well, though, in your

RE: [Imap-uw] uninterruptible sleep, high load average, high iowait

2008-10-22 Thread Mark Crispin
For what it's worth, this problem sounds to me like some underlying system failure and not anything in imapd. A little system with a mere 60 users should not get into this kind of trouble. In addition to hardware issues, have you checked for other possibilities, such as a denial of service

RE: [Imap-uw] uninterruptible sleep, high load average, high iowait

2008-10-22 Thread Mark Crispin
- we currently have no quotas (you read that right) on disk usage and despite warnings from I.T., many users' Inboxes had grown to between 400 and 600MB. Sent and Trash folders for several users 1GB. Some users have as many as 300 imap folders, so while there are just 60 users, we're hitting

RE: [Imap-uw] Quotas tmail

2008-10-21 Thread Mark Crispin
Hi Steve - Hope you're doing OK in spite of everything going on. There was a patch to tmail.c itself, along with some patches to the c-client library. I forget if those patches were important for tmail or just imapd. At least one of the imapd patches is important; it makes the .BounceMail

RE: [Imap-uw] Using c-client library from C#

2008-10-10 Thread Mark Crispin
mtest is a suitable example program to use for an initial start. mailutil and imapd are more advanced example programs; Alpine is an even more advanced one. You should make sure that you can build mtest, because if you can't built mtest you can't build anything else. The

RE: [Imap-uw] Re: [Alpine-info] Server name does not match certificate

2008-10-07 Thread Mark Crispin
Decades of unhappy experience proves that whatever time is saved, and convenience gained, by the use of non-FQDN names is vastly outweighed by the problems created. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed

RE: [Imap-uw] mix format doesn't check sysinbox for status

2008-09-20 Thread Mark Crispin
According the RFC822/RFC2822 then local part of email address is case-sensive, with exception of 'postmaster' which shall be compared insensitive. I helped write that text. I know what it means. Yes, sendmail does case-independent matching, but it's proprietary extension. No program shall

RE: [Imap-uw] mix format doesn't check sysinbox for status

2008-09-19 Thread Mark Crispin
speaking of features that cause problems, the feature of uw-imap that will let users login as User or USER or user bites me on a regular basis. we use squirrelmail and have some plugins that do vacation/procmail setup and it uses ftp to do that, so if they log in as User, then the ftp doesn't

RE: [Imap-uw] mix format doesn't check sysinbox for status

2008-09-19 Thread Mark Crispin
Actually sendmail does configurable case squashing of user-ids, with the default of case squashing enabled. (In otherwords 'Joe' 'JOE' and 'joe' all get converted to 'joe' before any delivery processing is done, unless you add the 'u' mailer flag to preserve case). imapd does something

RE: [Imap-uw] RIM Blackberry BIS service and inability to reclaim space (burping) following delete/expunge

2008-09-18 Thread Mark Crispin
Two other people reported the same issue. I suspect that the problem is the unguarded fs_give(). Try the attached more detailed patch, which is what I actually did as opposed to what I typed in off-hand into Hotmail. It replaces the existing IDLE code in imapd.c; delete the old code and drop

RE: [Imap-uw] mix format doesn't check sysinbox for status

2008-09-18 Thread Mark Crispin
The right way is to use tmail and/or dmail for delivery. I regret ever putting in code into mbx format that accounts for the spool in STATUS. My punishment for this ill-considered effort to be helpful was bug reports from individuals who were upset that spool messages did not show up in EXAMINE

RE: [Imap-uw] Blackberry no longer working w my UW IMAP setup

2008-09-13 Thread Mark Crispin
Used to work until very recently. The user can no longer get email from her RIM Blackberry. Here is a trace of the failing session. I have no clue what the problem is. Any suggestions? 01:23:49 2 select INBOX 01:23:49 * 0 EXISTS 01:23:49 * 0 RECENT 01:23:49 * OK [UIDVALIDITY 1157559673]

RE: [Imap-uw] Unix INBOX in /var/mail, mbx INBOX in home, snarf problem.

2008-09-07 Thread Mark Crispin
It's a restriction, and it's permanent. Snarfing requires RW access, and EXAMINE by definition is RO. Use STATUS or EXAMINE, but don't use both. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the

RE: [Imap-uw] Mark mail as archived

2008-08-19 Thread Mark Crispin
Yes, you can define your own flags. The flag is created the first time it is set in a message. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. To: imap-uw@u.washington.edu Date: Tue, 19

RE: [Imap-uw] Crash fetching an empty text part

2008-08-08 Thread Mark Crispin
() is returning 4294967295 in this case. The max value, I guess, instead of the min. Thanks again. Mark Crispin wrote: It's a bug in the IMAP server. It is sending a literal (a type of string) with a size count of -1. The size count for a literal is an unsigned, non-zero, 32-bit value. I

RE: [Imap-uw] patch: fix for rare smtp_close() crash

2008-08-07 Thread Mark Crispin
Thank you. Your proposed patch is correct, and is now in Panda IMAP. For what it's worth, there may be some news about a public distribution of Panda IMAP later this month. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a

RE: [Imap-uw] utf8_mime2text doesn't decode ISO-8859-1''%...

2008-08-05 Thread Mark Crispin
Are you back to maintain c-client? I maintain c-client for my own purposes, but I am no longer in the business of developing or maintaining it for others. But, after digging around the code, I found out a previous developer never finished the code to decode rfc2047. I have just completed

RE: [Imap-uw] imap and solaris 10 : execution process terminated abnormally

2008-07-22 Thread Mark Crispin
Thanks for letting me know. It makes me feel a lot better. I went to considerable effort to get Solaris (and other SVR4) systems to work, in spite of the serious design misfeature of POSIX locking (which, sadly, is all that SVR4 has). -- Mark -- Date: Tue, 22 Jul 2008 12:29:28 -0400

Re: [Imap-uw] Win CE Port.

2008-05-19 Thread Mark Crispin
I started that port several years ago, back in Windows CE 1.0 days, but never finished it. As I recall, the WCE SDK excludes most of the traditional CRT functions; e.g., you are expected to use the wchar functions instead of the traditional char functions such as strcpy(), etc. So, you'll

Re: [Imap-uw] Using spg (search) in mail_sort

2008-05-19 Thread Mark Crispin
On Mon, 19 May 2008, [EMAIL PROTECTED] wrote: From what I can tell it seems to be down to the app to walk the results and make a count. That's one way. What is returned is a 0-terminated array. for (i = 0; sort_result[i] 0; i++) Note that message numbers are unsigned, so test for

Re: [Imap-uw] Using spg (search) in mail_sort

2008-05-18 Thread Mark Crispin
On Sun, 18 May 2008, [EMAIL PROTECTED] wrote: Current issue: mail_sort works as expected, consistently, with one exception. Any search program (spg) passed to it seems to be completely ignored. I've tried many different approaches for the last 48 hours and nothing has worked, so I'm curious if

Re: [Imap-uw] Easing restrictBox restrictions

2008-05-08 Thread Mark Crispin
Tom - You aren't missing anything. restrictBox is implemented in a very paranoid fashion, and almost certainly can be relaxed safely. In designing the distribution rules for restrictBox, I didn't go by what is unsafe; I went by what might under some set of circumstances (that I don't

Re: [Imap-uw] using Unix EOLs for MBOX mailboxes under Windows?

2008-05-04 Thread Mark Crispin
Newline handling on Windows was a long-time hair-puller for me. As we all know, the Windows standard for newline is CRLF (and IMHO that is the correct one). Some Windows applications do not work at all well with bare-LF line terminator text files. 15 years ago, I was forced to make the

Re: [Imap-uw] Hard filesystem quota interaction with uw-imap

2008-05-03 Thread Mark Crispin
First, you should upgrade from 2006j to 2007a immediately. 2006j was an intermediate version. The only temporary files are small (a few bytes) files on /tmp used to aid in locking. Assuming that you are using the traditional UNIX mailbox format, note that imap-2006 implemented UIDPLUS

Re: [Imap-uw] mail_ping issue with Exchange 2007

2008-05-01 Thread Mark Crispin
It would probably be more useful if you set OP_DEBUG in your mail_open() calls and collect the mm_dlog() events; this will show a protocol telemetry of what the server is actually doing. With that in mind, I agree that this seems to be bad behavior on the part of the server and your surmises

Re: [Imap-uw] imapd 2007a and Mac mailer

2008-05-01 Thread Mark Crispin
On Thu, 1 May 2008, Ken Keating wrote: How did you do this? Did you change IMAPSSLPORT in imap4r1.c from 993 to 994 (the most straightforward way)? Or did you use some other means? If so, what? We didn't change IMAPSSLPORT. We're running Solaris 10 and controlling this through inetd: Hmm.

RE: [Imap-uw] mail_ping issue with Exchange 2007

2008-05-01 Thread Mark Crispin
A couple of notes: There is no reason to believe that a STATUS command in any way reflects what is going on with the selected mailbox stream, even if the mailboxes are the same. So, although interesting, the STATUS results are actually inconclusive. Next: My first hunch looking at the

Re: [Imap-uw] imapd 2007a and Mac mailer

2008-04-27 Thread Mark Crispin
On Sun, 27 Apr 2008, simon haywood wrote: Apr 27 21:12:41 Arthur imapd[1507]: imaps SSL service init from 192.168.178.29 Apr 27 21:12:42 Arthur imapd[1507]: Command stream end of file, while reading line user=??? host=book [192.168.178.29] Please remember, this log message only means that

Re: [Imap-uw] imapd 2007a and Mac mailer

2008-04-25 Thread Mark Crispin
On Fri, 25 Apr 2008, Ken Keating wrote: For testing purposes we built 2007a to accept secure connections on port 994 rather than 993. How did you do this? Did you change IMAPSSLPORT in imap4r1.c from 993 to 994 (the most straightforward way)? Or did you use some other means? If so, what?

Re: [Imap-uw] Hardware crypto accelerators

2008-04-24 Thread Mark Crispin
This is my opinion only: I believe that a software implementation on a general-purpose processor will always have superior price/performance to a special-purpose processor; and furthermore that the performance (as opposed to price/performance) of a software implementation on a general-purpose

Re: [Imap-uw] mailutil - invalid MX-format name

2008-04-21 Thread Mark Crispin
What version of mailutil are you running? If you are not running the latest version, try the latest version. Why are you using mx format? mx is utterly unsupported and has been in that state of non-support for 10 years. If you want a dual-use mailbox format, you should use mix which is

Re: [Imap-uw] mailutil - invalid MX-format name

2008-04-21 Thread Mark Crispin
On Tue, 22 Apr 2008, Brett Randall wrote: What do you know... The latest version works perfectly. Can't believe Debian Etch ships with such an old piece of software! Cool. Thanks for the update! At least Debian is in the 21st century. I still hear from people running code from the mid

Re: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?

2008-04-18 Thread Mark Crispin
On Fri, 18 Apr 2008, Joel Reicher wrote: OK, but why leave the child status indeterminate? Presumably imapd always knows which mailbox INBOX really refers to. It's indeterminate because any case string matches INBOX, but when children are involved an exact case is required. INBOX matches

Re: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?

2008-04-18 Thread Mark Crispin
On Fri, 18 Apr 2008, Joel Reicher wrote: If I am sure none of my users will work around the server to create a child of INBOX is there anything wrong with imapd reporting \NoInferiors for INBOX unconditionally? I can see the code in dummy_scan() for this. Yes. Just pull that code that tests

RE: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?

2008-04-18 Thread Mark Crispin
On Fri, 18 Apr 2008, Esh, Thomas D (Tom) wrote: Interesting, my interpretation of the spec is that only the inbox part is case-insensitive. The other parts of the mailbox name are still case-sensitive. That is *a* interpretation of the specification. There are other, equally valid,

Re: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?

2008-04-18 Thread Mark Crispin
On Fri, 18 Apr 2008, Michael Cashwell wrote: I must be being dense here, but isn't having an inferior to INBOX named identically but with only case differences a very special case? Wouldn't it make more sense to prohibit only that similar to how a case-preserving but case-insensitive file

Re: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?

2008-04-18 Thread Mark Crispin
This thread is closed. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. ___ Imap-uw mailing list Imap-uw@u.washington.edu

Re: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?

2008-04-17 Thread Mark Crispin
On Thu, 17 Apr 2008, Mark Crispin wrote: By request, there is explicit code in UW imapd (dummy_scan() in dummy.c) to list INBOX, and not report \NoInferiors if the INBOX is in a dual-use format. But it's still not supported. To clarify further, imapd used to report \NoInferiors for INBOX

Re: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?

2008-04-17 Thread Mark Crispin
Although the behavior seems strange and is arguably wrong, it is compliant with the IMAP protocol specification and is brought about by how INBOX is implemented in UW imapd. If neither \HasChildren or \HasNoChildren is indicated, then the child status is indeterminate. The lack of

Re: [Imap-uw] mbx Inbox and non-mbx folders?

2008-04-15 Thread Mark Crispin
In mbx format, there is always a read lock on the mbx mailbox. If I'm interpreting this output correctly, process 518 is stuck and sitting on the write lock for the file in question (what format is /home/myuser/Mail/Trash ?) and that causes the bottleneck. Also, what version are you running?

Re: [Imap-uw] mbx Inbox and non-mbx folders?

2008-04-14 Thread Mark Crispin
On Mon, 14 Apr 2008, Ken Mandelberg wrote: Should there be a problem with imapd serving an mbx INBOX, with other folders in traditional file format? Some of our users with that setup report hangs trying to move mail from their INBOX to a folder. There should be no problem. UW imapd looks at

Re: [Imap-uw] Selective mailpart deletion in IMAP.

2008-04-14 Thread Mark Crispin
On Mon, 14 Apr 2008, Oscar del Rio wrote: A limitation of that feature is that the saved message (without the attachments) is appended to the mailbox. If you sort your mail by Mailbox Order (or Order Received) the old message shows up at the end, with the newer messages. That is unavoidable.

Re: [Imap-uw] Selective mailpart deletion in IMAP.

2008-04-11 Thread Mark Crispin
On Fri, 11 Apr 2008, Dister Kemp wrote: I was wondering if IMAP server (the protocol) supports selective mailpart deletion instead of deleting the entire message. No. Messages are static. The only way to delete a part of a message is to make a new copy of the message with the desired

Re: [Imap-uw] More mix/postfix questions...

2008-04-11 Thread Mark Crispin
On Fri, 11 Apr 2008, Tom Leach wrote: Mark, I didn't mention this before, but I had already changed the CREATEPROTO to mixproto (but I left EMPTYPROTO as unixproto). If that is the case, then tmail behaves as follows: 1) If there is a ~/INBOX mix-format mailbox, it delivers there. 2)

Re: [Imap-uw] More mix/postfix questions...

2008-04-10 Thread Mark Crispin
First things first: dmail vs. tmail. tmail must be run as root; the program is designed to be invoked from a process whose UID is not the destination user, and thus it needs root in order to be able to setuid to the user and complete delivery. If the delivery program is run as the

Re: [Imap-uw] More mix/postfix questions...

2008-04-10 Thread Mark Crispin
On Thu, 10 Apr 2008, Gary Casterline wrote: I'm keen on this thread. Not much help to offer, but a question that seems to fit -- Has anyone tried to use a postfix 'per-user' delivery agent to test deployment of mix format INBOX to a few folks at a time? If I could figure out a way to do a

Re: [Imap-uw] Mix and Postfix deliveries

2008-04-08 Thread Mark Crispin
I would say use tmail. The cost in snarfing from traditional UNIX to mix format is almost certainly worse. Don't forget that there is plenty of locking necessary with traditional UNIX mbox format. On Tue, 8 Apr 2008, Tom Leach wrote: I'm planning the migration from our current mail setup

Re: [Imap-uw] Trouble with Blackberry vs Thunderbird

2008-04-08 Thread Mark Crispin
Are you certain that the mailbox is mbx format, as opposed to traditional UNIX (a.k.a. mbox) format? If the mailbox is truly mbx format, then there is no reason at the server side why Thunderbird should be behaving this way. On Tue, 8 Apr 2008, Ken Mandelberg wrote: One of our users has

Re: [Imap-uw] Any way to make mix not dual use?

2008-04-06 Thread Mark Crispin
On Sun, 6 Apr 2008, David Carter wrote: On Mon, 7 Apr 2008, Joel Reicher wrote: My preferred webmail client, prayer, reports mix-format mailboxes strictly as directories, and gives no way to access the mail in them. FWIW, I'm about to release a new version of Prayer which handles dual use

Re: [Imap-uw] IMAP Idle

2008-03-31 Thread Mark Crispin
On Mon, 31 Mar 2008, simon haywood wrote: Can you be more specific? Are you saying that new mail arrived, but that even after waiting a minute or more you never say it? Exactly. Mail is sent. Postfix deals with it. Then nothing happens. The logs of the mail client indicate that Idle mode is

Re: [Imap-uw] IMAP Idle

2008-03-30 Thread Mark Crispin
On Sun, 30 Mar 2008, simon haywood wrote: 1. That emails will (should?) arrive to be read in my email client as soon as they are sent - not after the next timed poll. That assumes that there is infrastructure between the delivery system and the IMAP server to accomplish that. That is not a

Re: [Imap-uw] mix problems

2008-03-29 Thread Mark Crispin
I've studied your problems with considerable concern, and I must admit to being completely stymied. I have never seen this problem, and you are the only site that has reported it. Another site has reported a different class of problem on Solaris, which may have a common cause (see below)

Re: [Imap-uw] IMAP Idle

2008-03-29 Thread Mark Crispin
I'm confused. What do you expect to happen? IDLE is not something that end users would normally see any difference. The only visible change is that a mobile phone would need to transmit a little bit less -- assuming that there is no NAT between the mobile phone and the server. I see no

Re: [Imap-uw] What's in the new version of software?

2008-03-21 Thread Mark Crispin
On Thu, 20 Mar 2008, David Severance wrote: I didn't see an announcement but apparently there have been two releases since the announcement of 2007 some time ago. Was there a new version announced but I missed it? What's in the new version? Soft quota support? It's just a maintenance update

Re: [Imap-uw] Reg. SSL on Windows.

2008-03-19 Thread Mark Crispin
Once upon a time, before I had SSPI code, I built the c-client on Windows using OpenSSL. However, since c-client supports SSPI on Windows, and all but the very most ancient versions of Windows have SSPI built in as part of the operating system, it is pointless today to build Windows c-client

Re: [Imap-uw] IMAP and Calenders in Outlook 2007.

2008-03-19 Thread Mark Crispin
On Mon, 17 Mar 2008, Jason Mitchell wrote: I wondered if it would be at all possible to configure an imap account in Outlook 2007 to have a calendar that could then be shared etc. The IMAP protocol does not have any calendaring capabilities; IMAP is a message access protocol and not a

[Imap-uw] RE: email format and attachment

2008-03-19 Thread Mark Crispin
] On Behalf Of Mark Crispin Sent: Monday, March 10, 2008 6:26 PM To: Alla Bogolubov Cc: imap-uw@u.washington.edu Subject: RE: email format and attachment On Mon, 10 Mar 2008, Alla Bogolubov wrote: Is it possible to send email in HTTP format with c-client? Is it possible to attach to the email? Yes

Re: [Imap-uw] IMAP dropouts over busy network

2008-03-13 Thread Mark Crispin
Unfortunately, problems such as these are almost invariably network related and have little/nothing to do with IMAP. Once logged in, the only timeout in IMAP is a 30 minute inactivity autologout timer. One of the biggest offenders is NAT. Many NAT devices drop the mapping if there has not

[Imap-uw] RE: unsatisfied symbols when linking with c-client lib

2008-03-11 Thread Mark Crispin
On Tue, 11 Mar 2008, Alla Bogolubov wrote: 1) Where can I find full documentation on c-client functions? Source code. Most functions have headers describing their arguments and return values. 2) Are there any POP3 client examples available? Not from me. Maybe someone else has something

[Imap-uw] Re: c-client error: ?Can't open mailbox INBOX: no such mailbox

2008-03-10 Thread Mark Crispin
On Mon, 10 Mar 2008, Alla Bogolubov wrote: Please advise where I went wrong. Your mail() function is missing the mandatory statement #include linkage.c Without that statement, the c-client library is not properly initialized. -- Mark -- http://panda.com/mrc Democracy is two wolves and a

Re: [Imap-uw] Re: c-client error: ?Can't open mailbox INBOX: no such mailbox

2008-03-10 Thread Mark Crispin
On Mon, 10 Mar 2008, Mark Crispin wrote: Your mail() function is missing the mandatory statement ^^ Sorry, I meant to type Your main() function. Every application that uses c-client must have the #include linkage.c statement, early in its main() function. -- Mark -- http

Re: [Imap-uw] Re: c-client error: ?Can't open mailbox INBOX: no such mailbox

2008-03-10 Thread Mark Crispin
On Mon, 10 Mar 2008, Bob Atkins wrote: I also was bitten by this include file. Is there some reason that you didn't put this stuff on linkage.h? linkage.c is code, not definitions. It does such tasks as driver and authenticator linkage, application/API version match verification, etc. This

[Imap-uw] RE: email format and attachment

2008-03-10 Thread Mark Crispin
On Mon, 10 Mar 2008, Alla Bogolubov wrote: Is it possible to send email in HTTP format with c-client? Is it possible to attach to the email? Yes. The mechanism by which you send MIME messages is complex. You should look at the source to an existing program, such as Pine, Alpine, or my old

Re: [Imap-uw] Imap hanging...

2008-03-09 Thread Mark Crispin
First and foremost, you should upgrade from 2006j. The current release version is (always) on: ftp://ftp.cac.washington.edu/mail/imap.tar.Z Next, when you do your TELNET test, do you see an imapd process on your system? If you do not see an imapd process, then something is wrong with

Re: [Imap-uw] Imap hanging...

2008-03-09 Thread Mark Crispin
What you describe seems to be a good indication that it isn't an imapd issue, but rather some inetd issue. The fact that inetd answers the port seems to indicate that it is having trouble invoking imapd. Since this isn't an imapd issue, you'll probably be better off getting a local UNIX

Re: [Imap-uw] Imap hanging...

2008-03-09 Thread Mark Crispin
On Sun, 9 Mar 2008, Tom Grove wrote: Are there any major changes between 2006 and 2007 from a compilation perspective? Libraries that it needs or anything like that? Thanks. No change from a compilation perspective. Just better. -- Mark -- http://panda.com/mrc Democracy is two wolves and

<    1   2   3   4   5   6   7   8   9   10   >