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:

rename INBOX to BASE
[etc/mailfilter.git] / procmail / rules / admin
1 :0
2 * ORIG_DOMAIN ?? ^admin\.madduck\.net$
3 {
4   # require that messages sent to foo=bar@admin.madduck.net have passed the
5   # machine at bar, meaning have been Delivered-To there.
6   :0
7   *$ !^Delivered-To: .+@$EQ_DOMAIN
8   {
9     LOG="spamtrap message as it was never delivered to $EQ_DOMAIN
10 "
11     :0 fw
12     |$FORMAIL -A'X-Spamtrapped: not delivered to eqdomain'
13     SPAMTRAPPED
14   }
15
16   DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
17
18   :0
19   {
20     :0
21     * EQ_LOCAL ?? (logcheck|apticron)
22     ${DESTDIR}.$EQ_LOCAL/
23
24     :0
25     ${DESTDIR}/
26   }
27 }
28
29 # vim:ft=procmail