Displaying 2 results from an estimated 2 matches for "hostenv".
Did you mean:
hostent
2016 Feb 24
2
SQLite driver and auth-worker credentials
...l.conf.ext
driver = sql
}
userdb {
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
service auth-worker {
user = $default_internal_user
}
=======================
And I have:
% grep dovecot /etc/group
dovecot:*:143:
hostingdb:*:999:postfix,dovecot
% ls -l /usr/local/etc/hostenv/db/mailhost.sqlite
- -rw-rw---- 1 root hostingdb 14336 24 Feb 14:47
/usr/local/etc/hostenv/db/mailhost.sqlite
% sudo su -m dovecot -c id
uid=143(dovecot) gid=143(dovecot) groups=143(dovecot),999(hostingdb)
%
- --
// Black Lion AKA Lev Serebryakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2...
2016 Feb 24
2
SQLite driver and auth-worker credentials
I want to use SQLite database as storage for auth and user databases.
I've encountered two problems here:
(1) There is no way to open SQLite database read-only (via
sqlite3_open_v2() call with SQLITE_OPEN_READONLY flag). It looks bad. I
don't need (and want) to give dovecot rights to write to this database.
(2) I've created system group "hostingdb", added