chiark
/
gitweb
/
~mdw
/
odin-cgi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
lib/Odin.pm: Provide substitutions on mail recipient addresses.
[odin-cgi]
/
exim-filter.in
1
# Exim filter -*-conf-*-
2
3
if "${lookup pgsql { \
4
servers=db.distorted.org.uk/odin/exim/@PASSWORD@; \
5
SELECT recip FROM odin_maildeliver \
6
WHERE lpart = '${quote_pgsql:${lc:$local_part}}' AND \
7
dom = '$domain' } {!$value}{}}" matches "^(.+)\\$"
8
then
9
deliver ${s_1:$1}
10
finish
11
endif