forked from Deuxfleurs/nixcfg
configuration for imap.deuxfleurs.fr & smtp.deuxfleurs.fr as part of email service for d53 + convert tabs into spaces (couldn't help myself)
This commit is contained in:
parent
81d3c0e03a
commit
fe2eda1702
1 changed files with 12 additions and 10 deletions
|
@ -63,6 +63,7 @@ job "email" {
|
|||
port = "imap_port"
|
||||
tags = [
|
||||
"dovecot"
|
||||
"d53-a imap.deuxfleurs.fr",
|
||||
]
|
||||
check {
|
||||
type = "tcp"
|
||||
|
@ -281,9 +282,10 @@ job "email" {
|
|||
tags = [
|
||||
"postfix",
|
||||
"(diplonat (tcp_port 25 465 587))",
|
||||
"d53-a email-in.deuxfleurs.fr",
|
||||
# ipv6 is commented for now as port is not open in firewall (TODO)
|
||||
# "d53-aaaa email-in.deuxfleurs.fr"
|
||||
"d53-a email-in.deuxfleurs.fr",
|
||||
"d53-a smtp.deuxfleurs.fr",
|
||||
# ipv6 is commented for now as port is not open in firewall (TODO)
|
||||
# "d53-aaaa email-in.deuxfleurs.fr"
|
||||
]
|
||||
check {
|
||||
type = "tcp"
|
||||
|
@ -409,12 +411,12 @@ job "email" {
|
|||
readonly_rootfs = true
|
||||
ports = [ "alps_web_port" ]
|
||||
args = [
|
||||
"-skiptlsverification",
|
||||
"-theme",
|
||||
"alps",
|
||||
"imaps://imap.deuxfleurs.fr:993",
|
||||
"smtps://smtp.deuxfleurs.fr:465"
|
||||
]
|
||||
"-skiptlsverification",
|
||||
"-theme",
|
||||
"alps",
|
||||
"imaps://imap.deuxfleurs.fr:993",
|
||||
"smtps://smtp.deuxfleurs.fr:465"
|
||||
]
|
||||
}
|
||||
|
||||
resources {
|
||||
|
@ -463,7 +465,7 @@ job "email" {
|
|||
readonly_rootfs = false
|
||||
ports = [ "sogo_web_port" ]
|
||||
volumes = [
|
||||
"secrets/sogo.conf:/etc/sogo/sogo.conf",
|
||||
"secrets/sogo.conf:/etc/sogo/sogo.conf",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue