a1a276e002
Implement an mbox backend worker. Worker can be used for testing and development by mocking a backend for the message store. Worker does not modify the actual mbox file on disk; all operations are performed in memory. To use the mbox backend, create an mbox account in the accounts.conf where the source uses the "mbox://" scheme, such as source = mbox://~/mbox/ or source = mbox://~/mbox/file.mbox If the mbox source points to a directory, all files in this directory with the .mbox suffix will be opened as folders. If an outgoing smtp server is defined for the mbox account, replies can be sent to emails that are stored in the mbox file. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
9 lines
195 B
Go
9 lines
195 B
Go
package worker
|
|
|
|
// the following workers are always enabled
|
|
import (
|
|
_ "git.sr.ht/~rjarry/aerc/worker/imap"
|
|
_ "git.sr.ht/~rjarry/aerc/worker/maildir"
|
|
|
|
_ "git.sr.ht/~rjarry/aerc/worker/mbox"
|
|
)
|