From 9741df07f44b23ce7ac66a55cef65fe6c9c45b37 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Thu, 22 Sep 2016 02:10:51 +0100 Subject: final 0.2.1 revision --- tools/mutt.html | 74 +++++++++++++++++++++++++-------------------------------- 1 file changed, 33 insertions(+), 41 deletions(-) (limited to 'tools/mutt.html') diff --git a/tools/mutt.html b/tools/mutt.html index 276fb51..ef7cdbd 100644 --- a/tools/mutt.html +++ b/tools/mutt.html @@ -90,7 +90,7 @@

Lets start configuring the two accounts, one for host system email and another for external email account. Change pgp_sign_as according to your specific sub key for signing. Change - muttrc with your + muttrc with your preferences;

@@ -111,30 +111,24 @@
         set sort_aux=reverse-last-date-received
         set duplicate_threads=yes
 
-        source ~/.mutt/gpg.rc
-
-        set pgp_autosign=yes
-        set pgp_sign_as=0x1D327CA1
-        set pgp_replyencrypt=yes
-        set pgp_timeout=1800
+        set crypt_use_gpgme=yes
 
-        # automatically sign all outgoing messages
-        set crypt_autosign
+        ## automatically sign all outgoing messages
+        set crypt_autosign=yes
 
-        # sign only replies to signed messages
-        set crypt_replysign
+        ## automatically encrypt outgoing messages
+        set crypt_autoencrypt=yes
 
-        # automatically encrypt outgoing messages
-        #set crypt_autoencrypt=yes
-
-        # encrypt only replies to signed messages
-        set crypt_replyencrypt=yes
+        ## automatically verify the sign of a message when opened
+        set crypt_verify_sig=yes
 
-        # encrypt and sign replies to encrypted messages
-        set crypt_replysignencrypted=yes
+        set pgp_sign_as=0x8BF422F79FC7C975BDF07828E88440BC35095A74
+        #set pgp_sign_as=0x8BF422F7
+        set pgp_timeout=1800
+        set pgp_autosign=yes
+        #set pgp_replyencrypt=yes
 
-        # automatically verify the sign of a message when opened
-        set crypt_verify_sig=yes
+        source ~/.mutt/gpg.rc
 
         source "~/.mutt/mail_alias"
         set alias_file=~/.mutt/mail_alias
@@ -144,37 +138,38 @@
         set message_cachedir =~/.mutt/cache/bodies
         set certificate_file =~/.mutt/certificates
 
-        set timeout=10    # mutt 'presses' (like) a key for you
-                          #(while you're idle) each x sec to trigger
+        set timeout=10    # mutt 'presses' (like) a key for you 
+                          #(while you're idle) each x sec to trigger 
                           #the thing below
         set mail_check=5  # mutt checks for new mails on every keystroke
                           # but not more often then once in 5 seconds
         set beep_new      # beep on new messages in the mailboxes
 
         ## Local system account
-        folder-hook 'Mail' 'source ~/.mutt/system'
+        folder-hook '.mail' 'source ~/.mutt/system'
 
         ## Remote account
-        folder-hook 'MailExt' 'source ~/.mutt/external'
+        folder-hook '.mailext' 'source ~/.mutt/external'
 
         ## Default account
-        source "~/.mutt/system"
+        source ~/.mutt/system
 
         ## Shortcuts
+        macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.mutt/external<enter><change-folder>!<enter>'
+
         macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/system<enter><change-folder>!<enter>'
-        macro index,pager <f3> '<sync-mailbox><enter-command<>source ~/.mutt/external<enter><change-folder>!<enter>'
         
-

9.2.1. System Email

+

2.1. System Email

-

Content of .mutt/system;

+

Content of .mutt/system;

         color status green default
 
         set folder="~/.mail"
         set mbox_type=Maildir
-        set spoolfile=/var/spool/mail/c1admin
+        set spoolfile=/var/spool/mail/c9admin
         set keep_flagged=yes
 
         set mbox="~/.mail"           # ~/.mailext/read_inbox
@@ -193,8 +188,8 @@
         unset pop_host
         unset smtp_url
 
-        set realname='droid'
-        set from=droid@c13
+        set realname='c9admin'
+        set from=c9admin@localhost
         

Create folder;

@@ -203,9 +198,9 @@ $ mkdir -p ~/.mail/{cur,new,tmp} -

9.2.2. External Email

+

2.2. External Email

-

Edit .mutt/external;

+

Edit .mutt/external;

         color status blue default
@@ -242,7 +237,7 @@
         $ mkdir -p ~/.mailext/{cur,new,tmp}
         
-

9.3. Using Mutt

+

3. Using Mutt

When listing messages the status flag mean;

@@ -275,7 +270,7 @@

If you need to manually create a folder;

-

9.3.1. Tag Email

+

3.1. Tag Email

Just press shift-T and then read @@ -284,7 +279,7 @@ mark all taged for deletion.

-

9.3.2. Address alias

+

3.2. Address alias

Alias makes easy to manage email addresses. Add this to your muttrc;

@@ -296,7 +291,7 @@

While on index or page press "a" to add address to alias file.

-

9.3.3. GPG Keys

+

3.3. GPG Keys

Import a public key from email;

@@ -306,15 +301,12 @@

^K is CTRL+K

- Systools Index + Tools Index

This is part of the SysDoc Manual. Copyright (C) 2016 c9 team. See the file Gnu Free Documentation License for copying conditions.

- - - -- cgit 1.4.1-2-gfad0