]> git.madduck.net Git - etc/mailfilter.git/blob - procmail/rules/admin

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 itd change control notices
[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$NL"
10     :0 fw
11     |$FORMAIL -A'X-Spamtrapped: not delivered to eqdomain'
12     SPAMTRAPPED
13   }
14
15   DEST=admin
16
17 #  DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
18 #
19 #  :0
20 #  {
21 #    :0
22 #    * EQ_LOCAL ?? (logcheck|apticron)
23 #    ${DESTDIR}.$EQ_LOCAL/
24 #
25 #    :0
26 #    ${DESTDIR}/
27 #  }
28 }
29
30 # vim:ft=procmail