Adding SQL Like format for aliases
parent
b3d7b657ab
commit
6d4243ec66
@ -1,5 +1,11 @@
|
|||||||
dbpath = /data/freeposte.db
|
dbpath = /data/freeposte.db
|
||||||
query =
|
query =
|
||||||
SELECT destination
|
SELECT destination
|
||||||
FROM alias
|
FROM alias
|
||||||
WHERE alias.email = '%s'
|
WHERE alias.email = '%s'
|
||||||
|
AND alias.wildcard = 0
|
||||||
|
UNION SELECT destination
|
||||||
|
FROM alias
|
||||||
|
WHERE '%s' LIKE alias.email
|
||||||
|
AND alias.wildcard = 1
|
||||||
|
LIMIT 1
|
||||||
|
Loading…
Reference in New Issue