Displaying 1 result from an estimated 1 matches for "dovecot_sieve_run".
2005 Sep 05
0
Dovecot-LDA: Development questions
...c, static int getenvelope, there is:
} else if (!strcasecmp(field, "to")) {
*contents = m->temp;
m->temp[0] = /*FIXME:msg_getrcptall(m, m->cur_rcpt)*/m->authuser;
m->temp[1] = NULL;
return SIEVE_OK;
So it seems appropriate to tweak dovecot_sieve_run() into:
mdata.authuser = username;
mdata.recipient = detail_on_commandline
? concat(username, "+", detail_on_commandline)
: username ;
Or better: Have the complete recipient passed via command line option?
and alter getenvelope():
m->temp[0] = m->recipient;
I think this tw...