## Check that a submitted message's sender address is allowable.
require acl = mail_client_addr
- ## Insist that a local client connect through TLS.
- deny message = Hosts within CONF_master_domain must use TLS
- !condition = ${if eq{$acl_c_mode}{submission}}
- hosts = +allnets
- !encrypted = *
-
SECTION(acl, misc)m4_dnl
mail_client_addr:
add_header = :after_received:X-Distorted-Warning: \
RCLNTLSNDR \
Apparently local sender, but received from remote \
- server.
+ server.\n\t\
+ sender=$sender_address \
+ host=$sender_host_address
## OK.
accept