mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 22:05:55 +02:00
- Add home directory (CONCAT) to dovecot-sql.conf.ext user_query so sieve can locate script storage per user - Add sieve/sieve_dir plugin settings to dovecot.conf templates - Add lda_mailbox_autocreate/autosubscribe so fileinto creates missing folders - Update setupSieve() upgrade function to patch all three on existing installs
4 lines
374 B
Plaintext
4 lines
374 B
Plaintext
driver = mysql
|
|
connect = host=localhost dbname=cyberpanel user=cyberpanel password=SLTUIUxqhulwsh port=3306
|
|
password_query = SELECT email as user, password FROM e_users WHERE email='%u';
|
|
user_query = SELECT '5000' as uid, '5000' as gid, mail, CONCAT('/home/vmail/', SUBSTRING_INDEX(email, '@', -1), '/', SUBSTRING_INDEX(email, '@', 1)) as home FROM e_users WHERE email='%u'; |