]> git.madduck.net Git - code/mailplate.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:

add example files mailplate-0.1
authormartin f. krafft <madduck@madduck.net>
Thu, 6 Sep 2007 15:01:13 +0000 (17:01 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 7 Oct 2007 16:11:42 +0000 (17:11 +0100)
config [new file with mode: 0644]
templates/debian [new file with mode: 0644]
templates/private [new file with mode: 0644]

diff --git a/config b/config
new file mode 100644 (file)
index 0000000..60362de
--- /dev/null
+++ b/config
@@ -0,0 +1,9 @@
+# mailplate configuration
+[general]
+default_template = private
+template_path = ~/.mailplate/templates
+
+[helpers]
+get_quote = get_quote
+get_debian_version = cat /etc/debian_version
+get_kernel = uname -mr
diff --git a/templates/debian b/templates/debian
new file mode 100644 (file)
index 0000000..603360f
--- /dev/null
@@ -0,0 +1,18 @@
+* 10 ^(?:To|Cc|From): .+@(?:.+\.)*debian\.(org|net)
+* 8 ^(?:To|Cc): .+@(?:.+\.)*backports\.org
+* 8 ^(?:To|Cc): .+@(?:.+\.)*debconf\.org
+From: martin f krafft <madduck@deXXXn.org>
+@KEEP_STD_HEADERS
+Organization: The Debian project
+X-OS: Debian GNU/Linux $(get_debian_version) kernel $(get_kernel)
+X-Motto: Keep the good times rollin'
+
+@KEEP_BODY
+
+-- 
+ .''`.   martin f. krafft <madduck@deXXXn.org>
+: :'  :  proud Debian developer, author, administrator, and user
+`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
+  `-  Debian - when you have better things to do than fixing systems
+$(get_quote)
diff --git a/templates/private b/templates/private
new file mode 100644 (file)
index 0000000..4de4e63
--- /dev/null
@@ -0,0 +1,18 @@
+#override From header (breaks mutt's reverse_name setting)
+#@KEEP_FROM_HEADER
+From: martin f krafft <madduck@madXXXk.net>
+@KEEP_STD_HEADERS
+X-OS: Debian GNU/Linux $(get_debian_version) kernel $(get_kernel)
+X-Motto: Keep the good times rollin'
+X-Subliminal-Message: debian/rules!
+X-Spamtrap: madduck.bogus@madduck.net
+
+@KEEP_BODY
+
+-- 
+martin;              (greetings from the heart of the sun.)
+  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
+$(get_quote)
+spamtraps: madduck.bogus@madduck.net