~mdw
/
exim-config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
README: More or less complete.
[exim-config]
/
spam.m4
diff --git
a/spam.m4
b/spam.m4
index
e480880
..
3e469bd
100644
(file)
--- a/
spam.m4
+++ b/
spam.m4
@@
-50,7
+50,9
@@
fetch_spam_limit:
@$domain/\
$sender_address} \
nwildlsearch {CONF_userconf_dir/spam-limit} \
@$domain/\
$sender_address} \
nwildlsearch {CONF_userconf_dir/spam-limit} \
- {spam_limit=$value} \
+ {${if match{$value}{\N^-?[0-9]+$\N} \
+ {spam_limit=$value} \
+ {}}} \
{}}} \
{}} \
${if exists {CONF_userconf_dir/spam-limit.userv} \
{}}} \
{}} \
${if exists {CONF_userconf_dir/spam-limit.userv} \
@@
-61,7
+63,7
@@
fetch_spam_limit:
$local_part \
$local_part_suffix \
@$domain} \
$local_part \
$local_part_suffix \
@$domain} \
- {${if match{$value}{\N^[0-9]+$\N} \
+ {${if match{$value}{\N^
-?
[0-9]+$\N} \
{spam_limit=$value} \
{}}} \
{}}} \
{spam_limit=$value} \
{}}} \
{}}} \