]> 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:

prepare tickler for resubmitting, instead of inbox writing
[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   :0
17   $BASE/.admin/
18
19 #  DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
20 #
21 #  :0
22 #  {
23 #    :0
24 #    * EQ_LOCAL ?? (logcheck|apticron)
25 #    ${DESTDIR}.$EQ_LOCAL/
26 #
27 #    :0
28 #    ${DESTDIR}/
29 #  }
30 }
31
32 # vim:ft=procmail