<?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>mutt Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/mutt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 09 Mar 2021 17:06:20 +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>Install and configure Mutt on Debian 10</title>
		<link>https://www.osradar.com/install-configure-mutt-debian/</link>
					<comments>https://www.osradar.com/install-configure-mutt-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 12 Mar 2021 00:04:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29016</guid>

					<description><![CDATA[<p>Hello, friends. Can you imagine being able to send an email from the terminal? Of course, it is possible. So, you will learn how to install Mutt on Debian 10 and configure it to do this. To send an email from the terminal several tools will help us. But there is a complete client called [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-configure-mutt-debian/">Install and configure Mutt on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. Can you imagine being able to send an email from the terminal? Of course, it is possible. So, you will learn how to install Mutt on Debian 10 and configure it to do this.</p>



<p>To send an email from the terminal several tools will help us. But there is a complete client called Mutt that facilitates the whole process. If you are a frequent terminal user then you will love this tool because it is so fast and easy to set up.</p>



<p>Some of <a href="http://www.mutt.org/" target="_blank" rel="noreferrer noopener">Mutt’s features</a> include:</p>



<ul><li>color support</li><li>message threading</li><li>MIME support (including RFC2047 support for encoded headers)</li><li>PGP/MIME (RFC2015)</li><li>various features to support mailing lists, including list-reply</li><li>active development community</li><li>POP3 support</li><li>IMAP support</li><li>full control of message headers when composing</li></ul>



<p>As you can imagine, this tool is popular with sysadmins and all users who spend a <a href="https://www.osradar.com/terminal-tools-downloading-files/">lot of time on the terminal.</a> Because it is quite complete and easy to configure and use.</p>



<h2 id="install-mutt-on-debian"><a name="install-mutt-on-debian" href="#install-mutt-on-debian"></a>Install Mutt on Debian 10</h2>



<p>The Mutt package is available from the official Debian repositories so you should have no problems installing it.</p>



<p>So, open a terminal and run</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p>This way we will have the system up to date and ready for battle.</p>



<p>Now what we have to do is install the package in question</p>



<pre class="wp-block-preformatted">sudo apt install mutt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libgc1c2 libgsasl7 libkyotocabinet16v5 libltdl7 libmailutils5 libmariadb3 libntlm0 libpython2.7 mailutils-common mariadb-common mysql-common
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libgpgme11 libtokyocabinet9
Suggested packages:
  default-mta | mail-transport-agent urlview aspell | ispell mixmaster
The following NEW packages will be installed:
  libgpgme11 libtokyocabinet9 mutt
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
Need to get 2,204 kB of archives.
After this operation, 7,773 kB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>Then, we have to start the configuration process.</p>



<h2 id="configuring-mutt-to-send-email-from-the-terminal"><a href="#configuring-mutt-to-send-email-from-the-terminal" name="configuring-mutt-to-send-email-from-the-terminal"></a>Configuring Mutt to send email from the terminal</h2>



<p>Before we can use it, we need to make some configurations related to our email provider. But first, create the directories that the application needs to work.</p>



<pre class="wp-block-preformatted">mkdir -p ~/.mutt/cache/headers
mkdir ~/.mutt/cache/bodies</pre>



<p>Also, create the certificates and muttrc files. The latter is in charge of storing the application configuration.</p>



<pre class="wp-block-preformatted">touch ~/.mutt/certificates
touch ~/.mutt/muttrc</pre>



<p>Now, it is necessary to add the configuration that we need so that Mutt can start without problems.</p>



<pre class="wp-block-preformatted">nano ~/.mutt/muttrc</pre>



<p>And add the following</p>



<pre class="wp-block-preformatted">set from = "usuario@provider.com"
set realname = "Your real name"
set imap_user = "user@provider.com"
set imap_pass = "password"
set folder = "imaps://imap-url-provider:port"
set spoolfile = "+INBOX"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
set smtp_url = "smtp://user@smtp-url-provider.com:port/"
set smtp_pass = "password"
set move = no
set imap_keepalive = 900</pre>



<p>Replace each value with the correct one in your case. In case you don’t know some of them you can search the net or contact your email provider.</p>



<p><strong>Note: If you are using Gmail then you have to enable access to less secure applications from your account.</strong></p>



<p>Save the changes and close the editor</p>



<p>Then, access Mutt by simply running the command.</p>



<pre class="wp-block-preformatted">mutt</pre>



<p>And you are done.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Sending an email is such a common thing nowadays but we can do it via the terminal thanks to Mutt. This is quite simple and will help us with our workflow.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-configure-mutt-debian/">Install and configure Mutt on Debian 10</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/install-configure-mutt-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
