Daniel Tiefnig wrote:
> directory = ${lookup mysql{SELECT maildir ...}}\
>             ${if def:h_X-Spam:{/.Junk}{}}
> subfolder_delivery: ${if def:h_X-Spam:{yes}{no}}

Another possibility would of course be a "subdirectory" option, that
causes delivery into a subfolder, if it doesn't expand to the empty
string...

directory = ${lookup mysql{SELECT maildir ...}}
subdirectoy = ${if def:h_X-Spam:{/.Junk}{}}

Still clumsy, though.


lg,
daniel, first think - then post.

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to