Replace dmarc report viewer
This commit is contained in:
parent
c4d26d3a41
commit
3a84ffb9e7
3 changed files with 10 additions and 45 deletions
|
@ -1,56 +1,20 @@
|
|||
---
|
||||
dmarc_report_db_host: "{{ postgres.host }}"
|
||||
dmarc_report_db_port: "{{ postgres.port }}"
|
||||
dmarc_report_db_type: "pgsql"
|
||||
dmarc_report_db_name: "{{ opentofu.postgresql_data.dmarc_report.database }}"
|
||||
dmarc_report_db_user: "{{ opentofu.postgresql_data.dmarc_report.user }}"
|
||||
dmarc_report_db_pass: "{{ opentofu.postgresql_data.dmarc_report.pass }}"
|
||||
|
||||
dmarc_report_imap_user: "{{ opentofu.mailcow_data.dmarc_report.address }}"
|
||||
dmarc_report_imap_pass: "{{ opentofu.mailcow_data.dmarc_report.password }}"
|
||||
dmarc_report_imap_server: "{{ mailer.host }}"
|
||||
dmarc_report_imap_port: "993"
|
||||
dmarc_report_imap_read_folder: "Inbox"
|
||||
dmarc_report_imap_move_folder: "processed"
|
||||
dmarc_report_imap_move_folder_err: "error"
|
||||
|
||||
dmarc_report_imap_ssl: true
|
||||
dmarc_report_imap_tls: false
|
||||
dmarc_report_imap_host: "{{ mailer.host }}"
|
||||
|
||||
dmarc_report_svc:
|
||||
domain: "{{ all_services | service_get_domain(role_name) }}"
|
||||
port: 80
|
||||
port: 8080
|
||||
caddy_extra: import vpn_only
|
||||
|
||||
dmarc_report_env:
|
||||
REPORT_DB_HOST: "{{ dmarc_report_db_host }}"
|
||||
REPORT_DB_TYPE: "{{ dmarc_report_db_type }}"
|
||||
REPORT_DB_PORT: "{{ dmarc_report_db_port }}"
|
||||
REPORT_DB_NAME: "{{ dmarc_report_db_name }}"
|
||||
REPORT_DB_USER: "{{ dmarc_report_db_user }}"
|
||||
REPORT_DB_PASS: "{{ dmarc_report_db_pass }}"
|
||||
PGSSLMODE: require
|
||||
PGSSLCERT: /tmp/postgresql.crt
|
||||
|
||||
PARSER_IMAP_USER: "{{ dmarc_report_imap_user }}"
|
||||
PARSER_IMAP_PASS: "{{ dmarc_report_imap_pass }}"
|
||||
PARSER_IMAP_SERVER: "{{ dmarc_report_imap_server }}"
|
||||
PARSER_IMAP_PORT: "{{ dmarc_report_imap_port }}"
|
||||
PARSER_IMAP_READ_FOLDER: "{{ dmarc_report_imap_read_folder }}"
|
||||
PARSER_IMAP_MOVE_FOLDER: "{{ dmarc_report_imap_move_folder }}"
|
||||
PARSER_IMAP_MOVE_FOLDER_ERR: "{{ dmarc_report_imap_move_folder_err }}"
|
||||
|
||||
PARSER_IMAP_SSL: "{{ 1 if dmarc_report_imap_ssl else 0 }}"
|
||||
PARSER_IMAP_TLS: "{{ 1 if dmarc_report_imap_tls else 0 }}"
|
||||
|
||||
# Ignore ERROR: message_string() issue experienced with Exchange Online. Set to 1 to enable
|
||||
PARSER_IMAP_IGNORE_ERROR: 0
|
||||
|
||||
# Increase the maximum size of the XML file. (default is 50000 bytes)
|
||||
# When the size exceeds the maximum, one could experience an error Uncaught ValueError: DOMDocument::loadXML():
|
||||
# Argument #1 ($source) must not be empty.
|
||||
PARSER_XML_MAXSIZE: 50000
|
||||
HTTP_SERVER_PORT: "{{ dmarc_report_svc.port }}"
|
||||
HTTP_SERVER_PASSWORD: ""
|
||||
IMAP_USER: "{{ dmarc_report_imap_user }}"
|
||||
IMAP_PASSWORD: "{{ dmarc_report_imap_pass }}"
|
||||
IMAP_HOST: "{{ dmarc_report_imap_host }}"
|
||||
|
||||
dmarc_report_compose:
|
||||
watchtower: update
|
||||
image: "gutmensch/dmarc-report:latest"
|
||||
image: "ghcr.io/cry-inc/dmarc-report-viewer"
|
||||
|
|
|
@ -10,6 +10,7 @@ icon_overrides = {
|
|||
"acme_dns": "lets-encrypt",
|
||||
"backup": "restic",
|
||||
"deploy": "adnanh-webhook",
|
||||
"dmarc_report": None,
|
||||
"extra_services": None,
|
||||
"forgejo_runner": "forgejo",
|
||||
"healthcheck": "healthchecks",
|
||||
|
|
|
@ -102,7 +102,7 @@ services = {
|
|||
vpn = true
|
||||
}]
|
||||
auth = false
|
||||
database = true
|
||||
database = false
|
||||
mail = "dmarcreports"
|
||||
mail_smtp = false
|
||||
mail_imap = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue