[Dovecot] use sieve plugin with variable and folders

2012-08-28 Thread Alano Conraz
Hello , I'm trying to use the pigeonhole plugin but I'm experiencing configuration problem... Hope you could help me! Firstly : my sieve filter test is the next one : /// require [fileinto , variables , mailbox]; if address :matches Delivered-To *@*.* { fileinto :create

Re: [Dovecot] plugin development: retrieve username -d -f inside plugins

2012-08-27 Thread Alano Conraz
struct mail_user-username has it. How you get to struct mail_user depends on where you want to access it from. Note that each process is capable of handling multiple different users (although it's not commonly done). i'm not sure to understand the last part. mail_user-username is a char *,