Additional custom fields in map dict with static values.

Mimiko vbvbrj at gmail.com
Sun Jan 17 20:14:37 EET 2021


Hello.

Dovector version 2.2.27.

How can I add custom fields in the map for the last_login. For example:

map {
   pattern = shared/last_login/imap/$user/$client_ip
   table = users_last_login
   value_field = last_login_imap_int
   value_type = string
   fields {
     userid = $user
     last_login_client_ip_imap = $client_ip
     custom_field_name = some_static_value
   }
}



More information about the dovecot mailing list