Offline Inbox node (lxmd-rs)
Run lxmd-rs alongside rnsd-rs to host a dedicated store-and-forward LXMF propagation node (called Offline Inbox in Ratspeak).
1. Prerequisites
Start rnsd-rs first with share_instance = yes (see VPS & public backbone). lxmd-rs attaches to rnsd-rs over the local shared instance so both daemons share one set of network interfaces.
2. Create ~/.rsLXMF/config
Inspect all defaults anytime with lxmd-rs --exampleconfig. A solid production starting config:
[propagation]
enable_node = yes
node_name = Example Offline Inbox
announce_at_start = yes
announce_interval = 360
autopeer = yes
autopeer_maxdepth = 6
# Storage & payload limits
message_storage_limit = 500
propagation_message_max_accepted_size = 256
propagation_sync_max_accepted_size = 10240
# Spam & sync controls
propagation_stamp_cost_target = 16.0
propagation_stamp_cost_flexibility = 3.0
propagation_stamp_throttle = 5
peering_cost = 18.0
remote_peering_cost_max = 26.0
max_peers = 20
max_inbound_syncs = 3
sequential_pn_stamp_validation = yes
# Optional: restrict retrieval to ~/.rsLXMF/allowed or allow remote admin
auth_required = no
# control_allowed = <admin_identity_hash>
[lxmf]
display_name = Example Node
announce_at_start = no
[logging]
loglevel = 4
3. First test run and Offline Inbox address
lxmd-rs --config ~/.rsLXMF --rnsconfig ~/.rsReticulum --propagation-node
Derive the 32-character propagation destination hash (this is the Offline Inbox address users paste into Ratspeak — it differs from the raw identity hash and from lxmf.delivery):
rnid-rs -i ~/.rsLXMF/identity -H lxmf.propagation
Test by pinning that hash in Ratspeak (Settings → Offline Inbox → Manual), sending a message to an offline recipient, and confirming pickup when they reconnect.
4. Production systemd unit (with rnsd-rs readiness check)
rnsd-rs before starting lxmd-rsIf rnsd-rs is not listening yet, lxmd-rs (or lxmd-rs --status) will start its own shared instance and claim the interfaces — causing a later rnsd-rs to attach as a client instead. Use rnstatus-rs in ExecStartPre: it never starts an instance and exits non-zero until rnsd-rs is ready.
Create /etc/systemd/system/lxmd-rs.service running as the same user as rnsd-rs (so it can read storage/transport_identity for the shared-instance RPC key):
[Unit]
Description=LXMF Propagation Daemon (lxmd-rs)
Requires=rnsd-rs.service
After=rnsd-rs.service
[Service]
Type=simple
User=operator
ExecStartPre=/bin/sh -c 'until /usr/local/bin/rnstatus-rs --config /home/operator/.rsReticulum >/dev/null 2>&1; do sleep 2; done'
ExecStart=/usr/local/bin/lxmd-rs --config /home/operator/.rsLXMF --rnsconfig /home/operator/.rsReticulum --service
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now lxmd-rs
5. Day-2 operations & backups
# Check status and peers locally
sudo -u operator lxmd-rs --config /home/operator/.rsLXMF --rnsconfig /home/operator/.rsReticulum --status
sudo -u operator lxmd-rs --config /home/operator/.rsLXMF --rnsconfig /home/operator/.rsReticulum --peers
# Remote administration (when control_allowed includes your admin_id hash)
lxmd-rs --remote <pn_hash> --identity ~/.rsReticulum/admin_id --status
lxmd-rs --remote <pn_hash> --identity ~/.rsReticulum/admin_id --sync <peer_pn_hash>
Back up both ~/.rsReticulum and ~/.rsLXMF (which holds its own identity, message store, and storage/lxmf/state.db) after stopping the services cleanly.
Next steps
- Harden stamp and sync thresholds in Hardening, Firewalls, and Anti-flood.
- See every
lxmd-rskey (includinglxmd-rsextensions) inlxmd-rsconfig reference.