Connection dropped by IMAP server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I receive the following message when I try to login to squirrelmail on my buntu 16.04 server:




Connection dropped by IMAP server



Please kindly let me know how I can get around this error. Thank you.







share|improve this question
























    up vote
    0
    down vote

    favorite












    I receive the following message when I try to login to squirrelmail on my buntu 16.04 server:




    Connection dropped by IMAP server



    Please kindly let me know how I can get around this error. Thank you.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I receive the following message when I try to login to squirrelmail on my buntu 16.04 server:




      Connection dropped by IMAP server



      Please kindly let me know how I can get around this error. Thank you.







      share|improve this question












      I receive the following message when I try to login to squirrelmail on my buntu 16.04 server:




      Connection dropped by IMAP server



      Please kindly let me know how I can get around this error. Thank you.









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 13 at 6:26









      Reza Rahemi

      9911




      9911




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          This happens when the user directories and permissions are not set correctly. In order to fix it, I used the following:



          sudo useradd myusername
          sudo passwd myusername


          Then try sending mail by terminal mailutils to this user, so that necessary folders are made automatiacally, then continue with setting permissions:



          sudo mkdir -p /var/www/html/myusername



          usermod -m -d /var/www/html/myusername myusername



          Now the important part:



          sudo chown -R myusername.myusername /var/www/html/myusername



          usermod -m -d /var/www/html/myusername myusername



          now trick of the trade: send a mail to this user using the mailutils command:



          root@server-name:/$ **mail myusername@**


          ...



          This automatically creates a folder in /var/mail for that user and the next time you login, everything works fine.



          Now, you can login. If you encounter further problems, edit the dovecot.conf file and then restart the dovecot. But I don't anticipate any problems after this.






          share|improve this answer






















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035596%2fconnection-dropped-by-imap-server%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            This happens when the user directories and permissions are not set correctly. In order to fix it, I used the following:



            sudo useradd myusername
            sudo passwd myusername


            Then try sending mail by terminal mailutils to this user, so that necessary folders are made automatiacally, then continue with setting permissions:



            sudo mkdir -p /var/www/html/myusername



            usermod -m -d /var/www/html/myusername myusername



            Now the important part:



            sudo chown -R myusername.myusername /var/www/html/myusername



            usermod -m -d /var/www/html/myusername myusername



            now trick of the trade: send a mail to this user using the mailutils command:



            root@server-name:/$ **mail myusername@**


            ...



            This automatically creates a folder in /var/mail for that user and the next time you login, everything works fine.



            Now, you can login. If you encounter further problems, edit the dovecot.conf file and then restart the dovecot. But I don't anticipate any problems after this.






            share|improve this answer


























              up vote
              0
              down vote



              accepted










              This happens when the user directories and permissions are not set correctly. In order to fix it, I used the following:



              sudo useradd myusername
              sudo passwd myusername


              Then try sending mail by terminal mailutils to this user, so that necessary folders are made automatiacally, then continue with setting permissions:



              sudo mkdir -p /var/www/html/myusername



              usermod -m -d /var/www/html/myusername myusername



              Now the important part:



              sudo chown -R myusername.myusername /var/www/html/myusername



              usermod -m -d /var/www/html/myusername myusername



              now trick of the trade: send a mail to this user using the mailutils command:



              root@server-name:/$ **mail myusername@**


              ...



              This automatically creates a folder in /var/mail for that user and the next time you login, everything works fine.



              Now, you can login. If you encounter further problems, edit the dovecot.conf file and then restart the dovecot. But I don't anticipate any problems after this.






              share|improve this answer
























                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                This happens when the user directories and permissions are not set correctly. In order to fix it, I used the following:



                sudo useradd myusername
                sudo passwd myusername


                Then try sending mail by terminal mailutils to this user, so that necessary folders are made automatiacally, then continue with setting permissions:



                sudo mkdir -p /var/www/html/myusername



                usermod -m -d /var/www/html/myusername myusername



                Now the important part:



                sudo chown -R myusername.myusername /var/www/html/myusername



                usermod -m -d /var/www/html/myusername myusername



                now trick of the trade: send a mail to this user using the mailutils command:



                root@server-name:/$ **mail myusername@**


                ...



                This automatically creates a folder in /var/mail for that user and the next time you login, everything works fine.



                Now, you can login. If you encounter further problems, edit the dovecot.conf file and then restart the dovecot. But I don't anticipate any problems after this.






                share|improve this answer














                This happens when the user directories and permissions are not set correctly. In order to fix it, I used the following:



                sudo useradd myusername
                sudo passwd myusername


                Then try sending mail by terminal mailutils to this user, so that necessary folders are made automatiacally, then continue with setting permissions:



                sudo mkdir -p /var/www/html/myusername



                usermod -m -d /var/www/html/myusername myusername



                Now the important part:



                sudo chown -R myusername.myusername /var/www/html/myusername



                usermod -m -d /var/www/html/myusername myusername



                now trick of the trade: send a mail to this user using the mailutils command:



                root@server-name:/$ **mail myusername@**


                ...



                This automatically creates a folder in /var/mail for that user and the next time you login, everything works fine.



                Now, you can login. If you encounter further problems, edit the dovecot.conf file and then restart the dovecot. But I don't anticipate any problems after this.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 17 at 20:57

























                answered May 14 at 1:13









                Reza Rahemi

                9911




                9911






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035596%2fconnection-dropped-by-imap-server%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491