[Dovecot] Error: sql dict iterate question
Hi Timo, perhaps silly question... should i care of this ?
dovecot: dict: Error: sql dict iterate: Invalid/unmapped path: shared/shared-boxes/anyone/
dovecot 2.0.5
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Wed, 2010-10-20 at 14:53 +0200, Robert Schetterer wrote:
perhaps silly question... should i care of this ?
dovecot: dict: Error: sql dict iterate: Invalid/unmapped path: shared/shared-boxes/anyone/
Well, if you want to support "anyone" ACL then you should care. Otherwise not really, other than being annoyed at those errors in logs. You could solve it by creating such a path that maps to an SQL table. I've been too lazy to add docs how to do it.. Probably something like:
map { pattern = shared/shared-boxes/anyone/$from table = anyone_shares value_field = dummy
fields { from_user = $from } }
I guess another possibility would be to make it possible to ignore some patterns to just hide this error and not waste time doing a SELECT for something that never exists.
Am 20.10.2010 15:57, schrieb Timo Sirainen:
On Wed, 2010-10-20 at 14:53 +0200, Robert Schetterer wrote:
perhaps silly question... should i care of this ?
dovecot: dict: Error: sql dict iterate: Invalid/unmapped path: shared/shared-boxes/anyone/
Well, if you want to support "anyone" ACL then you should care.
Hi Timo,
no plans to support it ever, to much spam problems ( perhaps usefull for internal servers etc )
i ll ignore it, having so much other stuff to test and implemented yet
Otherwise not really, other than being annoyed at those errors in logs. You could solve it by creating such a path that maps to an SQL table. I've been too lazy to add docs how to do it.. Probably something like:
map { pattern = shared/shared-boxes/anyone/$from table = anyone_shares value_field = dummy
fields { from_user = $from } }
I guess another possibility would be to make it possible to ignore some patterns to just hide this error and not waste time doing a SELECT for something that never exists.
hm, your choice, a ignore pattern might stop same question in the future, or if time a note in the wiki may enough , there is allready a part with "anyone" in it as far i remember
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
participants (2)
-
Robert Schetterer
-
Timo Sirainen