Ver código fonte

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

Pi 1 ano atrás
pai
commit
9ddb8dedc7
1 arquivos alterados com 9 adições e 0 exclusões
  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
    }