How to Setup a Complete Mail Server (Postfix) using ‘SquirrelMail’ (Webmail) on Ubuntu/Debian

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

161 Responses

  1. Madan says:

    Hello All,

    I am not able to get to the web interface, page fails to load. Please help.

  2. faisal says:

    add the user to the mail group, this will resolve the inbox issue:

    # adduser user group
  3. Adnan says:

    Hi ,

    When I try to send any mail I got an error like:

    “Service not available, closing channel
    421 4.3.0 collect: Cannot write ./dfwAKAhJ3f108965 (bfcommit, uid=0, gid=119): No such file or directory”

    Is there anybody give me a hand to rid out of it .


  4. James Arnold says:

    Hi Zac, I still have the error even though I added my user to the mail group. From my /var/llog/mail.err, I am getting this:

    localhost dovecot: imap(myusername): Error: Opening INBOX failed: Mailbox isn’t selectable

  5. Adriano Machado says:


    During the installation of Dovecot did not execute the creation of SSL keys, how do I create at this time?

    Another thing, following step by step, I still have a problem logging in to squirrelmail: ERROR: Connection dropped by IMAP server.

    Can you help me?

    Thank you.

    • Have you checked the log at /var/log/mail.err?

      Maybe the permission or the existence of the folder is missing in /var/mail/myusername?

      I still have the error though on localhost dovecot: imap(myusername): Error: Opening INBOX failed: Mailbox isn’t selectable.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.