{"id":1483,"date":"2013-10-28T16:02:43","date_gmt":"2013-10-28T21:02:43","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=1483"},"modified":"2022-06-03T03:52:14","modified_gmt":"2022-06-03T08:52:14","slug":"how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/","title":{"rendered":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg\"><img decoding=\"async\" class=\"alignleft wp-image-1484\" title=\"how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-(squeeze)\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg\" alt=\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)\" width=\"245\" height=\"199\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg 350w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze-300x243.jpg 300w\" sizes=\"(max-width: 245px) 100vw, 245px\" \/><\/a> The following article aims into installing and configuring a simple POP3\/IMAP\/SMTP mail server in your <a title=\"Debian VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian VPS<\/a> using Postfix, Dovecot and SASL.<\/p>\n<p><strong>What is Postfix?<\/strong> It is a drop in replacement for the old and mature Sendmail. Postfix also attempts to be very fast, easy to administer, and secure.<\/p>\n<p><strong>What is Dovecot?<\/strong> It is an open source IMAP and POP3 server for *NIX-like systems, written primarily with security in mind.<\/p>\n<p><strong>What is SASL?<\/strong> SASL, the Simple Authentication and Security Layer, is a generic mechanism for protocols to accomplish authentication.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ecf9f0a6699\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ecf9f0a6699\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#1-Pre-Requirements\" >1.) Pre-Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#2-Update-the-system-and-install-the-required-packages\" >2.) Update the system and install the required packages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#2a-Install-postfix\" >2.a) Install postfix<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#2b-Install-dovecot\" >2.b) Install dovecot<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#2c-Install-sasl-for-authentication-of-users\" >2.c) Install sasl for authentication of users<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#3-Create-system-user-For-handling-incoming-mails-and-has-access-to-the-mailboxes-only\" >3.) Create system user For handling incoming mails and has access to the mailboxes only.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#4-Prepare-SSL-certificate-for-using-SSL-transport\" >4.) Prepare SSL certificate for using SSL transport<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#5-Postfix-configuration\" >5.) Postfix configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#5a-setup-main-postfix-configuration-file-etcpostfixmaincf\" >5.a) setup main postfix configuration file (\/etc\/postfix\/main.cf)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#5b-create-etcpostfixvmail-domains-containing-the-domains-for-which-postfix-will-accept-emails\" >5.b) create \/etc\/postfix\/vmail_domains containing the domains for which postfix will accept emails<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#5c-create-etcpostfixvmail-mailbox-containing-the-accepted-mailboxes\" >5.c) create \/etc\/postfix\/vmail_mailbox containing the accepted mailboxes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#5d-create-etcpostfixvmail-aliases-containing-the-virtual-aliases\" >5.d) create \/etc\/postfix\/vmail_aliases containing the virtual aliases<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#hash-the-configuration-files\" >hash the configuration files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#6-Dovecot-configuration\" >6.) Dovecot configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#7-Setting-up-permissions-and-completing-installation\" >7.) Setting up permissions and completing installation<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-Pre-Requirements\"><\/span>1.) Pre-Requirements<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; You may want to check if your hostname\/domainname is a valid FQDN (fully qualified domain name) and it has a valid MX DNS record.<\/p>\n<pre class=\"brush: bash; gutter: false\"># dig +short MX mydomain.com\n10 mydomain.com.<\/pre>\n<p>ok the hostname &#8216;mydomain.com&#8217; has an MX record and:<\/p>\n<pre class=\"brush: bash; gutter: false\"># dig +short A $(dig +short MX mydomain.com | head -1 | cut -d' ' -f2)\n12.34.56.78<\/pre>\n<p>the MX record set resolves back to our Debian Server&#8217;s IP (12.34.56.78)<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2-Update-the-system-and-install-the-required-packages\"><\/span>2.) Update the system and install the required packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; Before we proceed any further we need to make sure we have a fully up-to-date system.<\/p>\n<pre class=\"brush: bash; gutter: false\"># apt-get update\n# apt-get upgrade\n# apt-get dist-upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2a-Install-postfix\"><\/span>2.a) Install postfix<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"brush: bash; gutter: false\"># apt-get install postfix<\/pre>\n<p><em>(when prompted, choose &#8216;Internet Site&#8217; and then set &#8216;mydomain.com&#8217; as a system mail name.)<\/em><\/p>\n<h2><span class=\"ez-toc-section\" id=\"2b-Install-dovecot\"><\/span>2.b) Install dovecot<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"brush: bash; gutter: false\"># apt-get install dovecot-common dovecot-imapd dovecot-pop3d<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2c-Install-sasl-for-authentication-of-users\"><\/span>2.c) Install sasl for authentication of users<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"brush: bash; gutter: false\"># apt-get install libsasl2-2 libsasl2-modules sasl2-bin<\/pre>\n<p><em>(enable the sasl daemon by setting <strong>START=yes<\/strong> in <strong>\/etc\/default\/saslauthd<\/strong>. you may also want to reduce the number of threads by setting <strong>THREADS=3<\/strong> for example)<\/em><br \/>\nor if you&#8217;re feeling brave:<\/p>\n<pre class=\"brush: bash; gutter: false\"># sed -i -e 's\/START=no\/START=yes\/' -e 's\/THREADS=5\/THREADS=3\/' \/etc\/default\/saslauthd<\/pre>\n<p>setup \/etc\/postfix\/sasl\/smtpd.conf<\/p>\n<pre class=\"brush: bash; gutter: false\"># echo -e \"pwcheck_method: saslauthd\\nmech_list: plain login cram-md5 digest-md5\" &gt; \/etc\/postfix\/sasl\/smtpd.conf<\/pre>\n<p>restart SASL<\/p>\n<pre class=\"brush: bash; gutter: false\"># \/etc\/init.d\/saslauthd restart<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Create-system-user-For-handling-incoming-mails-and-has-access-to-the-mailboxes-only\"><\/span>3.) Create system user For handling incoming mails and has access to the mailboxes only.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; create group used for virtual mailboxes<\/p>\n<pre class=\"brush: bash; gutter: false\"># groupadd vmail -g 2222<\/pre>\n<p>&#8211; create user used for virtual mailboxes<\/p>\n<pre class=\"brush: bash; gutter: false\"># useradd vmail -r -g 2222 -u 2222 -d \/var\/vmail -m -c \"mail user\"<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-Prepare-SSL-certificate-for-using-SSL-transport\"><\/span>4.) Prepare SSL certificate for using SSL transport<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; copy\/move your ssl to some directory for example \/etc\/sample-ssl\/<\/p>\n<pre class=\"brush: bash; gutter: false\"># mkdir \/etc\/sample-ssl\n# rsync -Waq \/path\/to\/certs\/ \/etc\/sample-ssl\/<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5-Postfix-configuration\"><\/span>5.) Postfix configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; before doing anything else make sure you have backup of original configuration file<\/p>\n<pre class=\"brush: bash; gutter: false\"># cp \/etc\/postfix\/main.cf{,.orig}<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5a-setup-main-postfix-configuration-file-etcpostfixmaincf\"><\/span>5.a) setup main postfix configuration file (\/etc\/postfix\/main.cf)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; make sure you change &#8216;mydomain.com&#8217; with your domainname and also set the ssl paths appropriately<\/p>\n<pre class=\"brush: bash; gutter: false\"># vim \/etc\/postfix\/main.cf<\/pre>\n<pre>myhostname=mydomain.com\nmydomain=mydomain.com\nmyorigin=$mydomain\nmydestination = localhost\nmynetworks = 127.0.0.0\/8\ninet_interfaces = all\nmailbox_size_limit = 0\nrecipient_delimiter = +\ndebug_peer_level=2\nsmtpd_banner=$myhostname ESMTP $mail_name\nbiff=no\nrelayhost=\nshow_user_unknown_table_name=no\nappend_dot_mydomain = no\nalias_maps = hash:\/etc\/aliases\nalias_database = hash:\/etc\/aliases\nvirtual_mailbox_base=\/var\/vmail\nvirtual_mailbox_domains=hash:\/etc\/postfix\/vmail_domains\nvirtual_mailbox_maps=hash:\/etc\/postfix\/vmail_mailbox\nvirtual_alias_maps=hash:\/etc\/postfix\/vmail_aliases\nvirtual_minimum_uid=100\nvirtual_uid_maps=static:2222\nvirtual_gid_maps=static:2222\nvirtual_transport=dovecot\nsmtpd_tls_cert_file=\/etc\/sample-ssl\/ssl.crt\nsmtpd_tls_key_file=\/etc\/sample-ssl\/ssl.key\nsmtpd_tls_CAfile=\/etc\/ssl\/certs\/ca-certificates.crt\nsmtp_tls_CAfile=\/etc\/ssl\/certs\/ca-certificates.crt\nsmtp_use_tls=yes\nsmtpd_use_tls=yes\nsmtpd_tls_loglevel=1\nsmtpd_tls_received_header=yes\ntls_random_source=dev:\/dev\/urandom\nsmtp_tls_note_starttls_offer=yes\nsmtpd_tls_session_cache_timeout=3600s\nsmtpd_tls_session_cache_database = btree:${data_directory}\/smtpd_scache\nsmtp_tls_session_cache_database = btree:${data_directory}\/smtp_scache\nqueue_directory=\/var\/spool\/postfix\nsmtpd_sasl_type=dovecot\nsmtpd_sasl_path=private\/auth\nsmtpd_sasl_auth_enable=yes\nbroken_sasl_auth_clients=yes\nsmtpd_sasl_security_options=noanonymous\nsmtpd_sasl_tls_security_options=$smtpd_sasl_security_options\nsmtpd_sasl_local_domain=$myhostname\nsmtpd_sasl_application_name=smtpd\nsmtpd_helo_required=yes\nsmtpd_helo_restrictions=reject_invalid_helo_hostname\nsmtpd_recipient_restrictions=reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5b-create-etcpostfixvmail-domains-containing-the-domains-for-which-postfix-will-accept-emails\"><\/span>5.b) create \/etc\/postfix\/vmail_domains containing the domains for which postfix will accept emails<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; the format is 2 columns. domain left, status right. if there is nothing on the right side, the domain is disabled.<\/p>\n<pre class=\"brush: bash; gutter: false\"># vim \/etc\/postfix\/vmail_domains<\/pre>\n<pre>mydomain.com      OK\nmy-otherdomain.com     OK<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5c-create-etcpostfixvmail-mailbox-containing-the-accepted-mailboxes\"><\/span>5.c) create \/etc\/postfix\/vmail_mailbox containing the accepted mailboxes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"brush: bash; gutter: false\"># vim \/etc\/postfix\/vmail_mailbox<\/pre>\n<pre>info@mydomain.com \tmydomain.com\/info\nadmin@mydomain.com \tmydomain.com\/admin\nwebmaster@my-otherdomain.com \tmy-otherdomain.com\/webmaster<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5d-create-etcpostfixvmail-aliases-containing-the-virtual-aliases\"><\/span>5.d) create \/etc\/postfix\/vmail_aliases containing the virtual aliases<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"brush: bash; gutter: false\"># vim \/etc\/postfix\/vmail_aliases<\/pre>\n<pre>info@mydomain.com    info@mydomain.com\nadmin@mydomain.com   admin@mydomain.com\nwebmaster@my-otherdomain.com \tadmin@mydomain.com<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"hash-the-configuration-files\"><\/span>hash the configuration files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre># postmap \/etc\/postfix\/vmail_domains\n# postmap \/etc\/postfix\/vmail_mailbox\n# postmap \/etc\/postfix\/vmail_aliases<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Dovecot-configuration\"><\/span>6.) Dovecot configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&#8211; before doing anything else make sure you have backup of original configuration file<\/p>\n<pre class=\"brush: bash; gutter: false\"># cp \/etc\/dovecot\/dovecot.conf{,.orig}<\/pre>\n<p>&#8211; create main dovecot configuration file<\/p>\n<pre class=\"brush: bash; gutter: false\"># vim \/etc\/dovecot\/dovecot.conf<\/pre>\n<pre class=\"brush: bash; gutter: false\">protocols = imap imaps pop3 pop3s\nlog_timestamp = \"%Y-%m-%d %H:%M:%S \"\nfirst_valid_uid=2222\nlast_valid_uid=2222\nfirst_valid_gid=2222\nlast_valid_gid=2222\nmail_privileged_group = vmail\ndisable_plaintext_auth=yes\nauth_executable = \/usr\/lib\/dovecot\/dovecot-auth\nauth_verbose = yes\nmail_location = maildir:\/var\/vmail\/%d\/%n\/Maildir\nssl_cert_file = \/etc\/sample-ssl\/sample-chained.crt\nssl_key_file = \/etc\/sample-ssl\/sample.key\nprotocol lda {\n  auth_socket_path = \/var\/run\/dovecot\/auth-master\n  postmaster_address = postmaster@yourdomain.com\n  mail_plugins = sieve\n  log_path =\n}\nauth default {\n    mechanisms = plain login\n    passdb passwd-file {\n        args = scheme=SHA1 \/etc\/dovecot\/users.conf\n    }\n    userdb static {\n        #args = \/etc\/dovecot\/users.conf\n        args = uid=2222 gid=2222 home=\/var\/vmail\/%d\/%n allow_all_users=yes\n    }\n    socket listen {\n        master {\n            path = \/var\/run\/dovecot\/auth-master\n            mode = 0600\n            user = vmail\n            group = vmail\n        }\n        client {\n            path = \/var\/spool\/postfix\/private\/auth\n            mode = 0660\n            user = postfix\n            group = postfix\n        }\n    }\n}<\/pre>\n<p><em>make sure you set the configuration to match your paths and needs<\/em><\/p>\n<p>&#8211; create our user&#8217;s file:<\/p>\n<pre class=\"brush: bash; gutter: false\"># touch \/etc\/dovecot\/users.conf<\/pre>\n<p>&#8211; next, use the following command in order to generate password hash for a particular user:<\/p>\n<pre class=\"brush: bash; gutter: false\"># dovecotpw -s SHA1<\/pre>\n<p><em>(generated password add to users.conf without the {SHA1} part, for example:)<\/em><\/p>\n<pre class=\"brush: bash; gutter: false\"># cat \/etc\/dovecot\/users.conf\nadmin@mydomain.com:7mh\/MbZGZf7pc2pV6To7WuHJY8E=<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"7-Setting-up-permissions-and-completing-installation\"><\/span>7.) Setting up permissions and completing installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"brush: bash; gutter: false\"># chgrp vmail \/etc\/dovecot\/dovecot.conf\n# chmod g+r \/etc\/dovecot\/dovecot.conf\n# chown root:root \/etc\/dovecot\/users.conf\n# chmod 600 \/etc\/dovecot\/users.conf<\/pre>\n<p>&#8211; deliver incoming mails to dovecot<\/p>\n<pre class=\"brush: bash; gutter: false\"># vim \/etc\/postfix\/master.cf<\/pre>\n<p><em>(append the following)<\/em><\/p>\n<pre class=\"brush: bash; gutter: false\">dovecot   unix  -       n       n       -       -       pipe\n  flags=DRhu user=vmail:vmail argv=\/usr\/lib\/dovecot\/deliver -f ${sender} -d ${recipient}<\/pre>\n<p>&#8211; while at it, you may also want to enable the submission port by uncommenting the following line:<\/p>\n<pre class=\"brush: bash; gutter: false\">submission inet n       -       -       -       -       smtpd<\/pre>\n<p>&#8211; reload the services<\/p>\n<pre class=\"brush: bash; gutter: false\"># \/etc\/init.d\/dovecot restart\n# \/etc\/init.d\/postfix restart<\/pre>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian Optimized VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install this for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following article aims into installing and configuring a simple POP3\/IMAP\/SMTP mail server in your Debian VPS using Postfix, Dovecot &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#more-1483\" aria-label=\"Read more about How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":1484,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,1706,13],"tags":[48,73,177,213,210,1152,211,214,212],"class_list":["post-1483","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-email-servers","category-tutorials","tag-debian","tag-imap","tag-linux-vps","tag-pop3","tag-postfix-dovecot","tag-rosehosting","tag-sasl","tag-smtp","tag-virtual-users","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)\" \/>\n<meta property=\"og:description\" content=\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2013-10-28T21:02:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:52:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t<meta property=\"og:image:height\" content=\"284\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)\",\"datePublished\":\"2013-10-28T21:02:43+00:00\",\"dateModified\":\"2022-06-03T08:52:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/\"},\"wordCount\":584,\"commentCount\":19,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/12\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg\",\"keywords\":[\"debian\",\"imap\",\"linux vps\",\"pop3\",\"postfix. dovecot\",\"rosehosting\",\"sasl\",\"smtp\",\"virtual-users\"],\"articleSection\":[\"Debian\",\"Email Servers\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/\",\"name\":\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/12\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg\",\"datePublished\":\"2013-10-28T21:02:43+00:00\",\"dateModified\":\"2022-06-03T08:52:14+00:00\",\"description\":\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/12\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/12\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg\",\"width\":\"350\",\"height\":\"284\",\"caption\":\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting","description":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/","og_locale":"en_US","og_type":"article","og_title":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)","og_description":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2013-10-28T21:02:43+00:00","article_modified_time":"2022-06-03T08:52:14+00:00","og_image":[{"width":350,"height":284,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)","datePublished":"2013-10-28T21:02:43+00:00","dateModified":"2022-06-03T08:52:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/"},"wordCount":584,"commentCount":19,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg","keywords":["debian","imap","linux vps","pop3","postfix. dovecot","rosehosting","sasl","smtp","virtual-users"],"articleSection":["Debian","Email Servers","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/","name":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg","datePublished":"2013-10-28T21:02:43+00:00","dateModified":"2022-06-03T08:52:14+00:00","description":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze) | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/12\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze.jpg","width":"350","height":"284","caption":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-setup-simple-but-yet-powerful-mail-server-using-postfix-dovecot-and-sasl-in-debian-6-squeeze\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to setup simple but yet powerful mail server using Postfix, Dovecot and Sasl in Debian 6 (Squeeze)"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=1483"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1483\/revisions"}],"predecessor-version":[{"id":40664,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1483\/revisions\/40664"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/1484"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=1483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=1483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=1483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}