lib/Odin.pm: Alter `redir_query' to break ties by local part.
[odin-cgi] / exim-filter.in
1 # Exim filter -*-conf-*-
2
3 if "${lookup pgsql { \
4 servers=db/odin/exim/@PASSWORD@; \
5 SELECT recip FROM odin_maildeliver \
6 WHERE lpart = '${quote_pgsql:$local_part}' AND \
7 dom = '$domain' } {!$value}{}}" matches "^(.+)\\$"
8 then
9 deliver ${s_1:$1}
10 finish
11 endif