mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-09 03:52:13 +00:00
550 B
550 B
kumo.define_spool {PARAMS}
Defines a named spool storage backend.
KumoMTA uses separate storage areas for metadata and message contents, named
"meta" and "data" respectively.
This function should be called only from inside your init event handler.
kumo.on('init', function()
kumo.define_spool {
name = 'data',
path = '/var/spool/kumo/data',
}
kumo.define_spool {
name = 'meta',
path = '/var/spool/kumo/meta',
}
end)
PARAMS is a lua table that can accept the keys listed below: