]> git.deb.at Git - deb/packages.git/blobdiff - mail/dot.forward-default
Add mail stuff from old code
[deb/packages.git] / mail / dot.forward-default
diff --git a/mail/dot.forward-default b/mail/dot.forward-default
new file mode 100644 (file)
index 0000000..76b8f82
--- /dev/null
@@ -0,0 +1,13 @@
+# Exim Filter
+# /org/packages.debian.org/mail/.forward-default
+
+# This filter looks up the package name in the maintainer database, if it is
+# not found then a bounce message is generated. Although the docs say you
+# can put spaces in the $lookup stuff you can't, don't try it.
+if ${lookup{${local_part}}lsearch{/org/packages.debian.org/files/maintainerdb}{$value}{unknown}} is "unknown"
+then
+   save /dev/null
+else
+   seen deliver ${lookup{${local_part}}partial-lsearch{/org/packages.debian.org/files/maintainerdb}{$value}}
+endif
+