Where are mail users stored?

SYSTEM INFORMATION
OS type and version Ubuntu 24.04.1
Webmin version 2.202
Virtualmin version 7.30.3
Webserver version OpenLiteSpeed 1.8.2
Related packages Dovecot 2.3.21, dovecot-fts-xapian 1.6.0-1

I’m trying to get full text search working for stored emails and have installed the fts-xapian plugin for Dovecot, which is basically working. However, every so often it executes as the wrong user and fails.

The Dovecot people are asking me where the Dovecot user database is, but I don’t know and it doesn’t seem to be documented anywhere. I found the create_user() function in virtual-server-lib-funcs.pl (line 1439) but I’m none the wiser. I can’t find it in the postfix configuration either. Does anyone know?

I think these are all system users. Check you /etc/shadow file for confirmation.

Thanks, I think you’re right.

That’s correct, mail users are system users.

All the userdb settings in Dovecot seem to be commented out, so is it just using that by default?

Not all


https://doc.dovecot.org/2.3/configuration_manual/authentication/user_databases_userdb/

respond to them your using Passwd

1 Like

Well spotted! Thanks.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.