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.

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

140 Responses

  1. Phi Yen says:

    please, Can you do me a favor ? I send mail but not receive mail.

  2. sunil says:

    Dec 29 10:21:44 presta-final dovecot: imap-login: Fatal: Can’t load ssl_cert: There is no valid PEM certificate. (You probably forgot ‘<' from ssl_cert=<)

    I am facing problem regrading ssl certificate, help me!

  3. Januri says:

    i tried to send email from my vps to gmail, but the email goes to the spam folder. how to fix it?

  4. Cris says:

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

  5. Syfq says:

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

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

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

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

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

  10. B says:

    The steps are missing to give the username permissions to create an 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 *