Displaying 2 results from an estimated 2 matches for "x_last_login".
2018 Sep 23
2
Last_login plugin and mysql
...Finally i got errors: table is not writable, INSERT failed.
Why is the insert required? The plugin should only UPDATE
the column for existing rows.
Or am i missing some configuration options?
Here is my dictionary config:
map {
pattern = shared/last-login/$user
table = mailbox
value_field = x_last_login
value_type = uint
fields {
username = $user
}
}
Dovecot: 2.2.27 (c0f36b0)
Kind regards,
Thomas
2018 Sep 24
0
Last_login plugin and mysql
...ERT failed.
>
> Why is the insert required? The plugin should only UPDATE
> the column for existing rows.
> Or am i missing some configuration options?
> Here is my dictionary config:
>
> map {
> pattern = shared/last-login/$user
> table = mailbox
> value_field = x_last_login
> value_type = uint
>
> fields {
> username = $user
> }
> }
>
>
> Dovecot: 2.2.27 (c0f36b0)
>
> Kind regards,
> Thomas
last_login plugin uses dict interface, which does not support "update",
it only supports get, set, unset and atomic inc. Se...