<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dovecto Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/dovecto/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 11 Jun 2020 01:35:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to Install Dovecot on CentOS 8</title>
		<link>https://www.osradar.com/how-to-install-dovecot-on-centos-8/</link>
					<comments>https://www.osradar.com/how-to-install-dovecot-on-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 05 Jun 2020 22:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[centos 8 how to tutorials]]></category>
		<category><![CDATA[configure dovecot on linux]]></category>
		<category><![CDATA[dovecot installation guide]]></category>
		<category><![CDATA[dovecto]]></category>
		<category><![CDATA[how to install dovecot on centos 8]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=20015</guid>

					<description><![CDATA[<p>Today we are going to learn that how to install Dovecot on CentOS 8. Dovecot is an open source service for IMAP &#38; POP3. It is fast and secure mail server here we will install and configure it on our CentOS 8 system. For easy installation just follow the below steps. Step 1: Update Your [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-dovecot-on-centos-8/">How to Install Dovecot on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are going to learn that <a href="https://www.osradar.com/?p=20015">how to install Dovecot on CentOS 8</a>. Dovecot is an open source service for IMAP &amp; POP3. It is fast and secure mail server here we will install and configure it on our CentOS 8 system. For easy installation just follow the below steps.</p>



<h3><strong>Step 1: Update Your System</strong></h3>



<p>As usual we do, first of all update the system to have the latest packages.</p>



<pre class="wp-block-verse">sudo yum -y update</pre>



<h3><strong>Step 2: Install Dovecot on CentOS 8</strong></h3>



<p>As the Dovecot package is available on AppStream yum repo, so simply hit the below command to install it on CentOS*8.</p>



<pre class="wp-block-verse">sudo dnf -y install dovecot</pre>



<p>Output:</p>



<pre class="wp-block-verse">[sabi@localhost ~]$ sudo dnf -y install dovecot
Last metadata expiration check: 0:00:54 ago on Thu 04 Jun 2020 10:29:57 AM EDT.
Dependencies resolved.
Package Arch Version Repository Size
Installing:
dovecot x86_64 1:2.2.36-10.el8 AppStream 4.6 M
Installing dependencies:
clucene-core x86_64 2.3.3.4-31.20130812.e8e3d20git.el8 AppStream 596 k
Transaction Summary
Install 2 Packages
Total download size: 5.2 M
Installed size: 21 M
Downloading Packages:
(1/2): clucene-core-2.3.3.4-31.20130812.e8e3d20 5.1 kB/s | 596 kB 01:56
(2/2): dovecot-2.2.36-10.el8.x86_64.rpm 27 kB/s | 4.6 MB 02:55
Total 30 kB/s | 5.2 MB 02:56
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : clucene-core-2.3.3.4-31.20130812.e8e3d20git.el8.x86_ 1/2
Running scriptlet: dovecot-1:2.2.36-10.el8.x86_64 2/2
Installing : dovecot-1:2.2.36-10.el8.x86_64 2/2
Running scriptlet: dovecot-1:2.2.36-10.el8.x86_64 2/2
Verifying : clucene-core-2.3.3.4-31.20130812.e8e3d20git.el8.x86_ 1/2
Verifying : dovecot-1:2.2.36-10.el8.x86_64 2/2
Installed:
dovecot-1:2.2.36-10.el8.x86_64
clucene-core-2.3.3.4-31.20130812.e8e3d20git.el8.x86_64
Complete!</pre>



<h3><strong>Step 3: Configuring Dovecot on CentOS8</strong></h3>



<p>As you know the installation of Dovecot is not just necessary for its proper working you&#8217;ve to configure it to work properly. Here I&#8217;ll provide you the fast and reliable configuration so that you face no issue during the installation and configuration of Dovecot.</p>



<p>Edit the<strong> /etc/dovecot/dovecot.conf</strong> file and un-comment the below line.</p>



<pre class="wp-block-verse">sudo nano /etc/dovecot/dovecot.conf
###Uncomment the below lines given.###
<strong>protocols = imap pop3 lmtp
listen = *, ::</strong></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="751" height="498" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/e1.png" alt="" class="wp-image-20739" srcset="https://www.osradar.com/wp-content/uploads/2020/06/e1.png 751w, https://www.osradar.com/wp-content/uploads/2020/06/e1-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/e1-696x462.png 696w" sizes="(max-width: 751px) 100vw, 751px" /></figure>



<p>Then save and close the file.</p>



<p>After it edit the<strong> /etc/dovecot/conf.d/10-auth.conf</strong> file for authentication purposes &amp; update it to the similar below given.</p>



<pre class="wp-block-verse">sudo nano /etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no
auth_mechanisms = plain login</pre>



<p>Now, configure the location of the mail server. Make sure to provide the accurate location.</p>



<pre class="wp-block-verse">sudo nano /etc/dovecot/conf.d/10-mail.conf</pre>



<pre class="wp-block-verse">mail_location = maildir:~/Maildir</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="720" height="492" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/4-2.png" alt="" class="wp-image-20740" srcset="https://www.osradar.com/wp-content/uploads/2020/06/4-2.png 720w, https://www.osradar.com/wp-content/uploads/2020/06/4-2-300x205.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/4-2-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2020/06/4-2-696x476.png 696w" sizes="(max-width: 720px) 100vw, 720px" /></figure>



<p>After it edit the <strong>/etc/dovecot/conf.d/10-master.conf</strong> file and provide the user name as well as group name of the mail server.</p>



<pre class="wp-block-verse">unix_listener /var/spool/postfix/private/auth {<br>mode = 0666<br>user = postfix<br>group = postfix<br>}</pre>



<p>Then finally edit the SSL Configuration file located under <strong>/etc/dovecot/conf.d/10-ssl.conf </strong>and edit it to use your ownSSL. If you&#8217;ve not any SSL certificate it will use it&#8217;s own.</p>



<pre class="wp-block-verse">ssl = required
ssl_cert =</pre>



<h3><strong>Step 4: Manage Dovecot Service</strong></h3>



<p>To start the Dovecot service on the boot of system hit the below command in your terminal.</p>



<pre class="wp-block-verse">sudo systemctl enable dovecot.service</pre>



<p>For start, stop and restart hit the below commands respectively.</p>



<pre class="wp-block-verse">sudo systemctl start dovecot.service
sudo systemctl stop dovecot.service
sudo systemctl restart dovecot.service</pre>



<p>Verify the status of the Dovecot by hitting the below command.</p>



<pre class="wp-block-verse">sudo systemctl status dovecot.service</pre>



<p>Output:</p>



<pre class="wp-block-verse">[sabi@localhost ~]$ sudo systemctl status dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; disabled; vendor pr&gt;
Active: active (running) since Thu 2020-06-04 10:47:29 EDT; 2s ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 36951 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
Process: 36942 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited,&gt;
Main PID: 36952 (dovecot)
Tasks: 4 (limit: 4884)
Memory: 11.1M
CGroup: /system.slice/dovecot.service
├─36952 /usr/sbin/dovecot
├─36959 dovecot/anvil
├─36960 dovecot/log
└─36962 dovecot/config
Jun 04 10:47:29 localhost.localdomain systemd[1]: Starting Dovecot IMAP/POP3 em&gt;
Jun 04 10:47:29 localhost.localdomain dovecot[36951]: Warning: Corrected permis&gt;
Jun 04 10:47:29 localhost.localdomain dovecot[36951]: master: Warning: Correcte&gt;
Jun 04 10:47:29 localhost.localdomain systemd[1]: Started Dovecot IMAP/POP3 ema&gt;
Jun 04 10:47:29 localhost.localdomain dovecot[36952]: master: Dovecot v2.2.36 (&gt;</pre>



<h3><strong>Step 5: Testing Configuration</strong></h3>



<p>To test the configuration create a user on your system and install the muatt to connect to the mailbox using imaps protocol.</p>



<pre class="wp-block-verse">sudo dnf install mutt</pre>



<p>After it connect to the mail box by hitting</p>



<pre class="wp-block-verse">mutt -f imaps://sabi@localhost</pre>



<p><strong>Note:</strong> Replace the username &#8220;sabi&#8221; with your own username.</p>



<p>Accept the certificate when prompted. And provide your credentials to see the emails of your account.</p>



<h3><strong>Step 6: Allow Firewall Access</strong></h3>



<p>To access the server from remote machine, don&#8217;t forget to allow the firewall.</p>



<p>Here are the ports used by IMAP,IMAPS,POP3 and POP3S.</p>



<ul><li>IMAP &#8211; 143</li><li>IMAPS &#8211; 993</li><li>POP3 &#8211; 110</li><li>POP3S &#8211; 995</li></ul>



<p>To add firewall rules hit the below commands.</p>



<pre class="wp-block-verse">sudo firewall-cmd --add-service={pop3,imap} --permanent<br>sudo firewall-cmd --add-service={pop3s,imaps} --permanent</pre>



<p>And then reload the changes to take effect.</p>



<pre class="wp-block-verse">sudo firewall-cmd --reload</pre>



<p>So, this is how you can install dovecot on CentOS 8 and configure it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-dovecot-on-centos-8/">How to Install Dovecot on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-dovecot-on-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
