|
@@ -1528,6 +1528,8 @@ set START=yes then save and exit.
|
1528
|
1528
|
editor /usr/bin/exim-gencert
|
1529
|
1529
|
#+END_SRC
|
1530
|
1530
|
|
|
1531
|
+Add the following:
|
|
1532
|
+
|
1531
|
1533
|
#+BEGIN_SRC: bash
|
1532
|
1534
|
#!/bin/sh -e
|
1533
|
1535
|
|
|
@@ -1622,15 +1624,10 @@ editor /etc/exim4/exim4.conf.template
|
1622
|
1624
|
|
1623
|
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
|
1629
|
#+BEGIN_SRC: bash
|
1628
|
1630
|
MAIN_HARDCODE_PRIMARY_HOSTNAME = mydomainname.com
|
1629
|
|
-#+END_SRC
|
1630
|
|
-
|
1631
|
|
-Add the line:
|
1632
|
|
-
|
1633
|
|
-#+BEGIN_SRC: bash
|
1634
|
1631
|
MAIN_TLS_ENABLE = true
|
1635
|
1632
|
#+END_SRC
|
1636
|
1633
|
|
|
@@ -1646,8 +1643,11 @@ save and exit
|
1646
|
1643
|
|
1647
|
1644
|
#+BEGIN_SRC: bash
|
1648
|
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
|
1651
|
tls_on_connect_ports=465
|
1652
|
1652
|
#+END_SRC
|
1653
|
1653
|
|
|
@@ -1711,13 +1711,13 @@ If you encounter any problems with dependencies then select 'n' and then 'y' to
|
1711
|
1711
|
editor /etc/default/spamassassin
|
1712
|
1712
|
#+END_SRC
|
1713
|
1713
|
|
1714
|
|
-Set ENABLED=1 then save and exit.
|
|
1714
|
+Set *ENABLED=1* then save and exit.
|
1715
|
1715
|
|
1716
|
1716
|
#+BEGIN_SRC: bash
|
1717
|
1717
|
editor /etc/exim4/exim4.conf.template
|
1718
|
1718
|
#+END_SRC
|
1719
|
1719
|
|
1720
|
|
-uncomment or change according to your configuration
|
|
1720
|
+Uncomment or change according to your configuration
|
1721
|
1721
|
|
1722
|
1722
|
#+BEGIN_SRC: bash
|
1723
|
1723
|
# For spam scanning, there is a similar option that defines the interface to
|
|
@@ -1728,7 +1728,7 @@ uncomment or change according to your configuration
|
1728
|
1728
|
spamd_address = 127.0.0.1 783
|
1729
|
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
|
1733
|
#+BEGIN_SRC: bash
|
1734
|
1734
|
### acl/40_exim4-config_check_data
|
|
@@ -1762,9 +1762,7 @@ acl_check_data:
|
1762
|
1762
|
add_header = Subject: ***SPAM (score:$spam_score)*** $h_Subject:
|
1763
|
1763
|
#+END_SRC
|
1764
|
1764
|
|
1765
|
|
-Save and exit.
|
1766
|
|
-
|
1767
|
|
-Then restart
|
|
1765
|
+Save and exit, then restart
|
1768
|
1766
|
|
1769
|
1767
|
#+BEGIN_SRC: bash
|
1770
|
1768
|
exit
|