14 Feb
2014
14 Feb
'14
11:51 p.m.
A small correction to the previous post. Below complete /etc/dovecot/local.conf file:
There is one system user "crew" where mail comes in.
There are several virtual users, that work with this
mail: move, reply, delete, etc. Think of groupware.
Anybody can do anything, but may have to justify…
sample line from passwd file
Name:{PLAIN}password
passdb { driver = passwd-file args = /etc/dovecot/passwd }
On authentication, users are switched to "crew"
This is the user to index and query SOLR
userdb { driver = static args = uid=crew gid=crew home=/home/crew user=crew }
Use Logname from passdb for audit trail
mail_log_prefix = "%s(%{auth_user}): "
mail_plugins = $mail_plugins fts fts_solr mail_log notify
plugin {
Search
fts = solr fts_solr = url=http://localhost:8983/solr/ fts_autoindex = yes
Audit
mail_log_events = save copy delete undelete expunge mailbox_create mailbox_rename mailbox_delete mail_log_fields = uid box msgid from subject }
-- peter