-
Notifications
You must be signed in to change notification settings - Fork 312
Open
Labels
bugSomething isn't working.Something isn't working.ready-for-releaseFeature is implemented and available for testing in dev branch. It will be included in the next releFeature is implemented and available for testing in dev branch. It will be included in the next rele
Description
Describe the bug
I just rebuilt maddy on Arch with Go 1.26.1 and had issues to start it:
Mar 07 14:37:30 w-mxs systemd[1]: Starting maddy mail server...
Mar 07 14:37:30 w-mxs maddy[7514]: table.file: ignoring non-existent file: /etc/maddy/aliases
Mar 07 14:37:30 w-mxs maddy[7514]: imapsql: using transpiled SQLite (modernc.org/sqlite), this is experimental
Mar 07 14:37:30 w-mxs maddy[7514]: smtp: listening on tcp://0.0.0.0:25
Mar 07 14:37:30 w-mxs maddy[7514]: failed to open db: sql: unknown driver "sqlite3" (forgotten import?)
Mar 07 14:37:30 w-mxs systemd[1]: maddy.service: Main process exited, code=exited, status=1/FAILURE
Mar 07 14:37:30 w-mxs systemd[1]: maddy.service: Failed with result 'exit-code'.
Mar 07 14:37:30 w-mxs systemd[1]: Failed to start maddy mail server.
Turns out, that the driver is no longer called sqlite3, but sqlite - after changing the configuration in /etc/maddy/maddy.conf from:
auth.pass_table local_authdb {
table sql_table {
driver sqlite3
dsn credentials.db
table_name passwords
}
}
to
auth.pass_table local_authdb {
table sql_table {
driver sqlite
dsn credentials.db
table_name passwords
}
}
the server started successfully
Mar 07 14:37:58 w-mxs systemd[1]: Starting maddy mail server...
Mar 07 14:37:58 w-mxs maddy[7586]: table.file: ignoring non-existent file: /etc/maddy/aliases
Mar 07 14:37:58 w-mxs maddy[7586]: imapsql: using transpiled SQLite (modernc.org/sqlite), this is experimental
Mar 07 14:37:58 w-mxs maddy[7586]: smtp: listening on tcp://0.0.0.0:25
Mar 07 14:37:58 w-mxs maddy[7586]: modify.dkim: generating a new rsa2048 keypair...
Mar 07 14:37:59 w-mxs maddy[7586]: modify.dkim: generated a new rsa2048 keypair, private key is in dkim_keys/wiora.net_default.key, TXT record with public key is in dkim_keys/wiora.net_default.dns,
Mar 07 14:37:59 w-mxs maddy[7586]: put its contents into TXT record for default._domainkey.wiora.net to make signing and verification work
Mar 07 14:37:59 w-mxs maddy[7586]: submission: listening on tls://0.0.0.0:465
Mar 07 14:37:59 w-mxs maddy[7586]: submission: listening on tcp://0.0.0.0:587
Mar 07 14:37:59 w-mxs maddy[7586]: imap: failed to initialize updates pipe {"reason":"imapsql: driver does not have an update pipe implementation"}
Mar 07 14:37:59 w-mxs maddy[7586]: imap: listening on tls://0.0.0.0:993
Mar 07 14:37:59 w-mxs maddy[7586]: imap: listening on tcp://0.0.0.0:143
Steps to reproduce
- build from from scratch
- try to start maddy
Environment information
- maddy version: 0.8.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working.Something isn't working.ready-for-releaseFeature is implemented and available for testing in dev branch. It will be included in the next releFeature is implemented and available for testing in dev branch. It will be included in the next rele