imap not working after upgrade

  • Hi all,
    I've just upgraded from wheezy to jessie and the latest version of IMSCP 1.4.7. Everything seems to be working except IMAP connection from email clients to the server. I see in roundcube wembail the email is arriving but can't seem to get IMAP working from a email client. Just keeps trying but errors out with verify username and password. They are correct as I've tested them with the webmail. No typos either.


    /var/log/mail.log show multiple connections from my IP to the server but strange no username? Could IMAPD be screwed? Should I purge IMAPD and then run the IMSCP installer again?


    Jul 14 15:45:19 sosaria imapd: Connection, ip=[::ffff:xxx.xxx.xxx.xxx]


    Thanks,
    Rob

  • @robbo007


    Give us more information about how you configured your client.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi Nuxwin.


    Clientes are configured using Mac mail for example:


    Incoming mail server IMAP:
    hostname address: mail.domain.com
    username [email protected]
    password:


    Outgoing mail server IMAP:
    Same


    Advanced IMAP:
    IMAP Path Prefix: INBOX
    TLS: NONE


    I had problems upgrading from Wheezy and had to purge proftp and apache and apt-get reinstall them for the IMSCP installer to be able to complete with no errors.


    It it worth purging the IMAPD and reinstalling it in case there are any problems?

  • Advanced IMAP:
    IMAP Path Prefix: INBOX
    TLS: NONE

    How is the password sent (authentication method)?


    Also please say us which PO server you use (Courier? Dovecot?)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Password is insecure method until I get the SSL cert sorted out. I use Courier. No SSL.

    Can you rephrase? insecure or secure? I understand the 'insecure' word but the rest of your phrase make the whole sentence unclear because even with SSL, 'insecure' (PLAIN, LOGIN authentication method) should be used, according to https://github.com/i-MSCP/imsc…md#mail-account-passwords


    Please, say me the exact authentication method you're using for IMAP.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • insecure port 143 IMAP. Mac mail does not show anything else in the config.


    Here's the mammal connection log.


    CONNECTED Jul 14 17:52:32.479 [kCFStreamSocketSecurityLevelNone] -- host:mydomain.com -- port:143 -- socket:0x6100006a9c60 -- thread:0x618000863b00


    READ Jul 14 17:52:32.593 [kCFStreamSocketSecurityLevelNone] -- host:admin.secmydomain.com -- port:143 -- socket:0x6100006a9c60 -- thread:0x618000863b00
    * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.


    WROTE Jul 14 17:52:32.594 [kCFStreamSocketSecurityLevelNone] -- host:mydomain.dom -- port:143 -- socket:0x6100006a9c60 -- thread:0x618000863b00
    1.218 STARTTLS


    READ Jul 14 17:52:32.742 [kCFStreamSocketSecurityLevelNone] -- host:mydomain.com -- port:143 -- socket:0x6100006a9c60 -- thread:0x618000863b00
    1.218 OK Begin SSL/TLS negotiation now.


    WROTE Jul 14 17:52:33.393 [kCFStreamSocketSecurityLevelTLSv1_2] -- host:mydomain.com -- port:143 -- socket:0x6100006a9c60 -- thread:0x618000863b00
    2.218 CAPABILITY

  • @robbo007


    First please use bbocde when you want show us something: [code] bla bla bla [/code]


    Note that the logs from your mail client are not relevant. You should be able to say us if you're using PLAIN, LOGIN authentication method.


    Please give us the result of the following commands

    Shell-Script
    1. # service courier-authdaemon status
    Shell-Script
    1. # ls -la /var/spool/postfix/private/authdaemon/

    BTW: Mammal ?(

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Code
    1. [code] root@sosaria:/home/rcraig# service courier-authdaemon status● courier-authdaemon.service - (null) Loaded: loaded (/etc/init.d/courier-authdaemon) Active: active (running) since Fri 2017-07-14 15:34:14 CEST; 2h 46min ago Process: 589 ExecStart=/etc/init.d/courier-authdaemon start (code=exited, status=0/SUCCESS) CGroup: /system.slice/courier-authdaemon.service ├─673 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond ├─675 /usr/lib/courier/courier-authlib/authdaemond ├─715 /usr/lib/courier/courier-authlib/authdaemond ├─716 /usr/lib/courier/courier-authlib/authdaemond ├─717 /usr/lib/courier/courier-authlib/authdaemond ├─718 /usr/lib/courier/courier-authlib/authdaemond └─719 /usr/lib/courier/courier-authlib/authdaemondJul 14 15:34:13 sosaria systemd[1]: Starting (null)...Jul 14 15:34:14 sosaria courier-authdaemon[589]: Starting Courier authentication services: authdaemond.Jul 14 15:34:14 sosaria systemd[1]: Started (null).Jul 14 15:34:15 sosaria authdaemond[673]: modules="authmysql", daemons=5Jul 14 15:34:15 sosaria authdaemond[673]: Installing libauthmysqlJul 14 15:34:16 sosaria authdaemond[673]: Installation complete: authmysql
    Code
    1. root@sosaria:/home/rcraig# ls -la /var/spool/postfix/private/authdaemon/
    2. total 8
    3. drwxr-x--- 2 vmail daemon 100 Jul 14 15:34 .
    4. drwx------ 3 postfix root 4096 Jul 14 15:45 ..
    5. -rw-r--r-- 1 root root 4 Jul 14 15:34 pid
    6. -rw------- 1 root root 0 Jul 14 15:34 pid.lock
    7. srwxrwxrwx 1 root root 0 Jul 14 15:34 socket
  • Teamviewer?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206