~mdw
/
exim-config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab42b10
)
exim-spam-limit.userv: Include the recommended spam-limit service file.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 7 May 2016 01:14:09 +0000
(
02:14
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 7 May 2016 01:14:09 +0000
(
02:14
+0100)
exim-spam-limit.userv
[new file with mode: 0644]
patch
|
blob
diff --git a/exim-spam-limit.userv
b/exim-spam-limit.userv
new file mode 100644
(file)
index 0000000..
4fd3612
--- /dev/null
+++ b/
exim-spam-limit.userv
@@ -0,0
+1,17
@@
+### -*-conf-*-
+
+if ( ( glob calling-user root
+ | glob calling-user Debian-exim
+ )
+ & ( grep service-user-shell /etc/shells
+ | glob service-user-shell /dev/token-shells/userv
+ )
+ )
+ reset
+ no-suppress-args
+ no-set-environment
+ execute /bin/sh -c "\
+ set -e; \
+ case \"$*\" in *[\\\\{}]*) exit 2 ;; esac; \
+ exec /usr/sbin/exim -be \"\\${lookup {$2$3/$1}nwildlsearch{$HOME/.mail/spam-limit.userv}}\"" -
+fi