[Dovecot] passwd-file and MySQL
Speaking about multiple DB ...
A my customer has a server (CentOS 6.x, dovecot 2.0.x, postfix, Squirrel+RoundCube with vacation and password plug-in), with about 3.000 users (about 200 different domains), all defined as system users and home as /home/mail/%user%
The system works fine. Its only additional interest is authenticating users like user@domain.tld / password (maintaining also the current user.domain / password).
Is it possible and How complex configuring a similar environment?
Only matter of sync /etc/shadow and DB or other problems?
Regards, Paolo
Am 16.09.2013 18:13, schrieb Paolo:
The system works fine. Its only additional interest is authenticating users like user@domain.tld / password (maintaining also the current user.domain / password)
try solve it for system user user.domain / password driver = pam in additional passwd file
http://wiki.dovecot.org/AuthDatabase/PasswdFile
http://wiki2.dovecot.org/Authentication/MultipleDatabases
... Currently the fallback works only with the PLAIN authentication mechanism ... # if not found, fallback to /etc/passwd userdb { driver = passwd }
but that isnt good design, better migrate all to full virtual setup
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Indeed you should forget effectivive user/group for same system.You shoud use sql backend.
On Mon, 2013-09-16 at 18:13 +0200, Paolo wrote:
Speaking about multiple DB ...
A my customer has a server (CentOS 6.x, dovecot 2.0.x, postfix, Squirrel+RoundCube with vacation and password plug-in), with about 3.000 users (about 200 different domains), all defined as system users and home as /home/mail/%user%
The system works fine. Its only additional interest is authenticating users like user@domain.tld / password (maintaining also the current user.domain / password).
Is it possible and How complex configuring a similar environment?
Only matter of sync /etc/shadow and DB or other problems?
Regards, Paolo
participants (3)
-
Mohsen Pahlevanzadeh
-
Paolo
-
Robert Schetterer