[Dovecot] Extdata plugin, MySQL

Steve Fatula compconsultant at yahoo.com
Tue Sep 6 08:25:43 EEST 2011


Does someone have an example of configuring the Pigeonhole Sieve Extdata plugin with MySQL dict? Particularly, the map and what key might be used in this?

The doc in the wiki isn;t clear at all to me when one wants to use MySQL store.

The file in the doc folder of the mercurial repository is basically what I want to do, in that RFC, it's bascially looking for a discard_spam setting, I presume by user whose Sieve script is running. So, what would the sql mapping file look like? What lookup key is used? I can't really find any map documentation for the syntax, can a special key be used, perhaps, I need to append a value to the user if that is the key?

Can this data be accessed via the dictionary proxy to make access more efficient?

While I don't want to discard spam based on the setting in the database, I DO want to not move to the spam folder based on a setting stored in an existing MySQL database. So, very similar idea. I want to use an existing database, but, the key is username + a certain constant value for another field. Am hoping this can be mapped as well.


 
Steve



More information about the dovecot mailing list