Bob Mottram 11 年之前
父節點
當前提交
b04b2a9010
共有 1 個檔案被更改,包括 12 行新增14 行删除
  1. 12
    14
      beaglebone.txt

+ 12
- 14
beaglebone.txt 查看文件

1528
 editor /usr/bin/exim-gencert
1528
 editor /usr/bin/exim-gencert
1529
 #+END_SRC
1529
 #+END_SRC
1530
 
1530
 
1531
+Add the following:
1532
+
1531
 #+BEGIN_SRC: bash
1533
 #+BEGIN_SRC: bash
1532
 #!/bin/sh -e
1534
 #!/bin/sh -e
1533
 
1535
 
1622
 
1624
 
1623
 Uncomment the section which begins with *login_saslauthd_server*
1625
 Uncomment the section which begins with *login_saslauthd_server*
1624
 
1626
 
1625
-Search for the line *.ifdef MAIN_HARDCODE_PRIMARY_HOSTNAME* and above it insert the line:
1627
+Search for the line *.ifdef MAIN_HARDCODE_PRIMARY_HOSTNAME* and above it insert the lines:
1626
 
1628
 
1627
 #+BEGIN_SRC: bash
1629
 #+BEGIN_SRC: bash
1628
 MAIN_HARDCODE_PRIMARY_HOSTNAME = mydomainname.com
1630
 MAIN_HARDCODE_PRIMARY_HOSTNAME = mydomainname.com
1629
-#+END_SRC
1630
-
1631
-Add the line:
1632
-
1633
-#+BEGIN_SRC: bash
1634
 MAIN_TLS_ENABLE = true
1631
 MAIN_TLS_ENABLE = true
1635
 #+END_SRC
1632
 #+END_SRC
1636
 
1633
 
1646
 
1643
 
1647
 #+BEGIN_SRC: bash
1644
 #+BEGIN_SRC: bash
1648
 editor /etc/exim4/exim4.conf.template
1645
 editor /etc/exim4/exim4.conf.template
1649
-under the section "main/03_exim4-config_tlsoptions"
1650
-Add the following:
1646
+#+END_SRC
1647
+
1648
+Under the section *main/03_exim4-config_tlsoptions* add the following:
1649
+
1650
+#+BEGIN_SRC: bash
1651
 tls_on_connect_ports=465
1651
 tls_on_connect_ports=465
1652
 #+END_SRC
1652
 #+END_SRC
1653
 
1653
 
1711
 editor /etc/default/spamassassin
1711
 editor /etc/default/spamassassin
1712
 #+END_SRC
1712
 #+END_SRC
1713
 
1713
 
1714
-Set ENABLED=1 then save and exit.
1714
+Set *ENABLED=1* then save and exit.
1715
 
1715
 
1716
 #+BEGIN_SRC: bash
1716
 #+BEGIN_SRC: bash
1717
 editor /etc/exim4/exim4.conf.template
1717
 editor /etc/exim4/exim4.conf.template
1718
 #+END_SRC
1718
 #+END_SRC
1719
 
1719
 
1720
-uncomment or change according to your configuration
1720
+Uncomment or change according to your configuration
1721
 
1721
 
1722
 #+BEGIN_SRC: bash
1722
 #+BEGIN_SRC: bash
1723
 # For spam scanning, there is a similar option that defines the interface to
1723
 # For spam scanning, there is a similar option that defines the interface to
1728
  spamd_address = 127.0.0.1 783
1728
  spamd_address = 127.0.0.1 783
1729
 #+END_SRC
1729
 #+END_SRC
1730
 
1730
 
1731
-add spam header in the /acl_check_data/ section:
1731
+Add spam header in the /acl_check_data/ section:
1732
 
1732
 
1733
 #+BEGIN_SRC: bash
1733
 #+BEGIN_SRC: bash
1734
 ### acl/40_exim4-config_check_data
1734
 ### acl/40_exim4-config_check_data
1762
       add_header = Subject: ***SPAM (score:$spam_score)*** $h_Subject:
1762
       add_header = Subject: ***SPAM (score:$spam_score)*** $h_Subject:
1763
 #+END_SRC
1763
 #+END_SRC
1764
 
1764
 
1765
-Save and exit.
1766
-
1767
-Then restart
1765
+Save and exit, then restart
1768
 
1766
 
1769
 #+BEGIN_SRC: bash
1767
 #+BEGIN_SRC: bash
1770
 exit
1768
 exit