Dear Dovecot wizards!

I have a question concerning the migration from 2.3.4 to 2.4.1.

On 2.3.4 I had the following config

dict {
  sql_store_user_quota = pgsql:/etc/dovecot/dovecot-sql-store-user_quota.conf
}

With /etc/dovecot/dovecot-sql-store-user_quota.conf:

connect = host=127.0.0.1 port=5433 dbname=dddd user=uuuu password=pppp:

map {
  pattern = priv/quota/storage
  table = fill_user
  username_field = username
  value_field = bytes
}
map {
  pattern = priv/quota/messages
  table = messages_user
  username_field = username
  value_field = messages
}

On 2.4.1 I tried

dict_map priv/quota/storage {
  sql_table = emailaddress_fill
  username_field = emailaddress
  dict_map_value_field quota_bytes {
    type = uint
  }
}
dict fill {
  sql_driver = pgsql
  pgsql pg_mc2 {
    parameters {
      dbname = dddd
      host = hhhh
      password = ppppp
      user = uuuuu
    }
  }
}

But it is doing nothing. Am sure I am missing something here (I guess howto connect these config snippets). Any help appreciated.

Cheers,

Volker


--
===========================================================
  inqbus Scientific Computing GmbH   Dr.  Volker Jaenisch
  Hungerbichlweg 3                   +49 (8860) 9222 7 92
  86977 Burggen                      https://inqbus.de
===========================================================

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to