Sergey A. Lipnevich
2006-Mar-06 05:47 UTC
[Dovecot] How to create .dovecot.sieve through IMAP?
Hi All, I suspect that the answer is "no way," but there's hope. I'm trying to set up a PHP application Ingo (part of Horde suite) to create the file <home>/.dovecot.sieve for the "advanced" LDA to do mail sorting. Because PHP is running under a Web server user, Ingo can't really write this file directly. My question is, is there any way for Ingo (or any other tool, for that matter) to create that file via IMAP protocol interaction? Horde authenticates users and "knows" login/password combination (that's how it accesses mail folders). Thank you! Sergey.
On 06/03/06, Sergey A. Lipnevich <sergey at optimaltec.com> wrote:> Hi All, > > I suspect that the answer is "no way," but there's hope. I'm trying to > set up a PHP application Ingo (part of Horde suite) to create the file > <home>/.dovecot.sieve for the "advanced" LDA to do mail sorting. Because > PHP is running under a Web server user, Ingo can't really write this > file directly. My question is, is there any way for Ingo (or any other > tool, for that matter) to create that file via IMAP protocol > interaction? Horde authenticates users and "knows" login/password > combination (that's how it accesses mail folders). > Thank you!>From my reading, it appears you need to be running another daemon onthe server. Cyrus has one, called timsieved iirc. Not sure how it works, but I don't think dovecot has anything like it yet. Pity. Hopefully someone will prove me wrong! Tim -- Linux Counter user #273956