-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathhelo_access
20 lines (17 loc) · 849 Bytes
/
helo_access
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
################################################################################
# helo_access
################################################################################
# This file controls access to the relay. Example whitelist entries are listed
# below. You should remove the examples and add your own. You will need a
# a minimum of one entry here, however.
# If your apps are being hosted via docker-compose or ECS bridge-mode
# networking, you'll need to take note of the originating hostnames within the
# docker network.
myapp PERMIT
myapp.local PERMIT
# If you're using within a K8S pod or with ECS host-mode networking
# then you'll have a shared network namespace and any apps within the pod/task
# will originate from "localhost"
localhost PERMIT
# EC2 Hostname Pattern
/^ip-[0-9]+-[0-9]+-[0-9]+-[0-9]+\.ec2\.internal$/ PERMIT