Browse Source

Improving sequence

Bob Mottram 11 years ago
parent
commit
b62996c9c0
1 changed files with 34 additions and 22 deletions
  1. 34
    22
      beaglebone.txt

+ 34
- 22
beaglebone.txt View File

@@ -1510,7 +1510,12 @@ chown -R $MYUSERNAME:$MYUSERNAME /home/$MYUSERNAME/Maildir
1510 1510
 ** Spam filtering
1511 1511
 
1512 1512
 #+BEGIN_SRC: bash
1513
-apt-get install spamassassin exim4-daemon-heavy
1513
+aptitude install spamassassin exim4-daemon-heavy
1514
+#+END_SRC
1515
+
1516
+If you encounter any problems with dependencies then select 'n' and then 'y' to whatever the suggestion for removals is.  Repeat the aptitude install process until you don't get any more dependency errors.
1517
+
1518
+#+BEGIN_SRC: bash
1514 1519
 editor /etc/default/spamassassin
1515 1520
 #+END_SRC
1516 1521
 
@@ -2571,6 +2576,11 @@ set pgp_autosign         # autosign all outgoing mails
2571 2576
 set pgp_replyencrypt     # autocrypt replies to crypted
2572 2577
 set pgp_replysign        # autosign replies to signed
2573 2578
 set pgp_auto_decode=yes  # decode attachments
2579
+
2580
+set alias_file=~/.mutt-alias
2581
+source ~/.mutt-alias
2582
+set query_command= "abook --mutt-query '%s'"
2583
+macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
2574 2584
 #+END_SRC
2575 2585
 
2576 2586
 Save and exit.
@@ -2585,26 +2595,8 @@ Save and exit, then run:
2585 2595
 
2586 2596
 #+BEGIN_SRC: bash
2587 2597
 service spamassassin restart
2588
-#+END_SRC
2589
-
2590
-Now to add an address book:
2591
-
2592
-#+BEGIN_SRC: bash
2593
-editor ~/.muttrc
2594
-#+END_SRC
2595
-
2596
-Append the following:
2597
-
2598
-#+BEGIN_SRC: bash
2599
-set alias_file=~/.mutt-alias
2600
-source ~/.mutt-alias
2601
-set query_command= "abook --mutt-query '%s'"
2602
-macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
2603
-#+END_SRC
2604
-
2605
-Then save and exit.
2606
-
2607
-#+BEGIN_SRC: bash
2598
+exit
2599
+cp /etc/Muttrc ~/.muttrc
2608 2600
 touch ~/.mutt-alias
2609 2601
 #+END_SRC
2610 2602
 
@@ -2675,10 +2667,16 @@ If your folder still doesn't show up then press the *menu button*, select *show
2675 2667
 
2676 2668
 For maximum speed and efficiency the recommended email client is Mutt, accessed via ssh, but non-technical people who aren't using an Android app are unlikely to want to use email in that manner.  So it's a good idea to also have a webmail system installed, both for accessibility and as a fallback should ssh not be available due to port blocking.
2677 2669
 
2670
+If you're not already logged in as root:
2671
+
2672
+#+BEGIN_SRC: bash
2673
+su
2674
+#+END_SRC
2675
+
2678 2676
 Install dependencies.
2679 2677
 
2680 2678
 #+BEGIN_SRC: bash
2681
-apt-get install libapache2-mod-authz-unixgroup
2679
+apt-get install mysql-server libapache2-mod-authz-unixgroup
2682 2680
 #+END_SRC
2683 2681
 
2684 2682
 Create a mysql database, specifying a password which should be a long random string generated with a password manager such as KeepassX.
@@ -6418,11 +6416,25 @@ deb http://ftp.us.debian.org/debian wheezy-backports main contrib non-free
6418 6416
 *** Cubieboard
6419 6417
 #+BEGIN_SRC: bash
6420 6418
 deb http://http.debian.net/debian/ wheezy main contrib non-free
6419
+deb-src http://http.debian.net/debian/ wheezy main contrib non-free
6420
+
6421
+deb http://http.debian.net/debian/ wheezy-updates main contrib non-free
6422
+deb-src http://http.debian.net/debian/ wheezy-updates main contrib non-free
6423
+
6421 6424
 deb http://http.debian.net/debian/ wheezy-backports main contrib non-free
6425
+deb-src http://http.debian.net/debian/ wheezy-backports main contrib non-free
6426
+
6422 6427
 deb http://security.debian.org/ wheezy/updates main contrib non-free
6428
+deb-src http://security.debian.org/ wheezy/updates main contrib non-free
6429
+
6423 6430
 deb http://mirrors.sohu.com/debian/ wheezy main contrib non-free
6431
+deb-src http://mirrors.sohu.com/debian/ wheezy main contrib non-free
6432
+
6424 6433
 deb http://packages.cubian.org/ wheezy main non-free
6434
+deb-src http://packages.cubian.org/ wheezy main non-free
6435
+
6425 6436
 deb http://repo.ajenti.org/debian main main debian
6437
+deb-src http://repo.ajenti.org/debian main main debian
6426 6438
 #+END_SRC
6427 6439
 
6428 6440
 ** Messaging security