nextcloud: Run an SMTP relay locally
For some reason, Nextcloud seems to have trouble sending mail via the network-wide relay. It opens a connection, then just sits there and never sends anything until it times out. This happens probably 4 out of 5 times it attempts to send e-mail messages. Running Postfix locally and directing Nextcloud to send mail through it and then on to the network-wide relay seems to work much more reliably.master
parent
1a3f68e18b
commit
57a5f83262
|
@ -10,7 +10,7 @@ nextcloud_trusted_domains:
|
||||||
- '{{ ansible_fqdn }}'
|
- '{{ ansible_fqdn }}'
|
||||||
nextcloud_smtp:
|
nextcloud_smtp:
|
||||||
from: nextcloud@pyrocufflink.net
|
from: nextcloud@pyrocufflink.net
|
||||||
host: mail.pyrocufflink.blue
|
host: 127.0.0.1
|
||||||
port: 25
|
port: 25
|
||||||
dnf_automatic_exclude: nextcloud
|
dnf_automatic_exclude: nextcloud
|
||||||
|
|
||||||
|
@ -52,3 +52,8 @@ promtail_scrape_configs:
|
||||||
- timestamp:
|
- timestamp:
|
||||||
source: timestamp
|
source: timestamp
|
||||||
format: '2006-01-02T15:04:05-0700'
|
format: '2006-01-02T15:04:05-0700'
|
||||||
|
|
||||||
|
smtp:
|
||||||
|
mode: relay
|
||||||
|
host: mail.pyrocufflink.blue
|
||||||
|
port: 25
|
||||||
|
|
Loading…
Reference in New Issue