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

2008-05-19 Thread bhayden
On May 18 2008, Mark Crispin wrote: 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

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

2008-05-18 Thread bhayden
On May 18 2008, Mark Crispin wrote: 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

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

2008-05-18 Thread bhayden
Background: working on mods to Cambridge's Prayer webmail, which uses c-client. 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 no

Re: [Imap-uw] SEGV on imap_expunge in c-client.

2008-05-08 Thread bhayden
On May 8 2008, Mark Crispin wrote: On Thu, 8 May 2008, [EMAIL PROTECTED] wrote: After completing that for loop, this results in (again, to my untrained eye) a sequence of ',56244' when what was passed in was '25': You weren't on the right track (the statement that you thought corrupted the b

Re: [Imap-uw] SEGV on imap_expunge in c-client.

2008-05-08 Thread bhayden
On May 8 2008, Mark Crispin wrote: I see the problem. You're probably the first person to have used the feature of selective expunge with sequence numbers as opposed to UIDs. The attached imap4r1.c ought to fix this problem. Please give it a try. Getting closer. It doesn't segfault anymore

[Imap-uw] SEGV on imap_expunge in c-client.

2008-05-08 Thread bhayden
Hi folks. Here at the U of Minnesota we use a heavily-modded version of Cambridge's Prayer webmail. Out of the box it has a normal expunge call. I added one to do an expunge on specific messages. So, I happily did: mail_expunge_full(stream, sequence, 0); with 'sequence', of course, being a ptr