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

do not cleanup tickle/delayed/resubmitted headers
[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   DELAY="$DELAY_TONIGHT"
16   DEST=admin
17
18 #  DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
19 #
20 #  :0
21 #  {
22 #    :0
23 #    * EQ_LOCAL ?? (logcheck|apticron)
24 #    ${DESTDIR}.$EQ_LOCAL/
25 #
26 #    :0
27 #    ${DESTDIR}/
28 #  }
29 }
30
31 # vim:ft=procmail