• imapservice errors

    From Ragnarok@VERT/DOCKSUD to DOVE-Net.Synchronet_Discussion on Sunday, July 20, 2014 23:54:33
    Hola!

    i known that the imap service is not fully functional yet, but think
    that is a good idea have a imap support on Sync

    i testing it and found 2 errors:

    1) /sbbs/mods/imapservice.js line 1229: TypeError:
    saved_config[index.code] is undefined

    2) i have a problems with the encoding at name of message base

    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00852 STATUS
    "Dock Sud BBS|Synchronet Espaol" (MESSAGES UNSEEN UIDVALIDITY UIDNEXT)
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap !JavaScript /sbbs/mods/imapservice.js line 1463: Error: Unrecognized msgbase code:
    NONE!!!

    the name of msg base is "Synchronet Español" but the Ñ character is not
    encoded correctly (i think)


    the test was with evolution and thunderbird on debian as client and
    latest cvs imapservice.js code.

    here, i paste imap only lines of log:

    Imap !JavaScript /sbbs/mods/imapservice.js line 1229: TypeError: saved_config[index.code] is undefined
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Logging out Ragnarok
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap service thread
    terminated (1 clients remain, 2 total, 129 served)
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap connection accepted
    from: 192.168.10.39 port 50104
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap JavaScript service
    thread started
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap RECV: R00841 CAPABILITY
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: R00841 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap RECV: R00842 LOGIN
    ragnarok blablablal
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Logging in Ragnarok
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: R00842 OK Sure,
    come on in.
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap RECV: R00843 CAPABILITY
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: R00843 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap RECV: R00844 LIST ""
    INBOX
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: * LIST
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: R00844 OK There
    you go.
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap RECV: R00845 LSUB ""
    INBOX
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: * LSUB
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: R00845 OK There
    you go.
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap RECV: R00846 STATUS Fidonet|ECHOLIST (MESSAGES UNSEEN UIDVALIDITY UIDNEXT)
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap connection accepted
    from: 192.168.10.39 port 50105
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap JavaScript service
    thread started
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap !JavaScript /sbbs/mods/imapservice.js line 1229: TypeError: saved_config[index.code]
    is undefined
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Logging out Ragnarok
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap service thread
    terminated (2 clients remain, 3 total, 131 served)
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00847 CAPABILITY
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: S00847 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00848 LOGIN
    ragnarok blablablal
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Logging in Ragnarok
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: S00848 OK Sure,
    come on in.
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00849 CAPABILITY
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: S00849 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00850 LIST ""
    INBOX
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: * LIST
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: S00850 OK There
    you go.
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00851 LSUB ""
    INBOX
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: * LSUB
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Send: S00851 OK There
    you go.
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00852 STATUS
    "Dock Sud BBS|Synchronet Espaol" (MESSAGES UNSEEN UIDVALIDITY UIDNEXT)
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap !JavaScript /sbbs/mods/imapservice.js line 1463: Error: Unrecognized msgbase code:
    NONE!!!
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap Logging out Ragnarok
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap service thread
    terminated (1 clients remain, 2 total, 131 served)
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap connection accepted
    from: 192.168.10.39 port 50106
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap JavaScript service
    thread started
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap RECV: T00857 CAPABILITY
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:06 scarlet synchronet: srvc 0038 Imap Send: T00857 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: T00858 LOGIN
    ragnarok blablablal
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Logging in Ragnarok
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: T00858 OK Sure,
    come on in.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: T00859 CAPABILITY
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: T00859 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: T00860 LIST ""
    INBOX
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * LIST
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: T00860 OK There
    you go.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: T00861 LSUB ""
    INBOX
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * LSUB
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: T00861 OK There
    you go.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: T00862 STATUS Fidonet|ECHOLIST (MESSAGES UNSEEN UIDVALIDITY UIDNEXT)
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap !JavaScript /sbbs/mods/imapservice.js line 1229: TypeError: saved_config[index.code]
    is undefined
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Logging out Ragnarok
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap service thread
    terminated (1 clients remain, 2 total, 132 served)
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap connection accepted
    from: 192.168.10.39 port 50107
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap JavaScript service
    thread started
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: U00867 CAPABILITY
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: U00867 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: U00868 LOGIN
    ragnarok blablablal
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Logging in Ragnarok
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: U00868 OK Sure,
    come on in.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: U00869 CAPABILITY
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: U00869 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: U00870 LIST ""
    INBOX
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * LIST
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: U00870 OK There
    you go.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: U00871 LSUB ""
    INBOX
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * LSUB
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: U00871 OK There
    you go.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: U00872 STATUS Fidonet|ECHOLIST (MESSAGES UNSEEN UIDVALIDITY UIDNEXT)
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap !JavaScript /sbbs/mods/imapservice.js line 1229: TypeError: saved_config[index.code]
    is undefined
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Logging out Ragnarok
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap service thread
    terminated (1 clients remain, 2 total, 133 served)
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap connection accepted
    from: 192.168.10.39 port 50108
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap JavaScript service
    thread started
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: V00877 CAPABILITY
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: V00877 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: V00878 LOGIN
    ragnarok blablablal
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Logging in Ragnarok
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: V00878 OK Sure,
    come on in.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: V00879 CAPABILITY
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * CAPABILITY
    IMAP4rev1 AUTH=PLAIN LOGINDISABLED CHILDREN IDLE UNSELECT
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: V00879 OK
    Capability completed, no TLS support... deal with it.
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap RECV: V00880 LIST ""
    INBOX
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: * LIST
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:07 scarlet synchronet: srvc 0038 Imap Send: V00880 OK There
    you go.
    Jul 20 23:43:08 scarlet synchronet: srvc 0038 Imap RECV: V00881 LSUB ""
    INBOX
    Jul 20 23:43:08 scarlet synchronet: srvc 0038 Imap Send: * LSUB
    (\Noinferiors \HasNoChildren) "|" "INBOX"
    Jul 20 23:43:08 scarlet synchronet: srvc 0038 Imap Send: V00881 OK There
    you go.
    Jul 20 23:43:08 scarlet synchronet: srvc 0038 Imap RECV: V00882 STATUS Fidonet|ECHOLIST (MESSAGES UNSEEN UIDVALIDITY UIDNEXT)
    Jul 20 23:43:08 scarlet synchronet: srvc 0038 Imap !JavaScript /sbbs/mods/imapservice.js line 1229: TypeError: saved_config[index.code]
    is undefined
    Jul 20 23:43:08 scarlet synchronet: srvc 0045 Imap connection accepted
    from: 192.168.10.39 port 50109
    Jul 20 23:43:08 scarlet synchronet: srvc 0045 Imap JavaScript service
    thread started
    Jul 20 23:43:08 scarlet synchronet: srvc 0038 Imap Logging out Ragnarok
    Jul 20 23:43:08 scarlet synchronet: srvc 0038 Imap service thread
    terminated (2 clients remain, 3 total, 135 served)
    Jul 20 23:43:08 scarlet synchronet: srvc 0045 Imap Send: * BYE No
    lolligaggers here!
    Jul 20 23:43:08 scarlet synchronet: srvc 0045 Imap service thread
    terminated (1 clients remain, 2 total, 135 served)
    Jul 20 23:43:09 scarlet synchronet: srvc 0034 Imap Send: * BYE No
    lolligaggers here!
    Jul 20 23:43:09 scarlet synchronet: srvc 0034 Imap Logging out Ragnarok
    Jul 20 23:43:09 scarlet synchronet: srvc 0034 Imap service thread
    terminated (0 clients remain, 1 total, 135 served)

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Deuce@VERT/SYNCNIX to Ragnarok on Saturday, July 26, 2014 02:11:58
    Re: imapservice errors
    By: Ragnarok to DOVE-Net.Synchronet_Discussion on Sun Jul 20 2014 11:54 pm

    i known that the imap service is not fully functional yet, but think
    that is a good idea have a imap support on Sync

    This is the first bug report. It has been fully functional for me since my last spate of updates.

    i testing it and found 2 errors:

    1) /sbbs/mods/imapservice.js line 1229: TypeError:
    saved_config[index.code] is undefined

    Ok, this should be fixed now.


    2) i have a problems with the encoding at name of message base

    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap RECV: S00852 STATUS
    "Dock Sud BBS|Synchronet Espaol" (MESSAGES UNSEEN UIDVALIDITY UIDNEXT)
    Jul 20 23:43:06 scarlet synchronet: srvc 0039 Imap !JavaScript /sbbs/mods/imapservice.js line 1463: Error: Unrecognized msgbase code: NONE!!!

    the name of msg base is "Synchronet Español" but the Ñ character is not encoded correctly (i think)

    Yes, this is a pervasive problem with Synchronet today. Message bases are currently assumed to be in Code Page 437 unless there is a Content-Type header (and most messages don't have such a thing). Line 76 of exec/load/822header.js
    is where this is imposed.


    ---
    http://DuckDuckGo.com/ a better search engine that respects your privacy.
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)