Skip to main content

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]​

KeyDefaultDescription
enable_nodenoRun as an LXMF propagation node (Offline Inbox). --propagation-node also enables this.
node_name(unset)Display name announced to peers.
announce_interval360Minutes between propagation-node announces.
announce_at_startyesAnnounce the propagation node on startup.
autopeeryesAutomatically peer with discovered propagation nodes.
autopeer_maxdepth6Maximum hop distance for automatic peering.
message_storage_limit500Disk cap for stored messages, in MB (evicts largest/oldest first when full).
propagation_message_max_accepted_size256Max accepted size per single propagated message, in KB.
propagation_sync_max_accepted_size10240Max accepted transfer size per inbound propagation sync, in KB.
propagation_stamp_cost_target16.0Target PoW stamp cost for messages delivered through this node.
propagation_stamp_cost_flexibility3.0How far below target a message forwarded by another propagation node may be.
propagation_stamp_throttle5Minutes to throttle a peer delivering under-stamped messages (minimum 5).
peering_cost18.0Required peering key cost for remote nodes to peer with this node.
remote_peering_cost_max26.0Highest remote peering cost this node will spend CPU to meet.
max_peers20Max 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_onlynoAccept inbound propagation messages only from static_peers.
sequential_pn_stamp_validationyesValidate peer sync stamp batches sequentially (throttles concurrent offers).
static_peers_bypass_sequentialyesAllow static_peers to bypass sequential stamp validation.
max_inbound_syncs3Concurrent inbound propagation syncs allowed (1 recommended on slow hardware).
auth_requirednoRequire 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.
  • allowed file: One 32-character identity hash per line inside the lxmd-rs config directory. With auth_required = yes, an empty allowed file denies all client retrieval.
  • ignored file: One destination hash per line to drop messages from abusive senders.

[lxmf]​

KeyDefaultDescription
display_nameAnonymous PeerDisplay name for this LXMF delivery peer.
announce_at_startnoAnnounce the local LXMF delivery destination on startup.
announce_interval(off)Minutes between local LXMF delivery announces.
stamp_cost12Advertised stamp cost for incoming direct messages (minimum 1, fractional allowed). Enforced only if [propagation] enforce_stamps = yes.
delivery_transfer_max_accepted_size1Max 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]​

KeyDefaultDescription
loglevel4 (starter file) / 3 (unset)Verbosity 0–8.

Keys only lxmd-rs reads​

Python lxmd ignores these lxmd-rs extensions:

KeyDescription
[propagation] outbound_nodePropagation node hash used for this daemon's own outbound/inbound propagation (also added as a static peer).
[propagation] propagation_stamp_costAlias for propagation_stamp_cost_target (which takes precedence if both are set).
[propagation] propagation_limitAlias for propagation_message_max_accepted_size in KB (which takes precedence if both are set).
[propagation] enforce_stampsReject direct inbound messages to this daemon below [lxmf] stamp_cost (off by default; separate from Reticulum's [stamps] enforce_stamps).
[control] auth_requiredAlias for [propagation] auth_required (controls client retrieval allowlist, not admin access).
[control] allowedAlias 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/identity fallback 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​