<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Email_using_bash</id>
	<title>Email using bash - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Email_using_bash"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Email_using_bash&amp;action=history"/>
	<updated>2026-04-24T11:08:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Email_using_bash&amp;diff=3486&amp;oldid=prev</id>
		<title>Busk: Created page with &quot;https://unix.stackexchange.com/questions/525235/install-ssmtp-in-debian-buster   ``` 9  ssmtp is currently unmaintained, but you can install and configure msmtp as well:  For...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Email_using_bash&amp;diff=3486&amp;oldid=prev"/>
		<updated>2022-10-05T15:34:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;https://unix.stackexchange.com/questions/525235/install-ssmtp-in-debian-buster   ``` 9  ssmtp is currently unmaintained, but you can install and configure msmtp as well:  For...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;https://unix.stackexchange.com/questions/525235/install-ssmtp-in-debian-buster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
9&lt;br /&gt;
&lt;br /&gt;
ssmtp is currently unmaintained, but you can install and configure msmtp as well:&lt;br /&gt;
&lt;br /&gt;
For gmail (with deactivated 2-factor login) use this configuration in /etc/msmtprc:&lt;br /&gt;
&lt;br /&gt;
# Set default values for all following accounts.&lt;br /&gt;
defaults&lt;br /&gt;
port 587&lt;br /&gt;
tls on&lt;br /&gt;
tls_trust_file /etc/ssl/certs/ca-certificates.crt&lt;br /&gt;
&lt;br /&gt;
account gmail&lt;br /&gt;
host smtp.gmail.com&lt;br /&gt;
from &amp;lt;user&amp;gt;@gmail.com&lt;br /&gt;
auth on&lt;br /&gt;
user &amp;lt;user&amp;gt;&lt;br /&gt;
password &amp;lt;your password&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Set a default account&lt;br /&gt;
account default : gmail&lt;br /&gt;
To test it run&lt;br /&gt;
&lt;br /&gt;
echo -e &amp;quot;Subject: msmtp test\nhello test.&amp;quot; | msmtp _recipient_address_&lt;br /&gt;
You should find your sent e-mail in the recipient's inbox shortly afterwards.&lt;br /&gt;
```&lt;/div&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
</feed>