mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-04-08 00:37:53 +02:00
articles/Emails: explain how and why I send emails like I do
This commit is contained in:
parent
9356d80af5
commit
81613d63e5
95
articles/Emails.html
Normal file
95
articles/Emails.html
Normal file
@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" /> <!-- <meta http-equiv="refresh" content="60" /> --> <meta name="description" content="Explanation on how I send emails and why I send them that way and the problems which it can cause and solutions to them." /> <meta name="keywords" content="OpenPGP,gpg,email,long,signature,long signature,PGP,GnuPG," /> <meta name="author" content="Mika Suomalainen" /> <link rel="canonical" href="http://mkaysi.github.com/articles/Emails.html">
|
||||
<title>
|
||||
Insert title here
|
||||
</title>
|
||||
<link rel="stylesheet" type="text/css" href="../tyyli.css" />
|
||||
</head>
|
||||
<body>
|
||||
<hr/>
|
||||
<a href="sitemap/sitemap.html">Sitemap</a>
|
||||
<hr/>
|
||||
|
||||
<h1 id="why-do-i-send-emails-how-i-sent-them">Why do I send emails how I sent them</h1>
|
||||
<h2 id="openpgp-signing">OpenPGP signing</h2>
|
||||
<p>I sign my emails using [GnuPG] which is free implementation of the [OpenPGP] standard. The signature can be used to verify that I am the sender and that nobody modified the message.</p>
|
||||
<h2 id="utf-8">UTF-8</h2>
|
||||
<p>I use UTF-8, because it allows all characters and it's widely used everywhere. It is also the default character set of [Python 3]. UTF-8 is also recommended on most of IRC channels and networks.</p>
|
||||
<h2 id="plain-text-emails">Plain text emails</h2>
|
||||
<p>I think that HTML emails only waste space. The content is HTML and even if it's not directly visible to the user, it has a lot of content when reading the email source. With plain text emails the source is only text, nothing is in HTML.</p>
|
||||
<h2 id="replying-below-quotes.">Replying below quotes.</h2>
|
||||
<p>Many mailing lists wish emails to be replied under the quoted text and inside the message. It also makes the email easier to read when you know what has been said previously.</p>
|
||||
<h2 id="issues-which-you-might-have-with-my-emails-and-how-to-fix-them">Issues which you might have with my emails and how to fix them</h2>
|
||||
<h3 id="openpgp-signature">OpenPGP signature</h3>
|
||||
<h4 id="long-mess-as-signature">Long mess as signature</h4>
|
||||
<p>The "long mess" should be hidden automatically by email client when you import my public key (I will tell you more about that later). If your email client doesn't do this, I suggest you to file a bug report to your email client or change it. I use and recommend [Thunderbird] with [Enigmail] plugin.</p>
|
||||
<h4 id="importing-public-keys-automatically">Importing public keys automatically</h4>
|
||||
<p>This will hide most of them and show you small notification about the email being signed. There are two ways to import keys automatically.</p>
|
||||
<h5 id="enigmail-level-enigmail-only">Enigmail level (Enigmail only)</h5>
|
||||
<p>Go to OpenPGP --> Settings and click "Show Expert Settings". Then open tab "Keyserver" and enter the following to the below box:</p>
|
||||
<pre><code>pool.sks-keyservers.net</code></pre>
|
||||
<p>Then click "OK" and you should get all keys automatically from pool.sks-keyservers.net when you receive email signed with unknown key presuming that the key is at the keyserver. If it's not, you will see the signature and error about key not found.</p>
|
||||
<h5 id="gnupg-level">GnuPG level</h5>
|
||||
<p>Modify the Enigmail configuration file which should be on one of these locations:</p>
|
||||
<pre><code>Linux: ~/.gnupg/gpg.conf
|
||||
Mac OS X: ~/.gnupg/gpg.conf
|
||||
Windows: C:\Users\User\AppData\Roaming\gnupg\gpg.conf
|
||||
(I'm not fully sure about Windows location)</code></pre>
|
||||
<p>and add these lines:</p>
|
||||
<pre><code>keyserver pool.sks-keyservers.net
|
||||
auto-key-locate keyserver
|
||||
keyserver-options auto-key-retrieve no-include-revoked import-clean
|
||||
import-options import-clean
|
||||
export-options export-clean</code></pre>
|
||||
<p>You actually need only the first and third lines, but I recommend all what I mentioned and I explain what they do.</p>
|
||||
<blockquote>
|
||||
<p>keyserver pool.sks-keyservers.net</p>
|
||||
</blockquote>
|
||||
<p>Sets the default keyserver as pool.sks-keyservers.net.</p>
|
||||
<blockquote>
|
||||
<p>auto-key-locate keyserver</p>
|
||||
</blockquote>
|
||||
<p>If you are sending encrypted email to someone whose key you don't have, GPG tries to find it from keyserver automatically.</p>
|
||||
<blockquote>
|
||||
<p>keyserver-options auto-key-retrieve no-include-revoked import-clean</p>
|
||||
</blockquote>
|
||||
<p>When doing something with keyserver, get key automatically if it's missing and it has signed something and the signature is being verified and when searching, do not show revoked keys and remove useless signatures (=signature from missing key) from keys.</p>
|
||||
<blockquote>
|
||||
<p>import-options import-clean</p>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<p>export-options export-clean</p>
|
||||
</blockquote>
|
||||
<p>When importing/exporting keys, remove all signatures that are from keys that aren't in keyring.</p>
|
||||
<hr/>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||||
var disqus_developer = 0;
|
||||
var disqus_url = 'http://mkaysi.github.com/articles/Emails.html';
|
||||
var disques_title = 'How I send emails and why I send them like I do.';
|
||||
var disqus_shortname = 'mkaysishomepage'; // required: replace example with your forum shortname
|
||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async =
|
||||
true;
|
||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0])
|
||||
.appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Dis qus.</a>
|
||||
</noscript>
|
||||
|
||||
<p>
|
||||
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus </span></a>
|
||||
</p>
|
||||
<!-- vim : set ft=html -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
146
articles/Emails.html.md
Normal file
146
articles/Emails.html.md
Normal file
@ -0,0 +1,146 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<!-- <meta http-equiv="refresh" content="60" /> -->
|
||||
<meta name="description" content="Explanation on how I send emails and why I send them that way and the problems which it can cause and solutions to them." />
|
||||
<meta name="keywords" content="OpenPGP,gpg,email,long,signature,long signature,PGP,GnuPG," />
|
||||
<meta name="author" content="Mika Suomalainen" />
|
||||
<link rel="canonical" href="http://mkaysi.github.com/articles/Emails.html">
|
||||
<title>Insert title here</title>
|
||||
<link rel="stylesheet" type="text/css" href="../tyyli.css" />
|
||||
</head>
|
||||
<body>
|
||||
<hr/>
|
||||
[Sitemap](sitemap/sitemap.html)
|
||||
<hr/>
|
||||
|
||||
# Why do I send emails how I sent them
|
||||
|
||||
## OpenPGP signing
|
||||
|
||||
I sign my emails using [GnuPG] which is free implementation of the [OpenPGP] standard.
|
||||
The signature can be used to verify that I am the sender and that nobody modified the
|
||||
message.
|
||||
|
||||
## UTF-8
|
||||
|
||||
I use UTF-8, because it allows all characters and it's widely used everywhere. It is
|
||||
also the default character set of [Python 3]. UTF-8 is also recommended on most of
|
||||
IRC channels and networks.
|
||||
|
||||
## Plain text emails
|
||||
|
||||
I think that HTML emails only waste space. The content is HTML and even if it's not
|
||||
directly visible to the user, it has a lot of content when reading the email source.
|
||||
With plain text emails the source is only text, nothing is in HTML.
|
||||
|
||||
## Replying below quotes.
|
||||
|
||||
Many mailing lists wish emails to be replied under the quoted text and inside the
|
||||
message. It also makes the email easier to read when you know what has been said
|
||||
previously.
|
||||
|
||||
## Issues which you might have with my emails and how to fix them
|
||||
|
||||
### OpenPGP signature
|
||||
|
||||
#### Long mess as signature
|
||||
|
||||
The "long mess" should be hidden automatically by email client when you import my
|
||||
public key (I will tell you more about that later). If your email client doesn't do
|
||||
this, I suggest you to file a bug report to your email client or change it. I use and
|
||||
recommend [Thunderbird] with [Enigmail] plugin.
|
||||
|
||||
#### Importing public keys automatically
|
||||
|
||||
This will hide most of them and show you small notification about the email being
|
||||
signed. There are two ways to import keys automatically.
|
||||
|
||||
##### Enigmail level (Enigmail only)
|
||||
|
||||
Go to OpenPGP --> Settings and click "Show Expert Settings". Then open tab "Keyserver"
|
||||
and enter the following to the below box:
|
||||
|
||||
```
|
||||
pool.sks-keyservers.net
|
||||
```
|
||||
|
||||
Then click "OK" and you should get all keys automatically from pool.sks-keyservers.net
|
||||
when you receive email signed with unknown key presuming that the key is at the
|
||||
keyserver. If it's not, you will see the signature and error about key not found.
|
||||
|
||||
##### GnuPG level
|
||||
|
||||
Modify the Enigmail configuration file which should be on one of these locations:
|
||||
|
||||
```
|
||||
Linux: ~/.gnupg/gpg.conf
|
||||
Mac OS X: ~/.gnupg/gpg.conf
|
||||
Windows: C:\Users\User\AppData\Roaming\gnupg\gpg.conf
|
||||
(I'm not fully sure about Windows location)
|
||||
```
|
||||
|
||||
and add these lines:
|
||||
|
||||
```
|
||||
keyserver pool.sks-keyservers.net
|
||||
auto-key-locate keyserver
|
||||
keyserver-options auto-key-retrieve no-include-revoked import-clean
|
||||
import-options import-clean
|
||||
export-options export-clean
|
||||
```
|
||||
|
||||
You actually need only the first and third lines, but I recommend all what I mentioned
|
||||
and I explain what they do.
|
||||
|
||||
> keyserver pool.sks-keyservers.net
|
||||
|
||||
Sets the default keyserver as pool.sks-keyservers.net.
|
||||
|
||||
> auto-key-locate keyserver
|
||||
|
||||
If you are sending encrypted email to someone whose key you don't have, GPG
|
||||
tries to find it from keyserver automatically.
|
||||
|
||||
> keyserver-options auto-key-retrieve no-include-revoked import-clean
|
||||
|
||||
When doing something with keyserver, get key automatically if it's missing and it has
|
||||
signed something and the signature is being verified and when searching, do not show
|
||||
revoked keys and remove useless signatures (=signature from missing key) from keys.
|
||||
|
||||
> import-options import-clean
|
||||
|
||||
> export-options export-clean
|
||||
|
||||
When importing/exporting keys, remove all signatures that are from keys that aren't
|
||||
in keyring.
|
||||
|
||||
<hr/>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||||
var disqus_developer = 0;
|
||||
var disqus_url = 'http://mkaysi.github.com/articles/Emails.html';
|
||||
var disques_title = 'How I send emails and why I send them like I do.';
|
||||
var disqus_shortname = 'mkaysishomepage'; // required: replace example with your forum shortname
|
||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async =
|
||||
true;
|
||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0])
|
||||
.appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Dis
|
||||
qus.</a>
|
||||
</noscript>
|
||||
|
||||
<p><a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus
|
||||
</span></a></p>
|
||||
<!-- vim : set ft=html -->
|
||||
</body>
|
||||
</html>
|
@ -22,6 +22,7 @@ Sitemap
|
||||
<p><a href="../mirrors.html">mirrors</a> — List of mirrors of this site.</p>
|
||||
<h2 id="articles">/articles/</h2>
|
||||
<p>Some things, which are direct complaining about something or then guides for doing something. They might not be very good guidess.</p>
|
||||
<p><a href="../articles/Emails.html">How I send emails and why I do so</a></p>
|
||||
<h3 id="articlescomplaining">/articles/complaining/</h3>
|
||||
<p>Complaining about some things.</p>
|
||||
<p><a href="../articles/complaining/HTML.html">HTML in emails</a></p>
|
||||
|
@ -40,6 +40,8 @@ The root directory where everything is located.
|
||||
|
||||
Some things, which are direct complaining about something or then guides for doing something. They might not be very good guidess.
|
||||
|
||||
[How I send emails and why I do so](../articles/Emails.html)
|
||||
|
||||
### /articles/complaining/
|
||||
|
||||
Complaining about some things.
|
||||
|
Loading…
x
Reference in New Issue
Block a user