Installing email

This commit is contained in:
Bob Mottram 2015-12-18 23:17:45 +00:00
parent c84d0d1711
commit 586cb73e01
2 changed files with 13 additions and 41 deletions

View File

@ -429,40 +429,28 @@ To subscribe to a mailing list log in as your user (i.e. not the root user).
#+BEGIN_SRC bash #+BEGIN_SRC bash
ssh username@domainname -p 2222 ssh username@domainname -p 2222
freedombone-addlist -l <mailing list name> -s <subject tag> -e <list email address> sudo control
exit
#+END_SRC #+END_SRC
The subject tag should be the word or phrase which appears within the brackets in the subject line of emails from the mailing list. The mailing list name should be something short so that it is readable within the left side column of the mutt email client, and contain no spaces. You can also use the *freedombone-rmlist* if you wish not to show a particular list within Mutt. Select *Email filtering rules* then *Add a user to a mailing list*. If you want to do it purely from the commandline then see the manpage for *freedombone-addlist*.
* Adding email addresses to a group/folder * Adding email addresses to a group/folder
Similar to adding mailing list folders you can also add specified email addresses into a group/folder. Similar to adding mailing list folders you can also add specified email addresses into a group/folder.
#+BEGIN_SRC bash #+BEGIN_SRC bash
ssh username@domainname -p 2222 ssh username@domainname -p 2222
freedombone-addemail -e <email address> -g <group name> sudo control
exit
#+END_SRC #+END_SRC
The group name should be something short so that it is readable within the left side column of the mutt email client, and not contain any spaces. You can also use the *freedombone-rmemail* command to remove an email address rule. Select *Email filtering rules* then *Add email rule*. To do the same from the commandline see the manpage for *freedombone-addemail*.
* Ignoring incoming emails * Ignoring incoming emails
It is possible to ignore incoming emails if they are from a particular email address or if the subject line contains particular text. It is possible to ignore incoming emails if they are from a particular email address or if the subject line contains particular text.
#+BEGIN_SRC bash #+BEGIN_SRC bash
ssh username@domainname -p 2222 ssh username@domainname -p 2222
freedombone-ignore -e baduser@baddomain sudo control
exit
#+END_SRC #+END_SRC
Or: Select *Email filtering rules* then *Block/Unblock and email address* or *Block/Unblock email with subject line*. Also see the manpage for *freedombone-ignore*.
#+BEGIN_SRC bash
ssh username@domainname -p 2222
freedombone-ignore -t "make $$$ now!"
exit
#+END_SRC
You can also reverse this by using the *freedombone-unignore* command with the same options.
* Your own mailing list * Your own mailing list
If you want to set up a public mailing list then when installing the system remember to set the *PUBLIC_MAILING_LIST* variable within *freedombone.cfg* to the name of your list. The name should have no spaces in it. Public mailing lists are unencrypted so anyone will be able to read the contents, including non subscribers. If you want to set up a public mailing list then when installing the system remember to set the *PUBLIC_MAILING_LIST* variable within *freedombone.cfg* to the name of your list. The name should have no spaces in it. Public mailing lists are unencrypted so anyone will be able to read the contents, including non subscribers.

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2015-12-18 Fri 23:04 --> <!-- 2015-12-18 Fri 23:17 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title> <title></title>
@ -941,13 +941,12 @@ To subscribe to a mailing list log in as your user (i.e. not the root user).
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">ssh username@domainname -p 2222 <pre class="src src-bash">ssh username@domainname -p 2222
freedombone-addlist -l &lt;mailing list name&gt; -s &lt;subject tag&gt; -e &lt;list email address&gt; sudo control
<span class="org-keyword">exit</span>
</pre> </pre>
</div> </div>
<p> <p>
The subject tag should be the word or phrase which appears within the brackets in the subject line of emails from the mailing list. The mailing list name should be something short so that it is readable within the left side column of the mutt email client, and contain no spaces. You can also use the <b>freedombone-rmlist</b> if you wish not to show a particular list within Mutt. Select <b>Email filtering rules</b> then <b>Add a user to a mailing list</b>. If you want to do it purely from the commandline then see the manpage for <b>freedombone-addlist</b>.
</p> </p>
</div> </div>
</div> </div>
@ -961,17 +960,15 @@ Similar to adding mailing list folders you can also add specified email addresse
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">ssh username@domainname -p 2222 <pre class="src src-bash">ssh username@domainname -p 2222
freedombone-addemail -e &lt;email address&gt; -g &lt;group name&gt; sudo control
<span class="org-keyword">exit</span>
</pre> </pre>
</div> </div>
<p> <p>
The group name should be something short so that it is readable within the left side column of the mutt email client, and not contain any spaces. You can also use the <b>freedombone-rmemail</b> command to remove an email address rule. Select <b>Email filtering rules</b> then <b>Add email rule</b>. To do the same from the commandline see the manpage for <b>freedombone-addemail</b>.
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-orgheadline10" class="outline-2"> <div id="outline-container-orgheadline10" class="outline-2">
<h2 id="orgheadline10">Ignoring incoming emails</h2> <h2 id="orgheadline10">Ignoring incoming emails</h2>
<div class="outline-text-2" id="text-orgheadline10"> <div class="outline-text-2" id="text-orgheadline10">
@ -982,25 +979,12 @@ It is possible to ignore incoming emails if they are from a particular email add
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">ssh username@domainname -p 2222 <pre class="src src-bash">ssh username@domainname -p 2222
freedombone-ignore -e baduser@baddomain sudo control
<span class="org-keyword">exit</span>
</pre> </pre>
</div> </div>
<p> <p>
Or: Select <b>Email filtering rules</b> then <b>Block/Unblock and email address</b> or <b>Block/Unblock email with subject line</b>. Also see the manpage for <b>freedombone-ignore</b>.
</p>
<div class="org-src-container">
<pre class="src src-bash">ssh username@domainname -p 2222
freedombone-ignore -t <span class="org-string">"make $$$ now!"</span>
<span class="org-keyword">exit</span>
</pre>
</div>
<p>
You can also reverse this by using the <b>freedombone-unignore</b> command with the same options.
</p> </p>
</div> </div>
</div> </div>