cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1366 IMAP "SEARCH ALL" truncates output on large boxes

From: Radosław Kojdecki <rkojdecki_at_users.sf.net>
Date: Wed, 30 Apr 2014 18:24:46 +0000

Also seems wrong (16 "glued" with 47447) :
~~~~

* SEARCH 1 3 4 5 6 7 8 11 12 13 14 15 1647447 47448 47449 47450 47451 47454 47455 47456 47457 47458 47459 47460 47461 47462 47463 47464 47465 47466 47467 47468 47469 47470 47471 47472 47473 47474 47476 47477 47478 47479 47480 47481 47482 47483 47484 47485 47486 47487 47488 47489 47490 47492 47493 47494 47495 47496 47497 47498 47499 47500 47501 47502 47503 47504 47505 47506 47507 47508 47509 47510 47511 47512 47513 47514 47515 47516 47517 47518 47519 47521 47522 47523 47524 47525 47526 47527 47528 47529 47530 47531 47532 47533 47534 47537 47538 47539 47540 47542 47544 47545 47546 47547 47548 47549 47550 47551 47552 47553 47554 47555 47556 47557 47558 47559 47560 47561 47562 47563 47564 47565 47566 47567 47568 47569 47570 47571 47572 47573 47575 47576 47577 47578 47579 47580 47581 47582 47583 47584 47585 47586 47587 47588 47589 47590 47591 47592 47593 47594 47595 47596 47597 47598 47599 47601 47602 47603 47606 47607 47608 47609 47610 47611 47612 47613 47614 47615 47616 47618 47619 47620 47621 47622 47623 47625 47626 47627 47628 47629 47630 47631 47632 47633 47635 47636 47637 47638 47639 47640 47641 47642 47643 47644 47645 47647 47648 47649 47650 47651 47652 47653 47654 47655 47656 47657 47658 47659 47660 47661 47662 47663 47664 47665 47666 47667 47668 47669 47670 47671 47673 47675 47678 47679 47681 47682 47683 47684 47685 47686 47687 47688 47689 47690 47694 47695 47696 47697 47698 47700 47701 47702 47703 47704 47705 47706 47707 47708 47709 47710 47711 47712 47713 47715 47716 47717 47718 47719 47720 47721 47722 47724 47725 47726 47727 47728 47729 47730 47731 47732 47733 47734 47735 47737 47738 47739 47740 47741 47742 47743 47744 47745 47746 47747 47748 47749 47750 47751 47752 47753 47754 47755 47756 47757 47758 47759 47760 47761 47762 47763 47764 47765 47767 47768 47769 47770 47771 47773 47774 47775 47776 47777 47778 47779 47780 47782 47783 47784 47786 47787 47788 47789 47790 47791 47792 47793 47794 47795 47796 47797 47798 47799 47800 47801 47802 47803 47804 47805 47806 47807 47808 47809 47810 47811 47812 47813 47815 47816 47817 47818 47819 47820 47821 47822 47823 47824 47825 47826 47827 47828 47829 47830 47831 47832 47833 47835 47836 47837 47838 47839 47840 47841 47842 47843 47844 47845 47846 47847 47852 47853 47854 47858 47859 47860 47861 47862 47863 47864 47865 47866 47868 47869 47870 47871 47872 47873 47874 47875 47876 47877 47878 47879 47880 47881 47882 47883 47884 47885 47887 47888 47889 47890 47892 47893 47894 47895 47896 47897 47898 47899 47900 47901 47902 47903 47904 47905 47906 47907 47908 47909 47910 47911 47912 47913 47914 47917 47919 47920 47921 47922 47923 47924 47925 47926 47927 47928 47929 47930 47931 47932 47933 47934 47935 47936 47937 47938 47939 47941 47942 47943 47944 47945 47946 47947 47948 47949 47951 47952 47953 47954 47955 47956 47957 47958 47959 47960 47961 47962 47963 47964 47965 47966 47967 47968 47969 47971 47972 47973 47976 47977 47978 47979 47980 47981 47982 47983 47984 47985 47987 47988 47989 47990 47991 47992 47993 47994 47995 47996 47998 47999 48001 48002 48005 48006 48007 48008 48009 48010 48011 48012 48013 48014 48016 48017 48018 48019 48020 48021 48022 48023 48024 48026 48027 48028 48029 48030 48031 48032 48033 48034 48035 48036 48038 48039 48040 48041 48042 48043 48044 48045 48046 48047 48048 48049 48050 48051 48052 48053 48054 48055 48056 48057 48058 48059 48062 48063 48064 48065 48066 48067 48068 48069 48070 48073 48074 48075 48076 48077 48078 48079 48080 48081 48082 48084 48085 48086 48087 48089 48090 48091 48092 48093 48094 48095 48096 48097 48098 48100 48101 48102 48103 48104 48105 48107 48108 48109 48110 48111 48112 48113 48114 48115 48116 48117 48118 48119 48120 48121 48122 48123 48124 48125 48126 48127 48128 48129 48130 48131 48132 48133 48134 48135 48136 48137 48138 48139 48140 48141 48142 48143 48144 48145 48146 48147 48148 48149 48150 48151 48152 48153 48154 48155 48156 48157 48158 48159 48161 48162 48163 48164 48165 48166 48167 48169 48170 48171 48172 48173 48174 48175 48176 48179 48180 48181 48183 48184 48185 48186 48187 48188 48189 48190 48192 48193 48194 48196 48197 48198 48199 48200 48202 48203 48204 48205 48206 48207 48208 48209 48211 48212 48213 48214 48215 48216 48217 48218 48219 48220 48221 48224 48226 48227 48228 48229 48230 48231 48232 48233 48234 48235 48236 48237 48238 48239 48240 48241 48242 48243 48244 48245 48246 48247 48248 48249 48250 48251 48252 48253 48255 48256 48257 48258 48259 48260 48261 48262 48263 48265 48266 48268 48269 48270 48271 48272 48274 48275 48276 48277 48278 48279 48281 48282 48283 48284 48286 48287 48288 48289 48290 48291 48292 48293 48294 48295 48296 48297 48298 48299 48300 48301 48302 48303 48304 48305 48306 48307 48308 48309 48310 48311 48312 48313 48314 48315 48316 48317 48318 48319 48320 48321 48323 48324 48325 48326 48327 48329 48330 48332 48333 48334 48335 48336 48337 48338 48339 48340 48341 48342 48343 48344 48345 48346 48347 48348 48349 48350 48351 48352 48353 48355 48356 48357 48358 48359 48360 48361 48362 48363 48364 48365 48366 48367 48368 48369 48370 48371 48372 48373 48374 48375 48376 48377 48378 48380 48381 48382 48383 48384 48386 48387 48388 48389 48390 48391 48392 48393 48394 48395 48396 48397 48398 48399 48401 48402 48403 48404 48405 48406 48407 48408 48409 48410 48411 48412 48413 48414 48415 48416 48417 48418 48419 48420 48421 48422 48423 48424 48425 48426 48427 48428 48430 48431 48432 48434 48435 48438 48439 48441 48442 48443 48444 48445 48446 48448 48449 48450 48451 48452 48453 48454 48455 48456 48457 48458
~~~~

IMAP server is Courier-IMAP 4.5.0/i686-pc-linux-gnu

---
** [bugs:#1366] IMAP "SEARCH ALL" truncates output on large boxes**
**Status:** open
**Created:** Tue Apr 29, 2014 09:47 PM UTC by Radosław Kojdecki
**Last Updated:** Wed Apr 30, 2014 06:08 PM UTC
**Owner:** nobody

~~~~
radek_at_poligon ~ $ curl -V
curl 7.36.0 (x86_64-pc-linux-gnu) libcurl/7.36.0 OpenSSL/1.0.1f zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
radek_at_poligon ~ $ curl --insecure imaps://login:password_at_mail.server/INBOX -X "SEARCH ALL"
* SEARCH 1 2 3 4 5 6 7 8 9 10 11 12 13 1 48272 48273 48274 48275 48276 48277 48278 48279 48280 48281 48282 48283 48284 48285 48286 48287 48288 48289 48290 48291 48292 48293 48294 48295 48296 48297 48298 48299 48300 48301 48302 48303 48304 48305 48306 48307 48308 48309 48310 48311 48312 48313 48314 48315 48316 48317 48318 48319 48320 48321 48322 48323 48324 48325 48326 48327 48328 48329 48330 48331
~~~~

note that between "13" and "48272" is "1" (probably last digit from "48271"). 

When I try to connect directly, the IMAP server returns all 48k messages :

~~~~
a login user pass
a OK LOGIN Ok.
a SEARCH ALL
a NO Error in IMAP command received by server.
a SELECT INBOX
* FLAGS (JunkRecorded $MailFlagBit0 $MailFlagBit1 $MailFlagBit2 $NotJunk $Forwarded NotJunk $Junk \Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (JunkRecorded $MailFlagBit0 $MailFlagBit1 $MailFlagBit2 $NotJunk $Forwarded NotJunk $Junk \* \Draft \Answered \Flagged \Deleted \Seen)] Limited
* 48328 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1228300251] Ok
* OK [MYRIGHTS "acdilrsw"] ACL
a OK [READ-WRITE] Ok
a SEARCH ALL
* SEARCH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569
[... lot of output lines ...]
 48136 48137 48138 48139 48140 48141 48142 48143 48144 48145 48146 48147 48148 48149 48150 48151 48152 48153 48154 48155 48156 48157 48158 48159 48160 48161 48162 48163 48164 48165 48166 48167 48168 48169 48170 48171 48172 48173 48174 48175 48176 48177 48178 48179 48180 48181 48182 48183 48184 48185 48186 48187 48188 48189 48190 48191 48192 48193 48194 48195 48196 48197 48198 48199 48200 48201 48202 48203 48204 48205 48206 48207 48208 48209 48210 48211 48212 48213 48214 48215 48216 48217 48218 48219 48220 48221 48222 48223 48224 48225 48226 48227 48228 48229 48230 48231 48232 48233 48234 48235 48236 48237 48238 48239 48240 48241 48242 48243 48244 48245 48246 48247 48248 48249 48250 48251 48252 48253 48254 48255 48256 48257 48258 48259 48260 48261 48262 48263 48264 48265 48266 48267 48268 48269 48270 48271 48272 48273 48274 48275 48276 48277 48278 48279 48280 48281 48282 48283 48284 48285 48286 48287 48288 48289 48290 48291 48292 48293 48294 48295 48296 48297 48298 48299 48300 48301 48302 48303 48304 48305 48306 48307 48308 48309 48310 48311 48312 48313 48314 48315 48316 48317 48318 48319 48320 48321 48322 48323 48324 48325 48326 48327 48328
a OK SEARCH done.
~~~~
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-04-30

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET