smtprelay: breaking changes
This commit is contained in:
parent
71115becbd
commit
4960a0af76
10 changed files with 139 additions and 19 deletions
17
smtprelay/opensmtpd/smtpd.conf
Normal file
17
smtprelay/opensmtpd/smtpd.conf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
pki smtprelay.abzw.de cert "/etc/smtpd/tls/smtprelay.abzw.de.crt"
|
||||
pki smtprelay.abzw.de key "/etc/smtpd/tls/smtprelay.abzw.de.key"
|
||||
|
||||
table creds file:/etc/smtpd/creds
|
||||
|
||||
filter "dkimsign" proc-exec "filter-dkimsign -d abzw.de -d codehal.de -s lok01 -k /etc/smtpd/dkim_rsa4096.key" user dkimsign group dkimsign
|
||||
|
||||
listen on eth0 port 587 tls-require pki smtprelay.abzw.de auth <creds>
|
||||
listen on 127.0.0.1 port 10027 tag DKIM_SIGNED filter "dkimsign"
|
||||
|
||||
action "relay_dkim" relay host smtp://127.0.0.1:10027
|
||||
action "send" relay
|
||||
|
||||
match tag DKIM_SIGNED for any action "send"
|
||||
match from mail-from "@abzw.de" auth for any action "relay_dkim"
|
||||
match from mail-from "@codehal.de" auth for any action "relay_dkim"
|
||||
match from any auth for any action "send"
|
||||
Loading…
Add table
Add a link
Reference in a new issue