On Wed, 2007-03-14 at 09:47 -0700, Brent Hostetler wrote:
user_query = SELECT maildir, 5000 AS uid, 5000 AS gid, CONCAT('/usr/local/vmail/', @home := maildir) AS home FROM mailbox WHERE username = '%u'
And the plugin loads and the mail is filtered!!
One problem with the CONCAT method is that there is an extra '/' in the users home path. However, the filter still works As expected. Should I be concerned?
deliver(brent@hostetler.ws): Mar 14 09:32:23 Info: cmusieve: Using sieve path: /usr/local/vmail/hostetler.ws/brent//.dovecot.sieve
I think that's because your maildir contains a '/' at the end. That's not needed, so removing it would fix it. It doesn't anyway break anything. Hi @ll
Timo Sirainen schrieb: this maybe off topic but i have integrated a python sieve server in my postfix(admin),dovecot,sql,lda setup and it works with avelsieve plugin sqirrelmail(latest) vor virtual users. on opensuse 10.2, it currently only does not create folders on the fly with sieve rules , but this is related to avelsieve, but filtering vacation,forward works. Neale anounced it a few weeks ago, for local users, but we tested hard, and Neale coded fine to make it work with virtual users, after all he didnt anounced this back to the list, so perhaps anyone might give it a try too, but i would not recommend to include it on production system without testing it before heres the link
http://woozle.org/~neale/repos/pysieved/pysieved.tar.gz
-- Mit freundlichen Gruessen Best Regards
Robert Schetterer
https://www.schetterer.org Munich/Bavaria/Germany