2024-10-29 21:43:05 +00:00
|
|
|
resource "random_password" "mailcow_service_passwords" {
|
|
|
|
for_each = local.services_mail
|
|
|
|
length = 32
|
|
|
|
special = false
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "mailcow_mailbox" "services" {
|
|
|
|
for_each = local.services_mail
|
|
|
|
domain = "serguzim.me"
|
|
|
|
full_name = each.value.mail
|
|
|
|
local_part = each.value.mail
|
|
|
|
password = random_password.mailcow_service_passwords[each.key].result
|
2024-11-09 01:32:41 +00:00
|
|
|
force_pw_update = false
|
2024-10-29 21:43:05 +00:00
|
|
|
imap_access = false
|
|
|
|
pop3_access = false
|
|
|
|
sogo_access = false
|
|
|
|
quota = 128
|
|
|
|
}
|