POSTSRSD_SRS_DOMAIN (required, e.g., srs.cc.com - the domain used for SRS rewriting)
POSTSRSD_SECRETS (content for secrets file - one secret per line, or use POSTSRSD_SECRETS__FILE for Docker secrets) POSTSRSD_LOCAL_DOMAINS (e.g., ac.com,bc.com - comma-separated list of domains that should NOT be rewritten)
POSTSRSD_SEPARATOR (default: = - SRS tag separator: =|+|-) POSTSRSD_HASH_LENGTH (default: 4 - SRS hash signature length) POSTSRSD_HASH_MINIMUM (default: 4 - minimum acceptable hash signature length)
POSTSRSD_KEEP_ALIVE (default: 30 - socketmap connection keep-alive timeout in seconds)
POSTSRSD_ORIGINAL_ENVELOPE (default: embedded - how to store original sender: embedded|database) POSTSRSD_ENVELOPE_DATABASE (default: empty - database for envelope storage, e.g., sqlite:./senders.db or redis:host:port)
POSTSRSD_ALWAYS_REWRITE (default: off - force rewrite even for already-rewritten addresses) POSTSRSD_DEBUG (default: off - enable verbose debug logging)
The following values are hardcoded in the Docker container configuration:
/var/lib/postsrsd volume)embedded mode is recommended for most use cases (stateless, limits to 51 char senders)database mode requires SQLite/Redis and removes length restrictionsContent type
Image
Digest
sha256:c443e8a6c…
Size
21.9 MB
Last updated
11 days ago
docker pull anthochamp/postsrsd