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.95/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.

Hanny Helal

A Linux & Foss user since 2010, working on many projects in the field of Free Software.

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...

127 Responses

  1. Cris says:

    I can’t access squirrel mail address on my pc.

  2. Syfq says:

    How can i open the squirrelmail after finish setup at Ubuntu terminal???

  3. AKSHAY says:

    Hey i have set up the mail server using this tutorial, now i ab able to send the mails, but not being able to receive the mails, can anyone help me in that, i think its MX record problem in DNS, so what should i put in MX record in DNS ?

  4. prasad says:

    My squirrel mail is not working from last 10 days. It shows “Unknown user or password incorrect

    Please tell me step by step troubleshooting.

  5. Arun says:

    Hi there, How can i add auto response feature in squirrel mail, I know that we can add from backend by installing auto response package, but How can we add auto response plugin to squirrel mail?

  6. N.D says:

    Thank you for the amazing tutorial,

    I have been trying to setup my email server for as long as i can remember, and i never got it right until this time.

  7. B says:

    The steps are missing to give the username permissions to create an Inbox.

    https://serverfault.com/questions/713635/postfix-dovecot-squirrelmail-failed-to-autocreate-mailbox-inbox

    The first line of the dovecot error indicates it doesn’t have permission write to /var/mail/. This indicates the dovecot is running under an account without permission to write to the folder. /var/mail/ is owned by root:mail (UID/GID 0:8), giving full read/write/execute permissions to both root and the group mail.

    Dovecot is running under nicolai to access it, and because nicolai is not in the group mail, the folder cannot be accessed.

    I’m not sure how the other inbox folders got created, but to fix this, all you should need to do is add nicolai to mail, like this:

    # adduser nicolai mail
    

    That should allow nicolai to access it’s mail folder, and fix the problem.

Got something to say? Join the discussion.

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