Olivier SIMON writes:

Hi,

My version of imap is courier-imap-4.16.2_2,2 and OS is Freebsd. I have
a problem with the SEARCH command via telnet for certain mailboxes only.
Here is a SEARCH command that works :

[usertest@titan ~]$ telnet 192.168.0.1 imap
...
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
STARTTLS] Courier-IMAP ready. Copyright 1998-2015 Double Precision, Inc.
  See COPYING for distribution information.
0 LOGIN user1 password1
0 OK LOGIN Ok.
1 SELECT INBOX
* FLAGS (NonJunk \Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (NonJunk \* \Draft \Answered \Flagged \Deleted
\Seen)] Limited
...
3 UID SEARCH OR HEADER SUBJECT test HEADER FROM test
* SEARCH 511 512 513 534 535 538 539 540 544 556 561 573 574 575 591 597
599 600 601 602 603 604 606 608 674 676 693 696 705 707 708 715 716 719
720 724 737 739 740 741 742 743 744 745 746 748 750 751 752 753 754 755
756 757
3 OK SEARCH done.


Then a SEARCH command that fails :

[usertest@titan ~]$ telnet 192.168.0.1 imap
...
0 LOGIN user2 password2
0 OK LOGIN Ok.
1 SELECT INBOX
* FLAGS ($MDNSent NonJunk $Forwarded \Draft \Answered \Flagged \Deleted
\Seen \Recent)
* OK [PERMANENTFLAGS ($MDNSent NonJunk $Forwarded \* \Draft \Answered
\Flagged \Deleted \Seen)] Limited
...
2 UID SEARCH OR HEADER SUBJECT test HEADER FROM test
Connection closed by foreign host.


Plus a imapd.core is created in the Mailbox dir of user2 ("segmentation
fault").
What can i do ? Reinstall courier-imap ?

If that doesn't work, copy some messages from the folder into a different folder, and see whether the temporary folder is searchable, or not, until you find the message that causes the server to crash. The cause of the crash can only be determined by looking at the message.

Attachment: pgpmyOAeeRsC0.pgp
Description: PGP signature

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to