haraka-plugin-bounce
Version:
Provide multiple configurable strategies to detect, validate, and process email bounces
52 lines (36 loc) • 1.21 kB
Plain Text
[validation]
; Maximum age in days for accepting bounces
max_hash_age_days=6
; Algorithm used for hash generation
hash_algorithm=sha256
; Secret key for hash generation (create with openssl rand -base64 32)
; secret=your_generated_secret_here
[check]
; Check that bounce has only one recipient (RFC compliant)
; single_recipient=true
; Check for empty Return-Path header
; empty_return_path=false
; Check SPF on the IPs found in the bounce
; bounce_spf=true
; Enable hash validation for outbound mail and verification for inbound bounces
; hash_validation=false
; Check if the bounce is newer than max_hash_age_days
; hash_date=true
[reject]
; Reject bounces with multiple recipients
; single_recipient=true
; Reject bounces with non-empty Return-Path
; empty_return_path=false
; Reject bounces that fail SPF validation
; bounce_spf=false
; Reject bounces to addresses in bounce_bad_rcpt
; bad_rcpt=true
; Reject all bounces (extreme measure)
; all_bounces=false
; Reject bounces with invalid/missing validation hash
; hash_validation=false
; Reject bounces older than max_hash_age_days
; hash_date=false
[skip]
; Skip remaining plugins when bounce passes validation
; remaining_plugins=false