I found in sv_parser/sieve.c:
} else if (!strcmp("envelope", req)) {
if (c->callbacks.getenvelope)
c->support.envelope = 1;
return c->support.reject;
May be there must be:
return c->support.envelope;
???
PS. after some twiks with dbmail code, my sieve script
require "fileinto";
require "subaddress";
if envelope :detail "to" "spam1" {
fileinto "SPAM";}
else {
fileinto "INBOX";}
don't work ;(
mail to: [EMAIL PROTECTED] was saved in INBOX folder, instead of SPAM
I try to do some tests later today.
--
Oleg Lapshin