Skip to main content

Storage & Settings

Subscriber Files

FileSchemaPurpose
email-subscriber-id86net.csvtimestamp,name,email,ipValid subscribers after Reoon pass
failed-verifications.csvtimestamp,name,email,ip,reasonRejected or failed verification attempts (created on demand)

Both files live at:

/home/Dmg59ZFtKg6bIws1/id86-subscribers/

The directory is outside the WordPress webroot. An index.php file is auto-created to prevent directory listing.

Both files are synced every 15 minutes to /home/rezriz/github/subscriber/id86.net/ on GSM16 via sync-subscribers.sh (rsync, */15 cron). failed-verifications.csv only appears once an email actually fails verification.

WordPress Options

Configuration is stored in the wp_options table and can be managed under Settings → General → ID86 Email Subscription.

OptionTypeExample Value
id86_reoon_api_keytext<redacted — see ~/.ssh/reoon/.env>
id86_smtp_hosttextmail.opshell.dev
id86_smtp_portinteger587
id86_smtp_usernametextno-reply@id86.net
id86_smtp_passwordpassword(masked in UI)
id86_smtp_from_emailemailno-reply@id86.net
id86_smtp_from_nametextID86
id86_subscribe_telegram_bot_tokentextShared subscriber bot (opshell) token
id86_subscribe_telegram_chat_idtextShared subscriber_notification group ID

The Reoon API key value is stored in the credential store at ~/.ssh/reoon/.env (REOON_API_KEY), not in this documentation.

SMTP Configuration

The SMTP server runs Docker Mail Server on GSM16 (mail.opshell.dev). The no-reply@id86.net account was added for outbound email sending.

SPF and MX DNS records were configured for id86.net:

  • SPF: v=spf1 a mx include:opshell.dev ~all
  • MX: mail.opshell.dev (priority 10)

Managing Settings via WP-CLI

# View current values
wp option get id86_reoon_api_key
wp option get id86_smtp_host

# Update a value
wp option update id86_reoon_api_key "$(source ~/.ssh/reoon/.env && printf '%s' "$REOON_API_KEY")"

Security

  • Never commit these values to documentation, Git history, screenshots, or support tickets.
  • The Reoon API key lives in ~/.ssh/reoon/.env (mode 600, outside any Git repo) and is shared with opshell.dev.
  • The SMTP password is stored in plaintext in wp_options; restrict WordPress admin access accordingly.