mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-13 07:40:15 +01: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
5 lines
361 B
Plaintext
5 lines
361 B
Plaintext
driver = mysql
|
|
connect = host=127.0.0.1 dbname=cyberpanel user=cyberpanel password=1qaz@9xvps
|
|
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';
|