aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/files/postfix/helo-access.pcre
blob: f678385be98e19a4921a9dbfc1aa73beb83d40c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# Postfix access control on HELO/EHLO context.
#
# References:
# * Postfix SMTP relay and access control
#   http://www.postfix.org/SMTPD_ACCESS_README.html
#
# NOTE: by default, patterns are case insensitive.
#
# Aaron LI
# 2017-08-05
#

#
# smtpd_helo_restrictions =
# 	permit_mynetworks,
# 	check_helo_access pcre:/usr/local/etc/postfix/helo-access.pcre,
# 	reject_non_fqdn_helo_hostname,
# 	reject_invalid_helo_hostname,
# 	reject_unknown_helo_hostname,
# 	permit
#

# Whitelist M$ Exchange Online Protection
# See also: https://technet.microsoft.com/en-us/library/dn163583
/^.*\.outbound.protection.outlook.com$/         OK