This commit is contained in:
Bob Mottram 2014-08-04 19:37:04 +01:00
parent 2d81fa4ebb
commit b04b2a9010
1 changed files with 12 additions and 14 deletions

View File

@ -1528,6 +1528,8 @@ set START=yes then save and exit.
editor /usr/bin/exim-gencert
#+END_SRC
Add the following:
#+BEGIN_SRC: bash
#!/bin/sh -e
@ -1622,15 +1624,10 @@ editor /etc/exim4/exim4.conf.template
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
MAIN_HARDCODE_PRIMARY_HOSTNAME = mydomainname.com
#+END_SRC
Add the line:
#+BEGIN_SRC: bash
MAIN_TLS_ENABLE = true
#+END_SRC
@ -1646,8 +1643,11 @@ save and exit
#+BEGIN_SRC: bash
editor /etc/exim4/exim4.conf.template
under the section "main/03_exim4-config_tlsoptions"
Add the following:
#+END_SRC
Under the section *main/03_exim4-config_tlsoptions* add the following:
#+BEGIN_SRC: bash
tls_on_connect_ports=465
#+END_SRC
@ -1711,13 +1711,13 @@ If you encounter any problems with dependencies then select 'n' and then 'y' to
editor /etc/default/spamassassin
#+END_SRC
Set ENABLED=1 then save and exit.
Set *ENABLED=1* then save and exit.
#+BEGIN_SRC: bash
editor /etc/exim4/exim4.conf.template
#+END_SRC
uncomment or change according to your configuration
Uncomment or change according to your configuration
#+BEGIN_SRC: bash
# 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
#+END_SRC
add spam header in the /acl_check_data/ section:
Add spam header in the /acl_check_data/ section:
#+BEGIN_SRC: bash
### acl/40_exim4-config_check_data
@ -1762,9 +1762,7 @@ acl_check_data:
add_header = Subject: ***SPAM (score:$spam_score)*** $h_Subject:
#+END_SRC
Save and exit.
Then restart
Save and exit, then restart
#+BEGIN_SRC: bash
exit