Quellcode durchsuchen

add handling of UNREGISTERED (drop mail on cropswap-members group)

Pi vor 1 Jahr
Ursprung
Commit
9ddb8dedc7
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. 9 0
      filters/cropswap-members@shandan.one

+ 9 - 0
filters/cropswap-members@shandan.one

@@ -20,6 +20,15 @@ if ($DISPATCH)
    {
       EXITCODE=$UNREGISTERED
       cc "|$DEBUGMAIL unregistered"
+      # this is not temporary error
+      # and we send no response to
+      # unregistered email as the
+      # email address could be:
+      #   - Mail Delivery Subsystem
+      #   - DoS attacker
+      # so mark as successful delivery
+      # effectively dropping the mail
+      EXITCODE=0
       exit
    }