mirror of
https://github.com/chatmail/relay.git
synced 2026-09-22 15:20:10 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e51a9b47b7 |
@@ -354,7 +354,7 @@ class IrohDeployer(Deployer):
|
|||||||
|
|
||||||
class JournaldDeployer(Deployer):
|
class JournaldDeployer(Deployer):
|
||||||
def configure(self):
|
def configure(self):
|
||||||
self.put_file("journald.conf", "/etc/systemd/journald.conf")
|
self.put_file("journald.conf", "/etc/systemd/journald.conf.d/99-volatile-logging.conf")
|
||||||
|
|
||||||
def activate(self):
|
def activate(self):
|
||||||
self.ensure_service("systemd-journald.service")
|
self.ensure_service("systemd-journald.service")
|
||||||
|
|||||||
@@ -56,6 +56,8 @@ mail_server_admin = mailto:{{ config.privacy_mail }}
|
|||||||
# <https://doc.dovecot.org/2.3/configuration_manual/quota_plugin/>
|
# <https://doc.dovecot.org/2.3/configuration_manual/quota_plugin/>
|
||||||
mail_plugins = zlib quota
|
mail_plugins = zlib quota
|
||||||
|
|
||||||
|
imap_capability = +XDELTAPUSH XCHATMAIL
|
||||||
|
|
||||||
|
|
||||||
# Authentication for system users.
|
# Authentication for system users.
|
||||||
passdb {
|
passdb {
|
||||||
|
|||||||
@@ -15,6 +15,13 @@ def test_init(tmp_path, maildomain):
|
|||||||
assert config.mail_domain_bare == maildomain
|
assert config.mail_domain_bare == maildomain
|
||||||
|
|
||||||
|
|
||||||
|
def test_capabilities(imap):
|
||||||
|
imap.connect()
|
||||||
|
capas = imap.conn.capabilities
|
||||||
|
assert "XCHATMAIL" in capas
|
||||||
|
assert "XDELTAPUSH" in capas
|
||||||
|
|
||||||
|
|
||||||
def test_login_basic_functioning(imap_or_smtp, gencreds, lp):
|
def test_login_basic_functioning(imap_or_smtp, gencreds, lp):
|
||||||
"""Test a) that an initial login creates a user automatically
|
"""Test a) that an initial login creates a user automatically
|
||||||
and b) verify we can also login a second time with the same password
|
and b) verify we can also login a second time with the same password
|
||||||
|
|||||||
Reference in New Issue
Block a user