Tidying
This commit is contained in:
parent
2d81fa4ebb
commit
b04b2a9010
|
@ -1528,6 +1528,8 @@ set START=yes then save and exit.
|
||||||
editor /usr/bin/exim-gencert
|
editor /usr/bin/exim-gencert
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Add the following:
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
@ -1622,15 +1624,10 @@ editor /etc/exim4/exim4.conf.template
|
||||||
|
|
||||||
Uncomment the section which begins with *login_saslauthd_server*
|
Uncomment the section which begins with *login_saslauthd_server*
|
||||||
|
|
||||||
Search for the line *.ifdef MAIN_HARDCODE_PRIMARY_HOSTNAME* and above it insert the line:
|
Search for the line *.ifdef MAIN_HARDCODE_PRIMARY_HOSTNAME* and above it insert the lines:
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
MAIN_HARDCODE_PRIMARY_HOSTNAME = mydomainname.com
|
MAIN_HARDCODE_PRIMARY_HOSTNAME = mydomainname.com
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
Add the line:
|
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
|
||||||
MAIN_TLS_ENABLE = true
|
MAIN_TLS_ENABLE = true
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
@ -1646,8 +1643,11 @@ save and exit
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
editor /etc/exim4/exim4.conf.template
|
editor /etc/exim4/exim4.conf.template
|
||||||
under the section "main/03_exim4-config_tlsoptions"
|
#+END_SRC
|
||||||
Add the following:
|
|
||||||
|
Under the section *main/03_exim4-config_tlsoptions* add the following:
|
||||||
|
|
||||||
|
#+BEGIN_SRC: bash
|
||||||
tls_on_connect_ports=465
|
tls_on_connect_ports=465
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
@ -1711,13 +1711,13 @@ If you encounter any problems with dependencies then select 'n' and then 'y' to
|
||||||
editor /etc/default/spamassassin
|
editor /etc/default/spamassassin
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Set ENABLED=1 then save and exit.
|
Set *ENABLED=1* then save and exit.
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
editor /etc/exim4/exim4.conf.template
|
editor /etc/exim4/exim4.conf.template
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
uncomment or change according to your configuration
|
Uncomment or change according to your configuration
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
# For spam scanning, there is a similar option that defines the interface to
|
# For spam scanning, there is a similar option that defines the interface to
|
||||||
|
@ -1728,7 +1728,7 @@ uncomment or change according to your configuration
|
||||||
spamd_address = 127.0.0.1 783
|
spamd_address = 127.0.0.1 783
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
add spam header in the /acl_check_data/ section:
|
Add spam header in the /acl_check_data/ section:
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
### acl/40_exim4-config_check_data
|
### acl/40_exim4-config_check_data
|
||||||
|
@ -1762,9 +1762,7 @@ acl_check_data:
|
||||||
add_header = Subject: ***SPAM (score:$spam_score)*** $h_Subject:
|
add_header = Subject: ***SPAM (score:$spam_score)*** $h_Subject:
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Save and exit.
|
Save and exit, then restart
|
||||||
|
|
||||||
Then restart
|
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue