This commit is contained in:
14
exim.conf.m4
14
exim.conf.m4
@@ -8,11 +8,6 @@ define(`RELAYNETS', esyscmd(`echo -n $RELAYNETS'))dnl
|
||||
define(`WHITELISTED_RECIPIENTS', esyscmd(`echo -n $WHITELISTED_RECIPIENTS'))dnl
|
||||
|
||||
|
||||
ifelse(SMARTHOST, `', `
|
||||
errprint(`Error: SMARTHOST not set')
|
||||
m4exit(1)
|
||||
')
|
||||
|
||||
ifelse(HOSTNAME, `', `
|
||||
errprint(`Error: HOSTNAME not set')
|
||||
m4exit(1)
|
||||
@@ -29,6 +24,10 @@ acl_smtp_rcpt = acl_check_rcpt
|
||||
tls_advertise_hosts =
|
||||
|
||||
begin routers
|
||||
ifelse(SMARTHOST, `', `dnl
|
||||
# no smarthost
|
||||
', `dnl
|
||||
|
||||
smarthost_route:
|
||||
driver = manualroute
|
||||
domains = *
|
||||
@@ -36,8 +35,8 @@ smarthost_route:
|
||||
route_list = * SMARTHOST
|
||||
|
||||
begin transports
|
||||
smarthost_smtp:
|
||||
driver = smtp
|
||||
smtp:
|
||||
driver = smarthost_smtp
|
||||
port = 25
|
||||
multi_domain
|
||||
ifelse(SMARTHOST_USER, `', `', `dnl
|
||||
@@ -56,6 +55,7 @@ login:
|
||||
public_name = LOGIN
|
||||
client_send = : SMARTHOST_USER : SMARTHOST_PASS
|
||||
')
|
||||
')
|
||||
|
||||
begin acl
|
||||
acl_check_rcpt:
|
||||
|
||||
Reference in New Issue
Block a user