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