lxmd-rs configuration reference
INI configuration read by lxmd-rs from <config directory>/config (defaults to ~/.rsLXMF/config; override with --config <dir>). Print an annotated starter file with lxmd-rs --exampleconfig.
lxmd-rs parses the same format as Python's lxmd, plus the lxmd-rs extensions noted below. Malformed values or a stamp cost of 100 or higher stop startup rather than falling back silently. With --service, logs go to logfile in the config directory.
[propagation]
| Key | Default | Description |
|---|---|---|
enable_node | no | Run as an LXMF propagation node (Offline Inbox). --propagation-node also enables this. |
node_name | (unset) | Display name announced to peers. |
announce_interval | 360 | Minutes between propagation-node announces. |
announce_at_start | yes | Announce the propagation node on startup. |
autopeer | yes | Automatically peer with discovered propagation nodes. |
autopeer_maxdepth | 6 | Maximum hop distance for automatic peering. |
message_storage_limit | 500 | Disk cap for stored messages, in MB (evicts largest/oldest first when full). |
propagation_message_max_accepted_size | 256 | Max accepted size per single propagated message, in KB. |
propagation_sync_max_accepted_size | 10240 | Max accepted transfer size per inbound propagation sync, in KB. |
propagation_stamp_cost_target | 16.0 | Target PoW stamp cost for messages delivered through this node. |
propagation_stamp_cost_flexibility | 3.0 | How far below target a message forwarded by another propagation node may be. |
propagation_stamp_throttle | 5 | Minutes to throttle a peer delivering under-stamped messages (minimum 5). |
peering_cost | 18.0 | Required peering key cost for remote nodes to peer with this node. |
remote_peering_cost_max | 26.0 | Highest remote peering cost this node will spend CPU to meet. |
max_peers | 20 | Max automatically peered propagation nodes. |
prioritise_destinations | (none) | Comma-separated destination hashes kept first when storage fills. |
static_peers | (none) | Comma-separated propagation-node hashes to always peer with. |
from_static_only | no | Accept inbound propagation messages only from static_peers. |
sequential_pn_stamp_validation | yes | Validate peer sync stamp batches sequentially (throttles concurrent offers). |
static_peers_bypass_sequential | yes | Allow static_peers to bypass sequential stamp validation. |
max_inbound_syncs | 3 | Concurrent inbound propagation syncs allowed (1 recommended on slow hardware). |
auth_required | no | Require clients to identify and appear in the allowed file (separate from control_allowed). |
control_allowed | (none) | Comma-separated identity hashes authorized for remote node administration. |
allowedfile: One 32-character identity hash per line inside thelxmd-rsconfig directory. Withauth_required = yes, an emptyallowedfile denies all client retrieval.ignoredfile: One destination hash per line to drop messages from abusive senders.
[lxmf]
| Key | Default | Description |
|---|---|---|
display_name | Anonymous Peer | Display name for this LXMF delivery peer. |
announce_at_start | no | Announce the local LXMF delivery destination on startup. |
announce_interval | (off) | Minutes between local LXMF delivery announces. |
stamp_cost | 12 | Advertised stamp cost for incoming direct messages (minimum 1, fractional allowed). Enforced only if [propagation] enforce_stamps = yes. |
delivery_transfer_max_accepted_size | 1 | Max accepted direct message transfer size, in KB. |
on_inbound | (unset) | Command executed with the path of each received message file. Treat as security-sensitive. |
[logging]
| Key | Default | Description |
|---|---|---|
loglevel | 4 (starter file) / 3 (unset) | Verbosity 0–8. |
Keys only lxmd-rs reads
Python lxmd ignores these lxmd-rs extensions:
| Key | Description |
|---|---|
[propagation] outbound_node | Propagation node hash used for this daemon's own outbound/inbound propagation (also added as a static peer). |
[propagation] propagation_stamp_cost | Alias for propagation_stamp_cost_target (which takes precedence if both are set). |
[propagation] propagation_limit | Alias for propagation_message_max_accepted_size in KB (which takes precedence if both are set). |
[propagation] enforce_stamps | Reject direct inbound messages to this daemon below [lxmf] stamp_cost (off by default; separate from Reticulum's [stamps] enforce_stamps). |
[control] auth_required | Alias for [propagation] auth_required (controls client retrieval allowlist, not admin access). |
[control] allowed | Alias for [propagation] control_allowed (admin identities; control_allowed wins if both are set). |
Network stamps and storage
lxmd-rs honors [stamps] from its attached Reticulum config. State lives in the config directory:
identity— daemon private key (legacy.lxmf/identityfallback supported)storage/lxmf/state.db— delivered message IDs, stamp costs, and tickets (SQLite format matching LXMF 1.3.x; one-way import from pre-1.5.0 cache files)
Next steps
- Deploy a production node in Offline Inbox (
lxmd-rs). - Tune flood protection in Hardening, Firewalls, and Anti-flood.
- See Reticulum daemon keys in
rnsd-rsconfig reference.