# drift whitelabel-filter Configuration # Email header rewriting for CommuniGate Pro — removes CGP branding from outgoing messages # Brand name replaces "(CommuniGate Pro SMTP 6.x)" in Received headers brand_name=SMTP # Message-ID prefix replaces "ximss-" (e.g. ) messageid_prefix=msg- # X-Mailer replacement (empty = strip the header entirely) xmailer_replacement= # Rewrite queue files: true = modify headers, false = dry run (log only) # Set to false first to verify what would change before enabling modify_files=true # Headers to strip entirely (comma-separated, case-insensitive prefix match) # Any header whose name starts with one of these prefixes will be removed strip_headers=X-TFF-CGPSA,X-ExtScanner,X-AttachExt,X-MIME-Autoconverted # Hostname replacement map: old:new pairs (comma-separated) # Replaces internal hostnames across ALL header values (Received, Message-ID, etc.) # Useful when internal hostname differs from public MX record # Example: hostname_map=internal.mail.local:mail.example.com hostname_map= # CGP base directory (used to resolve relative queue file paths from CGP) # Windows: C:\CommuniGate Files Linux: /var/CommuniGate cgp_base_dir=C:\CommuniGate Files # Log directory (empty = same directory as the helper binary) log_dir= # Log level: 0=none, 1=error, 2=warn, 3=info, 4=debug log_level=3