Add dmarc quarantine to arnied helper
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Tue, 24 Jun 2025 11:55:00 +0000 (13:55 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Tue, 24 Jun 2025 11:56:49 +0000 (13:56 +0200)
src/arnied_wrapper.py

index c9f3683..a6c08dd 100644 (file)
@@ -286,7 +286,7 @@ def wait_for_quarantine_processing(vm_session: Any = None, max_wait: int = 30) -
             raise RuntimeError(f"{cmd} returned {status} and output: {output}")
 
     n_sleep = 0
-    for quarantine in ("spam", "attachment", "virus"):
+    for quarantine in ("spam", "attachment", "virus", "dmarc"):
         for subdir in ("q-in", "q-tmp"):
             try:
                 full_dir = f"/datastore/quarantine/{quarantine}/{subdir}/"