pigeonhole/lda accessing -m folder

matthias lay matthias.lay at securepoint.de
Fri Aug 7 10:40:13 UTC 2015


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:
>  
>> anybody knows, if there is a way to acces the folder from a call like this
>>
>> deovecot-lda -m destfolder
>>
>> from within a sieve script?
> 
> Depending on what you mean by "access", this could be as easy as
> 
>  require "fileinto";
> 
>  fileinto "destfolder";
>  
> Yours
> Jost Krieger
> 



More information about the dovecot mailing list