secubox-openwrt/package/secubox/luci-app-smtp-relay/root/usr/share/rpcd/acl.d/luci-app-smtp-relay.json
CyberMind-FR a345c16425 feat(smtp-relay): Add unified SMTP relay configuration
- New secubox-app-smtp-relay package with centralized SMTP config
- Shared library with send_mail(), send_html_mail(), send_text_mail()
- CLI: smtp-relayctl with status/test/send/configure/admin commands
- RPCD: 5 methods for LuCI integration
- LuCI settings page with mode selection and test button
- Modes: external (SMTP server), local (auto-detect mailserver), direct
- Migrated reporter and bandwidth-manager to use shared library
- Backwards-compatible fallback to legacy per-app config

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-15 16:01:12 +01:00

25 lines
373 B
JSON

{
"luci-app-smtp-relay": {
"description": "Grant access to SMTP Relay configuration",
"read": {
"ubus": {
"luci.smtp-relay": [
"get_status",
"get_config",
"detect_local"
]
},
"uci": ["smtp-relay"]
},
"write": {
"ubus": {
"luci.smtp-relay": [
"test_email",
"send_email"
]
},
"uci": ["smtp-relay"]
}
}
}