]> scripts.mit.edu Git - www/raw.git/commitdiff
Import from TextPattern
authorAlexander W Dehnert <adehnert@mit.edu>
Sat, 13 Feb 2010 11:45:34 +0000 (06:45 -0500)
committerAlexander W Dehnert <adehnert@mit.edu>
Sat, 13 Feb 2010 11:45:34 +0000 (06:45 -0500)
faq/67.mdwn [new file with mode: 0644]

diff --git a/faq/67.mdwn b/faq/67.mdwn
new file mode 100644 (file)
index 0000000..0193efc
--- /dev/null
@@ -0,0 +1,19 @@
+[[!meta title="Why do my mail scripts not generate bounces?"]]
+The scripts server interprets procmail failures as temporary
+failures, queueing the mail until the procmailrc is fixed. This is
+useful if your procmailrc is unreadable or broken, but it can make
+debugging difficult. If you want to explicitly bounce a message,
+you can use a stanza similar to this in your procmailrc file:
+
+    :0:
+    * ^Delivered-To:.*USER_NAME\+TAG@.*
+    {
+            EXITCODE=67
+            HOST
+    }
+
+The list of recognized exit codes can be found in the
+[sysexits(3) manpage](http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits).
+
+
+