forked from Decentrala/dmzconf
new structure
This kicks off the basic tree structure, where the docs all mirror the reality, like an ascii penumbra.
This commit is contained in:
1
krov/serverko/opensmtpd12/etc/mailname
Normal file
1
krov/serverko/opensmtpd12/etc/mailname
Normal file
@@ -0,0 +1 @@
|
||||
krov.dmz.rs
|
28
krov/serverko/opensmtpd12/etc/smtpd.conf
Normal file
28
krov/serverko/opensmtpd12/etc/smtpd.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
# $OpenBSD: smtpd.conf,v 1.10 2018/05/24 11:40:17 gilles Exp $
|
||||
|
||||
# This is the smtpd server system-wide configuration file.
|
||||
# See smtpd.conf(5) for more information.
|
||||
|
||||
table sendcreds file:/etc/sendcreds
|
||||
table aliases file:/etc/aliases
|
||||
|
||||
filter "dkimsign" proc-exec "filter-dkimsign -d krov.dmz.rs -s selector1 -k /etc/dkim/selector1.private"
|
||||
|
||||
pki krov.dmz.rs cert "/etc/letsencrypt/live/krov.dmz.rs/fullchain.pem"
|
||||
pki krov.dmz.rs key "/etc/letsencrypt/live/krov.dmz.rs/privkey.pem"
|
||||
|
||||
# To accept external mail, replace with: listen on all
|
||||
#
|
||||
listen on eth0
|
||||
listen on eth0 port 587 auth sendcreds tls-require pki "krov.dmz.rs" filter "dkimsign"
|
||||
|
||||
#action "local" maildir alias <aliases>
|
||||
action "relay" relay
|
||||
action "backup" relay backup
|
||||
|
||||
# Uncomment the following to accept external mail for domain "example.org"
|
||||
#
|
||||
# match from any for domain "example.org" action "local"
|
||||
#match for local action "local"
|
||||
match from any for domain dmz.rs action "backup"
|
||||
match from auth for any action "relay"
|
Reference in New Issue
Block a user