-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
83 lines (83 loc) · 2.56 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: "SMTP Email Aggregator MQTT"
version: "1.0.3"
slug: "smtp_email_aggregator_mqtt"
init: false
description: "SMTP server that aggregates and relays emails"
url: "https://github.com/yourusername/smtp_email_aggregator_addon"
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
startup: application
boot: auto
ports:
5025/tcp: 5025
host_network: true
services:
- mqtt:need
schema:
smtp_mode: "list(production|mailpit)"
smtp_config_mailpit_host: "str?"
smtp_config_mailpit_port: "port?"
smtp_config_outgoing_host: "str?"
smtp_config_outgoing_port: "port?"
smtp_config_outgoing_secure: "bool?"
smtp_config_outgoing_auth_user: "str?"
smtp_config_outgoing_auth_pass: "password?"
incoming_host: "str"
incoming_port: "port"
aggregate_subject: "str"
aggregate_body_text: "str"
aggregate_wait_minutes: "int(1,60)"
aggregate_check_seconds: "int(1,60)"
queue_threads: "int(1,10)"
queue_poll_seconds: "int(1,60)"
queue_retry_count: "int(1,10)"
queue_pause_minutes: "int(1,60)"
postfix_enabled: "bool?"
postfix_relay_host: "str?"
postfix_sasl_auth_enabled: "bool?"
mqtt_error_topic: "str"
mqtt_stats_topic: "str"
mqtt_stats_interval: "int(60,3600)"
postfix_sasl_security_options: "str?"
postfix_tls_security_level: "str?"
mqtt_error_topic: "str"
mqtt_stats_topic: "str"
mqtt_stats_interval: "int(60,3600)"
log_level: "list(trace|debug|info|notice|warning|error|fatal)"
options:
mqtt_error_topic: "smtp_aggregator/errors"
mqtt_stats_topic: "smtp_aggregator/stats"
mqtt_stats_interval: 300
smtp_mode: "mailpit"
smtp_config_mailpit_host: "192.168.0.188"
smtp_config_mailpit_port: 1025
smtp_config_outgoing_host: "smtp.example.com"
smtp_config_outgoing_port: 587
smtp_config_outgoing_secure: false
smtp_config_outgoing_auth_user: ""
smtp_config_outgoing_auth_pass: ""
incoming_host: "0.0.0.0"
incoming_port: 5025
aggregate_subject: "Consolidated Invoice and Statement for {name}"
aggregate_body_text: "Dear {name},\n\nPlease find attached your latest invoices and statement.\n\nThank you for your business."
aggregate_wait_minutes: 5
aggregate_check_seconds: 10
queue_threads: 3
queue_poll_seconds: 5
queue_retry_count: 5
queue_pause_minutes: 1
mqtt_error_topic: "smtp_aggregator/errors"
mqtt_stats_topic: "smtp_aggregator/stats"
mqtt_stats_interval: 300
log_level: "info"
mqtt:
discovery_prefix: "homeassistant" # For HA discovery
device_name: "SMTP Email Aggregator"
device_id: "smtp_email_aggregator"
status_topic: "smtp_aggregator/status"
available_payload: "online"
unavailable_payload: "offline"