summaryrefslogtreecommitdiffstats
path: root/lucifer.kyriasis.com/smtpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lucifer.kyriasis.com/smtpd.conf')
-rw-r--r--lucifer.kyriasis.com/smtpd.conf9
1 files changed, 5 insertions, 4 deletions
diff --git a/lucifer.kyriasis.com/smtpd.conf b/lucifer.kyriasis.com/smtpd.conf
index 0f0efc7..2db7f99 100644
--- a/lucifer.kyriasis.com/smtpd.conf
+++ b/lucifer.kyriasis.com/smtpd.conf
@@ -12,19 +12,20 @@ pki lucifer.kyriasis.com key "/etc/smtpd/certs/lucifer.kyriasis.com.key"
# If you edit the file, you have to run "smtpctl update table users"
table users file:/etc/smtpd/users
+table sendertable file:/etc/smtpd/senders
##
# Listen directives
#
-listen on eth0 port 25 tls pki lucifer.kyriasis.com auth-optional
-listen on eth0 port 587 tls-require pki lucifer.kyriasis.com auth
-listen on eth0 port 465 smtps pki lucifer.kyriasis.com auth
+listen on enp0s4 port 25 tls pki lucifer.kyriasis.com auth-optional senders <sendertable> masquerade
+listen on enp0s4 port 587 tls-require pki lucifer.kyriasis.com auth senders <sendertable> masquerade
+listen on enp0s4 port 465 smtps pki lucifer.kyriasis.com auth senders <sendertable> masquerade
listen on lo port 10029 tag DKIM-OUT
-listen on localhost
+listen on localhost senders <sendertable> masquerade
##