Displaying 4 results from an estimated 4 matches for "spfolder".
Did you mean:
shfolder
2015 Aug 07
2
pigeonhole/lda accessing -m folder
hi jost thx for the reply,
by access I mean to read the variable
require ["fileinto", "variables", "?destfolder?" ];
if anyof ( destfolder :matches "*") {
fileinto "${1}/subfolder";
}else{
fileinto "INBOX/subfolder";
}
On 08/07/2015 12:26 PM, Jost Krieger wrote:
> On Fri Aug 7 12:19:22 2015, matthias lay wrote:
2015 Aug 10
2
pigeonhole/lda accessing -m folder
...oblem.
>
> if somebody is interested.
> I added an variable to the environment extension, which is quite easy.
> And the value of the folder is already there. so this is all:
>
>
> src/lib-sieve/plugins/environment/ext-environment-common.c
>
> static const char *envit_spfolder_get_value
> (struct sieve_instance *svinst,
> const struct sieve_script_env *senv)
> {
> return senv->default_mailbox;
> }
>
> const struct sieve_environment_item spfolder_env_item = {
> .name = "spfolder",
> .get_value = envi...
2015 Aug 07
0
pigeonhole/lda accessing -m folder
fixed my problem.
if somebody is interested.
I added an variable to the environment extension, which is quite easy.
And the value of the folder is already there. so this is all:
src/lib-sieve/plugins/environment/ext-environment-common.c
static const char *envit_spfolder_get_value
(struct sieve_instance *svinst,
const struct sieve_script_env *senv)
{
return senv->default_mailbox;
}
const struct sieve_environment_item spfolder_env_item = {
.name = "spfolder",
.get_value = envit_spfolder_get_value,
};
after that the var...
2015 Aug 10
0
PATCH for Stephan: Re: pigeonhole/lda accessing -m folder
...body is interested.
>> I added an variable to the environment extension, which is quite easy.
>> And the value of the folder is already there. so this is all:
>>
>>
>> src/lib-sieve/plugins/environment/ext-environment-common.c
>>
>> static const char *envit_spfolder_get_value
>> (struct sieve_instance *svinst,
>> const struct sieve_script_env *senv)
>> {
>> return senv->default_mailbox;
>> }
>>
>> const struct sieve_environment_item spfolder_env_item = {
>> .name = "spfolder",...