Discussion:
[Dovecot] Error: sql dict iterate question
Robert Schetterer
2010-10-20 12:53:54 UTC
Permalink
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
Timo Sirainen
2010-10-20 13:57:22 UTC
Permalink
Post by Robert Schetterer
perhaps silly question...
should i care of this ?
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.
Robert Schetterer
2010-10-20 14:05:41 UTC
Permalink
Post by Timo Sirainen
Post by Robert Schetterer
perhaps silly question...
should i care of this ?
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
Post by Timo Sirainen
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.
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
Loading...