Stalwart: Difference between revisions
Update example config for new version |
Cleanup default config |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
services.stalwart-mail = { | services.stalwart-mail = { | ||
enable = true; | enable = true; | ||
openFirewall = true; | openFirewall = true; | ||
settings = { | settings = { | ||
| Line 30: | Line 29: | ||
bind = "[::]:465"; | bind = "[::]:465"; | ||
protocol = "smtp"; | protocol = "smtp"; | ||
tls.implicit = true | |||
}; | }; | ||
imaps = { | imaps = { | ||
bind = "[::]:993"; | bind = "[::]:993"; | ||
protocol = "imap"; | protocol = "imap"; | ||
tls.implicit = true | |||
}; | }; | ||
jmap = { | jmap = { | ||
bind = "[::]:8080"; | bind = "[::]:8080"; | ||
url = "https://mail.example.org"; | url = "https://mail.example.org"; | ||
protocol = " | protocol = "http"; | ||
}; | }; | ||
management = { | management = { | ||
| Line 64: | Line 65: | ||
storage.directory = "in-memory"; | storage.directory = "in-memory"; | ||
session.rcpt.directory = "'in-memory'"; | session.rcpt.directory = "'in-memory'"; | ||
directory."imap".lookup.domains = [ "example.org" ]; | directory."imap".lookup.domains = [ "example.org" ]; | ||
directory."in-memory" = { | directory."in-memory" = { | ||