]> git.madduck.net Git - etc/mailfilter.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

filter mldonkey stuff into subfolders
authormartin f. krafft <madduck@madduck.net>
Thu, 6 Jan 2011 11:36:47 +0000 (12:36 +0100)
committermartin f. krafft <madduck@madduck.net>
Thu, 7 Jul 2011 05:39:45 +0000 (07:39 +0200)
procmail/rules/all
procmail/rules/mldonkey [new file with mode: 0644]

index 1c0303b26a3931d23cf09354260c64cf3d2b271b..955aedf89f86219aa9a47efb974e534826fd2b28 100644 (file)
@@ -12,6 +12,8 @@
   INCLUDERC=$PMRULES/debian
   INCLUDERC=$PMRULES/ul
 
+  INCLUDERC=$PMRULES/mldonkey
+
   INCLUDERC=$PMRULES/test-messages
   INCLUDERC=$PMRULES/dsn
   INCLUDERC=$PMRULES/gpg
diff --git a/procmail/rules/mldonkey b/procmail/rules/mldonkey
new file mode 100644 (file)
index 0000000..c0b43db
--- /dev/null
@@ -0,0 +1,12 @@
+:0
+* FROM ?? ^MLDonkey <mldonkey@mldonkey\.madduck\.net>$
+{
+  :0
+  * B ?? /srv/downloads/pdl/
+  { DEST=pdl }
+
+  :0 E
+  { DEST=mldonkey }
+}
+
+# vim:ft=procmail