Initial commit
This commit is contained in:
commit
efc38e161c
10 changed files with 3455 additions and 0 deletions
26
advanced_sample_config.yaml
Normal file
26
advanced_sample_config.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
# This config file will make matrixmailer
|
||||
# - Bind the SMTP server on 1.2.3.4:2525
|
||||
# - Reject receiving mail that is not sent to one of the email addresses in the whitelist
|
||||
# - Forward all received mails
|
||||
# - that were sent to warning@mydomain.com to the "warning" room using "@secondbot:example.com"
|
||||
# - that were sent to critical@mydomain.com to the "important" room using "@firstbot:example.com"
|
||||
# - ignore any other received mail
|
||||
|
||||
---
|
||||
bind_address: "1.2.3.4"
|
||||
bind_port: "2525"
|
||||
receiver_whitelist:
|
||||
- "warning@mydomain.com"
|
||||
- "critical@mydomain.com"
|
||||
clients:
|
||||
- mxid: "@firstbot:example.com"
|
||||
password: "p@ssw0rd"
|
||||
- mxid: "@secondbot:example.com"
|
||||
password: "pwd"
|
||||
mappings:
|
||||
- to: "warning@mydomain.com"
|
||||
sender_mxid: "@secondbot:example.com"
|
||||
room_id: "!idofWARNINGroomyoucreatedbefore:example.com"
|
||||
- to: "critical@mydomain.com"
|
||||
sender_mxid: "@firstbot:example.com"
|
||||
room'id: "!idofIMPORTANTroomyoucreatedbefore:example.com"
|
Loading…
Add table
Add a link
Reference in a new issue