OSsetup /
HumbabaDovecot
TODO:
figure out how to edit config to support virtual users using the same config files that I've used the Teapop, to allow MM to work still.- modify mm.php to support the new
dovecot.cfg
instead of the oldteapop.cfg
.
2019-05-07
Dovecot POP3/IMAP server installation Using Aptitude I installed:
- dovecot-core
- dovecot-pop3
- dovecot-imap
Then edited /etc/dovecot/conf.d/10-authentication:
- enabled plain-text login
This works for actual system users, but not yet for virtual domain users.
2019-05-12
Dovecot configuration for virtual domain users
- modified /etc/dovecot/conf.d/10-auth.conf
- included a new external config file: auth-passwdfile.conf.TEST.txt
- auth-passwdfile.conf.TEST.txt contents:
# Authentication for passwd-file users. Included from 10-auth.conf. # # passwd-like file with specified location. # <doc/wiki/AuthDatabase.PasswdFile.txt> passdb { driver = passwd-file args = scheme=PLAIN username_format=%n /home/vdomain/%d/etc/dovecot.cfg } userdb { driver = passwd-file args = username_format=%n /home/vdomain/%d/etc/dovecot.cfg # Default fields that can be overridden by passwd-file #default_fields = quota_rule=*:storage=1G # Override fields from passwd-file override_fields = home=/home/vdomain/%d/mail/%n mail=/home/vdomain/%d/mail/%n }
- created /home/vdomain/<domain>/etc/dovecot.cfg:
# dovecot password and user configuration file manager:bricks99:bfl:bfl
This works for the one (bfl) domain! Now need to implement it system-wide.
2019-05-14
Modified home-brew mail-manager tool (mm.php) to use dovecot.cfg in place of teapop.cfg for virtual domains. The easiest way to start out when the switchover to dovecot occurs is to simply copy the teapop.cfg file to dovecot.cfg:
cp -p teapop.cfg dovecot.cfg
The contents will be converted to the new dovecot.cfg format upon first update.