You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/postfix/conf/sqlite-virtual_alias_maps.cf

12 lines
238 B
CFEngine3

dbpath = /data/freeposte.db
query =
SELECT destination
FROM alias
WHERE alias.email = '%s'
AND alias.wildcard = 0
UNION SELECT destination
FROM alias
WHERE '%s' LIKE alias.email
AND alias.wildcard = 1
LIMIT 1