Menu

#341 Deleting mails reports "Could not connect to server"

Reproducible
closed-fixed
5
2007-01-21
2007-01-07
frollic
No

I have a problem with NOCC 1.3 (final) and Xmail v1.22 mail server. Every time I try to delete a message, no matter if it's in message list mode, or reading a message, I get the "Could not connect to server" error. If I go back to the list of messages I can see the message actually got deleted as requested.

This worked just fine in v1.2.
I get the same error in the 2007-01-06 nightly.

Test account can be provided on request.

Platform: Fedora 6, x86-32
HTTPd: Apache 2.2.3
NOCC v1.3 final
Xmail server v1.22

Discussion

  • frollic

    frollic - 2007-01-07

    Logged In: YES
    user_id=1107248
    Originator: YES

    Forgot to tell you I'm accessing a POP3 account, webserver (NOCC) and mailserver (xmail) are on the same physical box.

     
  • Anonymous

    Anonymous - 2007-01-07
    • assigned_to: nobody --> goddess_skuld
     
  • Anonymous

    Anonymous - 2007-01-07

    Logged In: YES
    user_id=529507
    Originator: NO

    Does your nocc-prefs path has a user@domain.session file (with some base64 encoded content) ? It's seems like the session is lost somewhere.

    Do you have set "master_key" setting into conf.php file ?

     
  • frollic

    frollic - 2007-01-10

    Logged In: YES
    user_id=1107248
    Originator: YES

    Yes the file does exist, but it's not encoded in any way (see below). The master_key is also set.

    full_name=testuser
    email_address=testuser@testmail.com
    msg_per_page=25
    cc_self=
    hide_addresses=
    outlook_quoting=
    colored_quotes=1
    display_struct=
    seperate_msg_win=
    reply_leadin=
    signature=
    wrap_msg=0
    sig_sep=
    html_mail_send=
    graphical_smilies=
    sent_folder=
    sent_folder_name=
    lang=en
    theme=newlook

     
  • Anonymous

    Anonymous - 2007-01-10

    Logged In: YES
    user_id=529507
    Originator: NO

    I talked about the user@domain.session file, not the user@domain.prefs one ;)

     
  • frollic

    frollic - 2007-01-10

    Logged In: YES
    user_id=1107248
    Originator: YES

    Oh, sorry .... :-)

    No, no such file is created ....

     
  • Anonymous

    Anonymous - 2007-01-11

    Logged In: YES
    user_id=529507
    Originator: NO

    Sorry, I forgot the .session file was only created and used when you check "remember settings" checkbox at the login page.

    You could try this :
    1 - open your message
    2 - modify common.php file, and uncomment line " //var_dump($_SESSION); "
    3 - delete your message

    The content of your session settings will be displayed. You could check if something seems to be missing : server settings, missing password or login, etc.

    And about the error message "could not connect to server" :
    - is it a nocc error message (and is it complete ?)
    - is it a browser error message ?

     
  • frollic

    frollic - 2007-01-12

    Logged In: YES
    user_id=1107248
    Originator: YES

    Looked OK to me:

    https://g.com/webmail/delete.php?delete_mode=1&mail=2&only_one=1

    array(18) {
    ["nocc_folder"]=>
    string(5) "INBOX"
    ["nocc_sort"]=>
    string(1) "1"
    ["nocc_sortdir"]=>
    string(1) "1"
    ["nocc_user"]=>
    string(7) "frollic"
    ["nocc_passwd"]=>
    string(6) "XXXXXXX"
    ["nocc_lang"]=>
    string(2) "en"
    ["nocc_theme"]=>
    string(7) "newlook"
    ["nocc_smtp_server"]=>
    string(9) "localhost"
    ["nocc_smtp_port"]=>
    int(25)
    ["nocc_login"]=>
    string(7) "frollic"
    ["nocc_domain"]=>
    string(14) "g.com"
    ["nocc_servr"]=>
    string(23) "192.168.10.254:110/pop3"
    ["imap_namespace"]=>
    string(6) "INBOX."
    ["smtp_auth"]=>
    string(0) ""
    ["nocc_user_prefs"]=>
    object(NOCCUserPrefs)#3 (21) {
    ["key"]=>
    string(22) "frollic@g.com"
    ["full_name"]=>
    string(7) "frollic"
    ["email_address"]=>
    string(22) "frollic@g.com"
    ["msg_per_page"]=>
    int(25)
    ["cc_self"]=>
    bool(false)
    ["hide_addresses"]=>
    bool(false)
    ["outlook_quoting"]=>
    bool(false)
    ["colored_quotes"]=>
    bool(true)
    ["display_struct"]=>
    bool(false)
    ["seperate_msg_win"]=>
    bool(false)
    ["reply_leadin"]=>
    string(0) ""
    ["signature"]=>
    string(0) ""
    ["wrap_msg"]=>
    string(1) "0"
    ["sig_sep"]=>
    bool(false)
    ["html_mail_send"]=>
    bool(false)
    ["graphical_smilies"]=>
    bool(false)
    ["sent_folder"]=>
    bool(false)
    ["sent_folder_name"]=>
    bool(false)
    ["lang"]=>
    string(2) "en"
    ["theme"]=>
    string(7) "newlook"
    ["dirty_flag"]=>
    int(0)
    }
    ["nocc_loggedin"]=>
    int(1)
    ["tab_mail"]=>
    array(5) {
    [0]=>
    array(12) {
    ["new"]=>
    string(46) "<img src="themes/newlook/img/new.png" alt=""/>"
    ["number"]=>
    int(4)
    ["attach"]=>
    string(6) "&nbsp;"
    ["to"]=>
    string(19) "root@g.com"
    ["from"]=>
    string(38) "Cron Daemon <root@.MISSING-HOST-NAME.>"
    ["subject"]=>
    string(46) "Cron <root@atlantis> run-parts /etc/cron.daily"
    ["date"]=>
    string(10) "2007-01-12"
    ["time"]=>
    string(8) "04:04 AM"
    ["complete_date"]=>
    string(10) "2007-01-12"
    ["size"]=>
    float(27)
    ["sort"]=>
    string(1) "1"
    ["sortdir"]=>
    string(1) "1"
    }
    [1]=>
    array(12) {
    ["new"]=>
    string(46) "<img src="themes/newlook/img/new.png" alt=""/>"
    ["number"]=>
    int(5)
    ["attach"]=>
    string(6) "&nbsp;"
    ["to"]=>
    string(19) "root@g.com"
    ["from"]=>
    string(18) "logwatch@localhost"
    ["subject"]=>
    string(44) "Logwatch for atlantis.g.com (Linux)"
    ["date"]=>
    string(10) "2007-01-12"
    ["time"]=>
    string(8) "04:04 AM"
    ["complete_date"]=>
    string(10) "2007-01-12"
    ["size"]=>
    float(9)
    ["sort"]=>
    string(1) "1"
    ["sortdir"]=>
    string(1) "1"
    }
    [2]=>
    array(12) {
    ["new"]=>
    string(46) "<img src="themes/newlook/img/new.png" alt=""/>"
    ["number"]=>
    int(2)
    ["attach"]=>
    string(6) "&nbsp;"
    ["to"]=>
    string(14) "root@localhost"
    ["from"]=>
    string(19) "nfsnobody@localhost"
    ["subject"]=>
    string(53) "[rkhunter] Warnings found for atlantis.g.com"
    ["date"]=>
    string(10) "2007-01-12"
    ["time"]=>
    string(8) "04:03 AM"
    ["complete_date"]=>
    string(10) "2007-01-12"
    ["size"]=>
    int(1)
    ["sort"]=>
    string(1) "1"
    ["sortdir"]=>
    string(1) "1"
    }
    [3]=>
    array(12) {
    ["new"]=>
    string(46) "<img src="themes/newlook/img/new.png" alt=""/>"
    ["number"]=>
    int(3)
    ["attach"]=>
    string(6) "&nbsp;"
    ["to"]=>
    string(14) "root@localhost"
    ["from"]=>
    string(14) "root@localhost"
    ["subject"]=>
    string(18) "rkhunter Daily Run"
    ["date"]=>
    string(10) "2007-01-12"
    ["time"]=>
    string(8) "04:03 AM"
    ["complete_date"]=>
    string(10) "2007-01-12"
    ["size"]=>
    float(10)
    ["sort"]=>
    string(1) "1"
    ["sortdir"]=>
    string(1) "1"
    }
    [4]=>
    array(12) {
    ["new"]=>
    string(46) "<img src="themes/newlook/img/new.png" alt=""/>"
    ["number"]=>
    int(1)
    ["attach"]=>
    string(6) "&nbsp;"
    ["to"]=>
    string(19) "root@g.com"
    ["from"]=>
    string(28) "logwatch@htpc.g.com"
    ["subject"]=>
    string(40) "Logwatch for htpc.g.com (Linux)"
    ["date"]=>
    string(10) "2007-01-11"
    ["time"]=>
    string(8) "07:50 PM"
    ["complete_date"]=>
    string(10) "2007-01-11"
    ["size"]=>
    int(1)
    ["sort"]=>
    string(1) "1"
    ["sortdir"]=>
    string(1) "1"
    }
    }
    ["num_msg"]=>
    int(5)
    }

     
  • frollic

    frollic - 2007-01-14

    Logged In: YES
    user_id=1107248
    Originator: YES

    OK, I think I've located the problem.

    Seems NOCC is doing something weird with my password (which contains several
    non-char signs; =, ) and (.
    I changed my password to a plain a-z character string, and the deleting started
    to work just fine again.

    My password haven't changed between v1.2 and v1.3, so this is something that
    is related to the NOCC release.

    Hope this helps you to solve/find the problem ....

     
  • Anonymous

    Anonymous - 2007-01-14

    Logged In: YES
    user_id=529507
    Originator: NO

    I have just submitted a patch to the CVS repository. Couls you please try if it changes something ? (wait for crypt.php file version 1.2).

     
  • Anonymous

    Anonymous - 2007-01-15

    Logged In: YES
    user_id=529507
    Originator: NO

    I have made some changes to crypt.php file. Could you please try with this next version (1.3 ?)

     
  • frollic

    frollic - 2007-01-21

    Logged In: YES
    user_id=1107248
    Originator: YES

    Sorry for not getting back to you.

    Tried the 07-01-20 CVS and it worked just fins with both "plain" passwords and one that contain some non-alphabet characters.

     
  • Anonymous

    Anonymous - 2007-01-21

    Logged In: YES
    user_id=529507
    Originator: NO

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the bug report.

     
  • Anonymous

    Anonymous - 2007-01-21
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB