# 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: "#IMPORTANTroomyoucreatedbefore:example.com"