So other then adding the mapping for the dovecot user, did anything else
change?
after a little bit of cleaning and a change in my Postgres username (now postgres username == unix user), the various commands to connect are working.
Now I want to be sure to have correctly understood the mapping story. Say root is running myApp, and at one point, myApp is poling a postgresql DB as user myUser.
Run myApp as root:
# myApp
Do I have to add an entry in pg_ident to map linux user root to Postgres myUser ? Or the command above will be enough with no entries in pg_ident or pg_hba ?