From: martin f. krafft Date: Thu, 6 Sep 2007 15:01:13 +0000 (+0200) Subject: add example files X-Git-Tag: mailplate-0.1^0 X-Git-Url: https://git.madduck.net/code/mailplate.git/commitdiff_plain/6e4fcf8c9ae59036e5bd676aff41573872f9b058 add example files --- diff --git a/config b/config new file mode 100644 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 index 0000000..603360f --- /dev/null +++ b/templates/debian @@ -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 +@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 +: :' : 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 index 0000000..4de4e63 --- /dev/null +++ b/templates/private @@ -0,0 +1,18 @@ +#override From header (breaks mutt's reverse_name setting) +#@KEEP_FROM_HEADER +From: martin f krafft +@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