Displaying 1 result from an estimated 1 matches for "cur_rcpt".
Did you mean:
cmd_rcpt
2005 Sep 05
0
Dovecot-LDA: Development questions
...ki mentions in the section about to setup exim:
envelope_to_add
What's this setting is doing?
In src/sieve-cmu.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...