ソースを参照

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

Pi 1 年間 前
コミット
9ddb8dedc7
1 ファイル変更9 行追加0 行削除
  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
    }