Browse Source

add comment regarding UNHANDLED in maildroprc

Pi 1 year ago
parent
commit
9b132954cd
2 changed files with 5 additions and 1 deletions
  1. 1 1
      filters/cropswap-members@shandan.one
  2. 4 0
      maildroprc

+ 1 - 1
filters/cropswap-members@shandan.one

@@ -20,7 +20,7 @@ if ($DISPATCH)
    {
       EXITCODE=$UNREGISTERED
       cc "|$DEBUGMAIL unregistered"
-      # this is not temporary error
+      # this is not a temporary error
       # and we send no response to
       # unregistered email as the
       # email address could be:

+ 4 - 0
maildroprc

@@ -43,6 +43,8 @@ cc "|$DEBUGMAIL processing"
 if ($FROM eq "")
 {
    EXITCODE=$UNHANDLED
+   # this should only be able to happen
+   # when invoking maildrop on the cmdline
    exit
 }
 
@@ -106,4 +108,6 @@ else
 
 EXITCODE=$UNHANDLED
 cc "|$DEBUGMAIL unhandled"
+# this should only be able to happen
+# when invoking maildrop on the cmdline
 exit