Re: possible imaprc.txt erratum

2005-04-19 Thread Mark Brand
Mark, The text is correct. If INBOX is an empty file, it defaults to the system standard (which is traditional UNIX format on most systems, but MMDF on SCO). I see your point. Empty means empty in the sense of contains zero bytes rather than contains zero messages (since it describes a file

Re: set new-folder-format same-as-inbox broken?

2005-04-19 Thread Mark Brand
Could it be that set new-folder-format same-as-inbox documented in http://www.washington.edu/imap/documentation/imaprc.txt.html does not work in imap-2004c1? I have done a bunch of tests with this and it seems to have no effect when the INBOX is in mbx format. It works for me. I just tried

Re: possible imaprc.txt erratum

2005-04-19 Thread Mark Crispin
On Tue, 19 Apr 2005, Mark Brand wrote: But still, even with this understanding, what happens if there is no INBOX at all? That's where magic begins. You'll have to read the code in the dummy driver to understand. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting,

Re: possible imaprc.txt erratum

2005-04-19 Thread Mark Brand
But still, even with this understanding, what happens if there is no INBOX at all? That's where magic begins. You'll have to read the code in the dummy driver to understand. Now that you mention it, I had noticed a number of almost supernatural properties in imap. Probably because the

set new-folder-format same-as-inbox broken?

2005-04-18 Thread Mark Brand
Could it be that set new-folder-format same-as-inbox documented in http://www.washington.edu/imap/documentation/imaprc.txt.html does not work in imap-2004c1? I have done a bunch of tests with this and it seems to have no effect when the INBOX is in mbx format. (New folders are still in the system

possible imaprc.txt erratum

2005-04-18 Thread Mark Brand
In the following passage of imaprc.txt, shouldn't the sentence If INBOX is empty, it defaults to system standard. read If INBOX does not exist, it defaults to system standard. 1) set new-folder-format sets what format new mailboxes are created in. This also controls

Re: set new-folder-format same-as-inbox broken?

2005-04-18 Thread Mark Crispin
On Mon, 18 Apr 2005, Mark Brand wrote: Could it be that set new-folder-format same-as-inbox documented in http://www.washington.edu/imap/documentation/imaprc.txt.html does not work in imap-2004c1? I have done a bunch of tests with this and it seems to have no effect when the INBOX is in mbx

Re: possible imaprc.txt erratum

2005-04-18 Thread Mark Crispin
The text is correct. If INBOX is an empty file, it defaults to the system standard (which is traditional UNIX format on most systems, but MMDF on SCO). -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.

What does CLIENT BUG in result of STATUS operation mean?

2005-04-16 Thread Mike Schmidt
Hi, Can someone tell me what the CLIENT BUG references mean in the status report? This is a transcript of the IMAP status operation. The client is based on c-client, running in Windows XP, and the server is uw-imapd running over a TLS connection (on Linux): 4/16/2005 10:55:05 AM: 0005

Re: What does CLIENT BUG in result of STATUS operation mean?

2005-04-16 Thread Mark Crispin
On Sat, 16 Apr 2005, Mike Schmidt wrote: Can someone tell me what the CLIENT BUG references mean in the status report? It means that you did a STATUS command on the selected (opened) mailbox; a completely unnecessary and wasteful operation which could also have additional severe negative

Re: What does CLIENT BUG in result of STATUS operation mean?

2005-04-16 Thread Mike Schmidt
Thank you very much, Mark. This is exactly the information I was looking for. I am just learning to understand c-client, and, although I have read the various doc files many times, especially the internal.txt one, there are many aspects of the operational use of c-client that I do not yet

Re: What does CLIENT BUG in result of STATUS operation mean?

2005-04-16 Thread Mark Crispin
On Sat, 16 Apr 2005, Mike Schmidt wrote: Now I have an additional quick question, more a design question than anything else: if I understand correctly, I should have 1 mailstream open to an imap server, not one per mailbox. I should reuse this mailstream when switching mailboxes instead of

Re: What does CLIENT BUG in result of STATUS operation mean?

2005-04-16 Thread Mike Schmidt
Thanks Mark. When I look at the server logs for Thunderbird or Outlook, I never see more that one IMAP logon at a time. That also goes for all the users on our production server, although they are nearly all either Outlook or Thunderbird, with maybe an occasional Eudora thrown in for good

Re: What does CLIENT BUG in result of STATUS operation mean?

2005-04-16 Thread Pawel Salek
On 04/16/2005 07:44:18 PM, Mike Schmidt wrote: Thanks Mark. When I look at the server logs for Thunderbird or Outlook, I never see more that one IMAP logon at a time. That also goes for all the users on our production server, although they are nearly all either Outlook or Thunderbird, with

location of uid of a message in a mbx folder

2005-04-15 Thread Darren Jacobs
Hi All, I'm trying to track down where message uid is encoded in a message in a mbx mail folder? Darren -- -- For information about this mailing list, and its archives, see: http://www.washington.edu/imap/c-client-list.html

Re: when ought messages to get moved from spool to user's mbx INBOX?

2005-04-14 Thread Mark Brand
I have a question, or maybe I just need some advice. Consider this situation please: -There's a user called info. The purpose of the user is to receive mail that will end up in a shared mailbox that members of a group info can read and write to. -Postfix delivers messages to /var/spool/mail/info

symbolic links to mailboxes and locking

2005-04-14 Thread Mark Brand
Is it safe for several users to be accessing the same mbx mailbox via different symbolic links pointing to that mailbox? Assume that all users are doing this with c-client software, or even that all users are using imapd. -- -- For

simultaneous access to incoming spool file by c-client and postfix

2005-04-14 Thread Mark Brand
Please consider 2 situations where messages are moved from spool files into mbx INBOX files in users home directories: A. c-client software automatically moves mail when software accesses incoming spool file. B. Someone explicitly invokes mailutil appenddelete. The question is: Can corruption of

Re: symbolic links to mailboxes and locking

2005-04-14 Thread Mark Crispin
On Thu, 14 Apr 2005, Mark Brand wrote: Is it safe for several users to be accessing the same mbx mailbox via different symbolic links pointing to that mailbox? Yes. However, don't use NFS with mbx format. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party

caching and mailbox synchronisation with c-client

2005-04-14 Thread Mike Schmidt
Hi, I'm writing a headless imap client using c-client on WindowsXP. I have interfaced to all the mail functions and can successfully read mail messages from my uw-imap server (linux). Since the mail storage is handled by another application, with which my client communicates. The c-client

Re: caching and mailbox synchronisation with c-client

2005-04-14 Thread Mark Crispin
As a first order approximation: You should have on record the UIDVALIDITY of the mailbox, highest assigned UID in the mailbox ever seen by the client, and UIDs of all messages. If the IMAP server reports a different UIDVALIDITY then what you have, dump your entire cache; it has been

[announce] mbx-repair script

2005-04-12 Thread Tim Mooney
All- This relates more to the mbx-format supported by UW's imapd than to c-client, so I'll be brief. We make extensive use of mbx in our environment, and we occassionally run into corrupt mailboxes. Like many other sites, we've developed an in-house tool for automating some of the repair process

Re: imapd changing ctime

2005-04-11 Thread Mark Crispin
On Mon, 11 Apr 2005, Rob Henderson wrote: We have observed that the UW imapd is changing the ctime on mail folders on every access, even when the folder is not modified. Fair question, unfair answer. :-) Blame the designers of UNIX. There is no way to peek at the contents of a file without

Problem with MBX INBOX

2005-04-08 Thread Clive McDowell
Folks, I have a strange problem with an MBX format INBOX. It contains 6618 messages but only the most recent 33 are being displayed by PINE or any other clients I've tried. Connecting to the INBOX does not result in any error messages so I don't really have anything to go on to make a manual

Re: Problem with MBX INBOX

2005-04-08 Thread J. A. Landamore
Does mailutil check mailbox comes back reporting no errors and the correct number of messages? John Landamore School of Mathematics Computer Science University of Leicester University Road, LEICESTER, LE1 7RH [EMAIL PROTECTED] Phone: +44 (0)116 2523410 Fax: +44 (0)116 2523604 Folks, I

Re: imapd for MacOS X - Authentication errors

2005-04-08 Thread Matthew Leingang
Dear Mark, Thanks for your answer. I've figured out the authentication problems, and it has to do with PAM. MacOS 10.3 (Panther) uses PAM for all of its authentication, quite different from 10.2 (Jaguar). So in addition to starting the imap service on port 143 (and imaps on 993), which I also

Re: Problem with MBX INBOX

2005-04-08 Thread Mark Crispin
On Fri, 8 Apr 2005, Clive McDowell wrote: I have a strange problem with an MBX format INBOX. It contains 6618 messages but only the most recent 33 are being displayed by PINE or any other clients I've tried. That means that the other 6585 messages were deleted and expunged in a shared session.

Re: Problem with MBX INBOX

2005-04-08 Thread Clive McDowell
Mark Crispin wrote: On Fri, 8 Apr 2005, Clive McDowell wrote: I have a strange problem with an MBX format INBOX. It contains 6618 messages but only the most recent 33 are being displayed by PINE or any other clients I've tried. That means that the other 6585 messages were deleted and expunged

Re: imapd for MacOS X - Authentication errors

2005-04-07 Thread Mark Crispin
On Thu, 7 Apr 2005, Matthew Leingang wrote: Now when I try to connect using an IMAP client (even telnet localhost 143) I can't login. I get the NO LOGIN failed response. Does this happen when you make an SSL (port 993) connection to your IMAP server? Does Entourage do a STARTTLS command? If it

rfc 3348 (CHILDREN extension) support?

2005-04-07 Thread Matt Selsky
Are there any plans to add RFC 3348 support to imapd? I'm currently trying to improve performance in Horde IMP 4.x when accessing a UW-IMAP server. IMP does 'LIST #shared/*' and then imapd returns a huge list of shared folders, even though the user doesn't have access to most of those

Re: rfc 3348 (CHILDREN extension) support?

2005-04-07 Thread Mark Crispin
On Thu, 7 Apr 2005, Matt Selsky wrote: Are there any plans to add RFC 3348 support to imapd? CHILDREN is being replaced by LISTEXT in the IETF IMAP Extensions Working Group. Among other desirable things, LISTEXT will require the client to indicate that it wants children information. The bad

Re: rfc 3348 (CHILDREN extension) support?

2005-04-07 Thread Matt Selsky
Mark, Thanks for the quick response and the clarification. The way we organized our shared folders a user will never have access to a child mailbox is they don't have access to the parent and they would never create folders in #shared. Am I correct in that we'd want to modify

Re: rfc 3348 (CHILDREN extension) support?

2005-04-07 Thread Mark Crispin
On Thu, 7 Apr 2005, Matt Selsky wrote: Am I correct in that we'd want to modify dummy_list_work() to implement this? To alter list behavior, yes. Either there or in dummy_listed(), which has filters for other reasons. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from

mh_header performance patch

2005-03-24 Thread Michael Klepikov
I read my MH mail from two clients: Emacs MH mode, directly from the MH dirs, and Mozilla via the UW IMAP server. The IMAP server frequently re-reads my mailboxes, which are sometimes large (e.g. 4k, 6k messages), and it was taking a long time. I found that the routine mh_headers always reads

Re: mh_header performance patch

2005-03-24 Thread Mark Crispin
Thank you very much! The next release will be imap-2004d, a maintenance release. imap-2004d is under a coding freeze for the upcoming Pine 4.63 release, and so your changes won't make it in in imap-2004d. However, I'm doing some related performance improvements, as part of the imap-2005 work,

Question about nested folders..

2005-03-17 Thread Joseph Silverman
Can uw Imap (c-client) create nested folders? How do I do this? I read, somewhere, that this required using the .mbx format for mailboxes. So I recompiled imapd changing the default format to mbx. After some unpleasant experiences trying to get tmail to work with sendmail (can't figure out

followup on email about nested directories..

2005-03-17 Thread Joseph Silverman
What I need to do, and am hoping that uw imap will do, is create subfolders within folders. So, for example, I could create folder X that contains messages and then put folder Y into it. I realize that both mbox and mbx formats are flat files and thus it seems UNLIKELY that this can be done.

Re: followup on email about nested directories..

2005-03-17 Thread Mark Crispin
In order to create mailboxes within a mailbox, you need to use a mailbox format which supports this dual-use. mbx format is not such a format; nor is traditional UNIX mailbox format. The dual-use mailbox formats supported in the distribution version of c-client are mh, mx, and news.

Re: followup on email about nested directories..

2005-03-17 Thread Lars Hallberg
Mark Crispin wrote: In order to create mailboxes within a mailbox, you need to use a mailbox format which supports this dual-use. mbx format is not such a format; nor is traditional UNIX mailbox format. That is doable. Just deside on a special mailbox name to be the folders 'own' mailbox, let

Re: followup on email about nested directories..

2005-03-17 Thread Tomas Pospisek's Mailing Lists
On Thu, 17 Mar 2005, Mark Crispin wrote: In order to create mailboxes within a mailbox, you need to use a mailbox format which supports this dual-use. mbx format is not such a format; nor is traditional UNIX mailbox format. The dual-use mailbox formats supported in the distribution version of

win32 program use c-client cannot compile

2005-03-16 Thread Golibasku
Dear all, One of my win32 program use the c-client. When i compile, i get a lot of errors. e:\project\abc\ab\library\imap-2004c1\c-client\mail.h(471) : warning C4005: 'ERROR' : macro redefinition c:\program files\microsoft sdk\include\wingdi.h(98) : see previous definition of 'ERROR'

RE: Solaris imap-2004c1 can't find mailbox

2005-03-10 Thread Mark Crispin
On Thu, 10 Mar 2005, Bruce Shaw wrote: I'm not using INBOX. I'm using /var/mail/whatever-the-user-name-is. Ah. I understand now. When you give a specific filename, then a file by that name must exist. However, there is no reason why you should need to do this; to refererence your own mailbox,

RE: Solaris imap-2004c1 can't find mailbox

2005-03-10 Thread Mark Crispin
On Thu, 10 Mar 2005, Bruce Shaw wrote: OK, now I'm confused. Back awhile ago I was using a variant of cyrus-IMAP that required a specific file named INBOX to be sitting in your home directory. Yes, you're confused, and I think that it's a good idea to resolve the confusion, because otherwise you

RE: Solaris imap-2004c1 can't find mailbox

2005-03-08 Thread Mark Crispin
On Tue, 8 Mar 2005, Bruce Shaw wrote: I reinstalled everything the way I figured it should be set up and left it overnight intending to fight with it in the morning. During the night a message came in and was successfully processed. /var/mail/username now appears to contain a valid DON'T DELETE

Re: Solaris imap-2004c1 can't find mailbox

2005-03-07 Thread Mark Crispin
Just as a friendly reminder, the imap@u.washington.edu mailing list is for discussions of the IMAP protocol. Software questions about UW imapd should go to [EMAIL PROTECTED] We're going to do something about these mailing list names. Even though the actual software is called c-client, most

c-client built in uudecoding?

2005-03-07 Thread Charles Dorner
Hi, After a cursory examination, I didn't see a uudecoding function anywhere in c-client; a co-worker swears there is one. Does c-client have uudecoding built in someplace? Charles -- -- For information about this mailing list,

Re: c-client support for client certificates?

2005-02-24 Thread Mark Crispin
On Thu, 24 Feb 2005, Kevin P. Fleming wrote: If I implement this, would it be more consistent to make it a callback route that returns a pointer to an allocated chunk of memory (with the caller responsible for freeing), or a parameter where I actually pass in the PEM-encoded string and c-client

c-client support for client certificates?

2005-02-23 Thread Kevin P. Fleming
I'm trying to build up a Horde/IMP installation secured by using SSL certificates on both sides (server and client). I have no trouble using the client cert to authenticate to Horde, and I have no trouble using the client cert to authenticate _directly_ to Cyrus IMAP (which is obviously my

Re: c-client support for client certificates?

2005-02-23 Thread Mark Crispin
No, c-client does not have any support for SSL client certificates. The [GS]ET_SSLCERTIFICATEQUERY mail_parameter() callback routine is used to allow the application a chance to decide whether to proceed or abort if the *server* certificate fails validation. On Thu, 24 Feb 2005, Kevin P.

Problems with Google Mail SMTP

2005-02-22 Thread Akmal Khodjanov
Hello all, Has anybody experienced problems using c-client on Google's SMTP server? I'm trying to send a message using c-client, and that's what I get: Log: SMTP SERVER BUG (invalid challenge): = Log: Can not authenticate to SMTP server: 334 = The hostlist I'm passing to smtp_open looks like

Re: mailutil transfer and bad messages

2005-02-22 Thread Lars Immisch
Hi, Also, when running test transfers, I am experiencing more weird error messages from mailutil, such as message contain NUL character. It seems that my users mailboxes contain a lot of crap. I remember, I had those a lot when I converted my old Unix mailboxes that had NeXTMail attachments in

Re: What to do with VERY large mailbox files?

2005-02-15 Thread Nicolas Kowalski
Sorry, this is really back in time On Tue, 29 Apr 2003, Mark Crispin wrote: There are, indeed, other alternatives to flat-file and file/message formats. We are working on such an alternative in c-client, and hope to offer it soon (it's in testing here). Are there any news about this

Re: What to do with VERY large mailbox files?

2005-02-15 Thread Mark Crispin
On Tue, 15 Feb 2005, Nicolas Kowalski wrote: Are there any news about this alternative format ? Not yet. I've been bogged down in other tasks. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.

Re: syslog: IMAP toolkit crash: Lock when already locked

2005-02-15 Thread Mark Crispin
On Tue, 15 Feb 2005, Jose A. Fabregas Reyes wrote: I have a Tru64 V5.1A DS20 machine. One o twice at day, i get this message: syslog: IMAP toolkit crash: Lock when already locked Just as a friendly reminder, the imap@u.washington.edu mailing list is for matters pertaining to the IMAP *protocol*,

Hook scripts

2005-02-07 Thread Jean-Luc Wasmer
Hi, How can I call a specific script when a user connects to the server or does any other stuff (like read or erase mail)? Thanks, JL -- -- For information about this mailing list, and its archives, see:

Re: Setting deleted flag before delivery

2005-02-04 Thread Mark Crispin
The short answer is: there is no option to deliver a message as deleted. As you discovered, your hack with X-Status won't work, especially not with messages in formats other than traditional UNIX (since X-Status is only with traditional UNIX format). To do it right, you'll have to add a switch

Re[3]: POP servers not advertising USER in CAPA reply

2005-02-02 Thread Vadim Zeitlin
On Tue, 1 Feb 2005 16:31:25 -0800 (Pacific Standard Time) Mark Crispin [EMAIL PROTECTED] wrote: MC On Tue, 1 Feb 2005, Vadim Zeitlin wrote: MC In theory I totally agree but in practice there is this broken server MC which doesn't support any other way to login except by using USER but still

Re[3]: POP servers not advertising USER in CAPA reply

2005-02-02 Thread Mark Crispin
On Wed, 2 Feb 2005, Vadim Zeitlin wrote: They may have an administrative policy that clients should use the SSL POP3 service (port 995) instead of unencrypted POP3 port 110; but for the benefit of old pre-SSL clients (which also would not use CAPA) it allows the USER/PASS commands. Ok, but if

Re[4]: POP servers not advertising USER in CAPA reply

2005-02-02 Thread Vadim Zeitlin
On Wed, 2 Feb 2005 10:25:09 -0800 Mark Crispin [EMAIL PROTECTED] wrote: MC Doing so is the type of behavior that Microsoft is often accused of doing: MC taking the expedient approach instead of the correct one. I find it sadly MC ironic that the open source community would even think of doing

Re: Re[4]: POP servers not advertising USER in CAPA reply

2005-02-02 Thread Pawel Salek
On 02/02/2005 07:52:25 PM, Vadim Zeitlin wrote: [snip] But the user does. This is why I think that ideally there would be an option, e.g. a cclient callback to the main program which would allow it to decide -- presumably by asking the user -- whether to continue connecting. If there was a

Re: Re[5]: POP servers not advertising USER in CAPA reply

2005-02-02 Thread Frode Nordahl
On Feb 2, 2005, at 22:55, Vadim Zeitlin wrote: MC In that case, the user can cancel his account at that ISP and find an MC alternative ISP which complies with the standards. How many users are going to do this? Or, more importantly, how many ISPs would do anything even if [s]he did? Many. I'm

Re[7]: POP servers not advertising USER in CAPA reply

2005-02-02 Thread Vadim Zeitlin
On Thu, 3 Feb 2005 00:09:38 +0100 Frode Nordahl [EMAIL PROTECTED] wrote: FN Many. I'm working at one of the largest ISPs in Norway, and we take FN pride in allways attempting to do things the right way, following FN standards, and generally being nice internet citizens. My sincere

compile error

2005-02-01 Thread Kowal, Michael
I'm trying to compile IMAP and I keep getting the following error: imap-2004c1]# make slx . . . ln -s ip4_unix.c ip_unix.c ln: `ip_unix.c': File exists make[3]: *** [onceenv] Error 1 make[3]: Leaving directory `/usr/local/imap-2004c1/c-client' make[2]: *** [slx] Error 2 make[2]: Leaving

Re: compile error

2005-02-01 Thread Mark Crispin
On Tue, 1 Feb 2005, Kowal, Michael wrote: ln: `ip_unix.c': File exists ip_unix.c is a file that is made as part of the build. It should not exist when the build is started. Try doing a make clean and then try the build again. If you got your copy from a third-party, try getting it directly from

Re[2]: POP servers not advertising USER in CAPA reply

2005-02-01 Thread Mark Crispin
On Tue, 1 Feb 2005, Vadim Zeitlin wrote: In theory I totally agree but in practice there is this broken server which doesn't support any other way to login except by using USER but still doesn't advertise it. It's clearly is a bug in server implementation and using USER is the only way to work

RE: compile error

2005-02-01 Thread Mark Crispin
On Tue, 1 Feb 2005, Kowal, Michael wrote: Worked perfectly, but I get errors about SSL. Is there a way I can tell make where my installation of SSL is (e.g ssl is currently installed in /usr/local/ssl/)? /usr/local/ssl is the default location. If you are building on Linux, you should use make

Re: How do I send custom IMAP commands with c-client ?

2005-01-28 Thread Patrick Bennett
Mark Crispin wrote: On Thu, 27 Jan 2005, Patrick Bennett wrote: How do I generically support this feature with any given server a customer might be using? When you open the mailbox, use the /authuser= option, e.g. {imap.example.com/user=fred/authuser=joe}inbox where fred is the account to be

Re: How do I send custom IMAP commands with c-client ?

2005-01-28 Thread Mark Crispin
On Fri, 28 Jan 2005, Patrick Bennett wrote: When using /authuser with Exchange I get the error 'Can't do /authuser with this server.' As you surmised, Exchange does not support it. I then set up a local test CommuniGate Pro server to try it. Your test shows that Communigate Pro doesn't support

Re: How do I send custom IMAP commands with c-client ?

2005-01-27 Thread Mark Crispin
On Thu, 27 Jan 2005, Patrick Bennett wrote: One final comment. The whole idea of PROXYAUTH has been obsolete for a decade, having been replaced with SASL authentication/authorization ID. How do I generically support this feature with any given server a customer might be using? When you open

message status

2005-01-26 Thread James Medley
I am using a Mac OS 10.3.x for a mail server (only about 25 clients). I used an application called Postfix Enabler to start the mail service. Postfix Enabler starts Postfix and loads the 2004 UW/IMAP release for pop3 and imap. All works well. My problem is with message status. Most of the

University of Washington IMAP toolkit version 2004c is now available

2005-01-18 Thread Mark Crispin
This note is to announce the availability of the University of Washington IMAP toolkit version 200c. This is a maintenance release with minimal user-visable changes, but some important bug fixes. Information about changes can be found in the release notes in file imap-2004c/docs/RELNOTES

building imap on aix 5.2

2005-01-12 Thread Mike Klein
I have recently tried to build imapd on aix 5.2, build NOSSL a41. After installation, i cannot log into my imap account, I get some authorization type error. I have previously built imapd without incident! Mike Klein Manager of System Services Loyola University New Orleans 6363 St. Charles

dynamic libraries imapd

2005-01-12 Thread Mike Klein
Does imapd, versions prior to the 4.61, use dynamic linking for libraries, or, are the libraries included in the executable? I'm on aix 5.2 and use gcc to do the builds. The problem revolves around libiconv! With the ibm lib, it works, but other things don't. With the opensource version, other

Re: [PATCH] buffer overrun in rfc822_8bit()

2005-01-11 Thread Mark Crispin
Thank you. I agree with your suggested patch, and it will be in the next release. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.

Re: [PATCH] buffer overrun in rfc822_8bit()

2005-01-11 Thread Antony Dovgal
On Tue, 11 Jan 2005 14:50:23 -0800 (Pacific Standard Time) Mark Crispin [EMAIL PROTECTED] wrote: Thank you. I agree with your suggested patch, and it will be in the next release. Thanks! -- Wbr, Antony Dovgal aka tony2001

Re: IMAP over SSL using port 993?

2005-01-11 Thread Mark Crispin
On Tue, 11 Jan 2005, Andrew Biggs wrote: Specifically, I am finding that although Exchange doesn't appear to support the STARTTLS capability (if you know how to turn this on please let me know!), it does apparently listen to port 993 for connections that begin with a TLS negotiation, followed by

Re: IMAP over SSL using port 993?

2005-01-11 Thread Andrew Biggs
Excellent, you just made my day. Thanks Mark! Mark Crispin wrote: On Tue, 11 Jan 2005, Andrew Biggs wrote: Specifically, I am finding that although Exchange doesn't appear to support the STARTTLS capability (if you know how to turn this on please let me know!), it does apparently listen

unable to lock append mailbox

2005-01-10 Thread Stefan Schulte
Hi, i am experiencing with UW imap and the tmail program. My test system is a debian sarge system, I'm using the mbx mailbox format. Sometimes (and I don't see any dependencies) the tmail program writes the error message unable to lock append mailbox. After that, tmail writes the message

Re: unable to lock append mailbox

2005-01-10 Thread Mark Crispin
On Mon, 10 Jan 2005, Stefan Schulte wrote: Sometimes (and I don't see any dependencies) the tmail program writes the error message unable to lock append mailbox. The most likely cause is that either the /tmp directory is protected other than 1777, or that the lock file protection was changed from

[PATCH] buffer overrun in rfc822_8bit()

2005-01-06 Thread Antony Dovgal
Hi all! Trying to find a cause of http://bugs.php.net/31431 I've discovered that rfc822_8bit() function (from src/c-client/rfc822.c, line 1938) incorrectly computes maximum result length. This causes buffer overrun segfault. Current formula: --- unsigned char *ret = (unsigned char *)

Difficulty compiling IMAP-2004b on Sparc E250 running Solaris 2.8

2005-01-06 Thread Bill Thomason
Hi, I have a Sparc E250 server running Solaris 2.8. I am trying to build IMAP-2004b on this system but I am encountering problems during the compilation. I don't have OpenSSL installed in the default location of /usr/local/ssl. It is a symbolic link to another filesystem. I edited the

Re: Crash in mail_setflag_full

2005-01-05 Thread hamaide
Quoting Mark Crispin [EMAIL PROTECTED]: On Wed, 29 Dec 2004 [EMAIL PROTECTED] wrote: When I call the function this way mail_setflag_full(stream, valid_uid, \\Deleted, ST_UID) the program crash. Am i doing something wrong? Unfortunately, your report is too vague to diagnose without additional

Problem sending command

2005-01-05 Thread hamaide
Hi, I'm trying to send the command for Getannotation and Setannotation (from ANNOTATE MORE draft) I must send something like this : GETANNOTATION INBOX /comment value.priv I've look at the LIST code and write my code like this : argument[0].type = ASTRING; argument[0].text =

Re: Crash in mail_setflag_full

2005-01-05 Thread Mark Crispin
On Wed, 5 Jan 2005 [EMAIL PROTECTED] wrote: I finally fixed it. The variable containing stream was overwritten by an overflow bug Was this in your code or in c-client? -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem,

Re: Crash in mail_setflag_full

2005-01-05 Thread hamaide
Quoting Mark Crispin [EMAIL PROTECTED]: On Wed, 5 Jan 2005 [EMAIL PROTECTED] wrote: I finally fixed it. The variable containing stream was overwritten by an overflow bug Was this in your code or in c-client? In my code, either way I would have signaled it :-) Julien

Re: Crash in mail_setflag_full

2005-01-04 Thread Mark Crispin
On Wed, 29 Dec 2004 [EMAIL PROTECTED] wrote: When I call the function this way mail_setflag_full(stream, valid_uid, \\Deleted, ST_UID) the program crash. Am i doing something wrong? Unfortunately, your report is too vague to diagnose without additional information. What type of crash do you get?

ANNOUNING: University of Washington IMAP toolkit version 2004b

2005-01-04 Thread Mark Crispin
This message is to announce the release of version 2004b of the University of Washington IMAP toolkit, imap-2004b. This release is available on: ftp://ftp.cac.washington.edu/mail/imap-2004b.tar.Z The convenience link: ftp://ftp.cac.washington.edu/mail/imap.tar.Z now points to this

Crash in mail_setflag_full

2004-12-29 Thread hamaide
Hi, When I call the function this way mail_setflag_full(stream, valid_uid, \\Deleted, ST_UID) the program crash. Am i doing something wrong? The version is imap2004a AFAIK (I use a precompiled lib) Thanks -- -- For information

copy folders/subfolders

2004-12-28 Thread Andrew
This is the first year I have used imap. All without incident. I have users that have created a folder trees based on the year. Do any of the utlities have a wild card capability to copy all the folders and subfolders in one command or do I have to copy the folder/subfolders one folder at a

Re: copy folders/subfolders

2004-12-28 Thread Mark Crispin
On Tue, 28 Dec 2004, Andrew wrote: This is the first year I have used imap. All without incident. I have users that have created a folder trees based on the year. Do any of the utlities have a wild card capability to copy all the folders and subfolders in one command or do I have to copy the

Not getting a BYE when a server disconnect

2004-12-28 Thread Shawn Walker
Does c-client send a BYE to mm_notify() or mm_log() when the server disconnect after x minutes of inactivity? I had Ethereal running and when I saw a FIN from the server, c-client never sent a BYE that the connection has been disconnected. --

Mail transfer progress state

2004-12-27 Thread Akmal Khodjanov
Hello c-client subscribers, Happy coming new year to all of you. Is there any way I can get progress state while sending/receiving messages using c-client library? I would like to show how many bytes has been transfered so far and stuff like that. Is there any available callbacks for that?

Platform SDK SP2 problem

2004-12-23 Thread hamaide
Does anybody have had issues with the new platform SDK SP2? I've recompiled the library with it, and I got 2 errors. The first one is a certificate problem ( saying that my certificate is self-sign) so it won't connect. The second one is a crash (bad memory access in the ip_nt.c ip_nametoaddr

Re: Configuration problems

2004-12-22 Thread Tomas Pospisek's Mailing Lists
On Tue, 21 Dec 2004, Erich Beyrent wrote: I am running FreeBSD 5.3 and have built the latest version of imap. My problem is that I cannot seem to get IMAP to download any messages to my Outlook client. POP3 is working correctly - in my $HOME directory, I have a .mail file containing all the

Re: name-space protect symbols

2004-12-21 Thread alex
Hi Mark. Thanks for the reply. I've created a bug report with the mysql folks aswell. http://bugs.mysql.com/bug.php?id=7428 I would be inclined it's something better suited for them to fix on their end as earlier versions of mysql 4.1.x worked when being linked with c-client. When I sent this

Configuration problems

2004-12-21 Thread Erich Beyrent
Hi all, I am running FreeBSD 5.3 and have built the latest version of imap. My problem is that I cannot seem to get IMAP to download any messages to my Outlook client. POP3 is working correctly - in my $HOME directory, I have a .mail file containing all the messages that sendmail dumps in

Re: Configuration problems

2004-12-21 Thread Mark Crispin
On Tue, 21 Dec 2004, Erich Beyrent wrote: I am running FreeBSD 5.3 and have built the latest version of imap. My problem is that I cannot seem to get IMAP to download any messages to my Outlook client. POP3 is working correctly - in my $HOME directory, I have a .mail file containing all the

Re: Quota Support in UW Imap

2004-12-20 Thread David B Funk
On Sun, 19 Dec 2004, Mark Crispin wrote: On Sun, 19 Dec 2004, Dan Mahoney, System Admin wrote: I was wondering if UW Imap had the ability to report the system quota of the mail directory (i.e. the home directory) to users who were using the QUOTA extension. At the current time, the

Re: Support for UIDPLUS extension?

2004-12-17 Thread Mark Crispin
It would not be very difficult to implement UIDPLUS in the IMAP client code, especially just UID EXPUNGE. However, it is quite difficult to implement UIDPLUS in c-client in general -- in particular, for non-IMAP mail stores. UIDPLUS may happen in the future, but I can't predict when just now.

Desperate : ipop timeouts

2004-12-16 Thread Tom Combs
Hi, I have Eudora and Outlook clients that get frequent to occasional connection time outs when checking mail. I believe this is exclusively for the pop users but may be for imap also. We have ~300 users and the ratio of pop to imap is about 15 to 1. The problem we are seeing is

  1   2   3   4   5   6   7   8   9   >