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

remove ipv6 trusted_networks
[etc/mailfilter.git] / procmail / rules / admin
1 :0
2 * ORIG_DOMAIN ?? ^admin\.madduck\.net$
3 {
4   DEST=admin
5   DELAY
6
7   # require that messages sent to foo=bar@admin.madduck.net have passed the
8   # machine at bar, meaning have been Delivered-To there, or originating from
9   # there:
10   :0
11   *$ !^Delivered-To: .+@$EQ_DOMAIN
12   *$ !^Received:$RE_SPACE+by $EQ_DOMAIN
13   {
14     LOG="rules/admin: spamtrap message as never passed $EQ_DOMAIN$NL"
15     :0 fw
16     |$FORMAIL -A"X-Spamtrapped: never passed eqdomain"
17     RETRAIN=spam
18     INCLUDERC=$PMDIR/handlespam
19   }
20
21 #  DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
22 #
23 #  :0
24 #  {
25 #    :0
26 #    * EQ_LOCAL ?? (logcheck|apticron)
27 #    ${DESTDIR}.$EQ_LOCAL/
28 #
29 #    :0
30 #    ${DESTDIR}/
31 #  }
32 }
33
34 # vim:ft=procmail