jacky_009 wrote:==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4 PGSQL edition
- Deployed with iRedMail Easy or the downloadable installer?: Manual install
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi everyone,
Quick question: Has anyone successfully migrated to Deb13?
After four hours, I used a backup because I was hopelessly stuck with Dovecot 2.3 -> 2.4.
There were so many changes that I gave up... :S
Maybe someone has an documentation? Or maybe an officially one?
((
U mnie tak samo.... Przekonwertowanie pliku konfiguracyjnego Dovecot do kilku dodatkowych ze zmiana nazw właściwości to jakas masakra..
W nowym Dovecot 2.4.1 w głównym pliku konfiguracyjnym jest niewiele ustawień, większość znajduje się w plikach w podkatalogu: codf.d.
W nim znajduje się plik do zapytań o hasło i użytkownika oraz ścięzkę do MailDir: auth-sql.conf.ext Wstępnie ten plik wygląda u nie tak:
driver = pgsql
connect = host=127.0.0.1 port=5432 dbname=vmail user=vmail password=password
default_password_scheme = CRYPT
# -----------------
# PASSDB - sprawdzanie hasła
# -----------------
passdb {
driver = sql
args = /etc/dovecot/conf.d/auth-sql.conf.ext
}
password_query = \
SELECT mailbox.password, mailbox.allow_nets \
FROM mailbox, domain \
WHERE mailbox.username = '%{user}' \
AND mailbox."enable%Ls%Lc" = 1 \
AND mailbox.active = 1 \
AND mailbox.domain = domain.domain \
AND domain.backupmx = 0 \
AND domain.active = 1
# -----------------
# USERDB - dane użytkownika
# -----------------
userdb {
driver = sql
args = /etc/dovecot/conf.d/auth-sql.conf.ext
}
user_query = \
SELECT \
LOWER('%{user}') AS master_user, \
LOWER(CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir)) AS home, \
CONCAT(mailbox.mailboxformat, ':~/', mailbox.mailboxfolder) AS mail, \
CONCAT('*:bytes=', mailbox.quota * 1048576) AS quota_rule \
FROM mailbox, domain \
WHERE mailbox.username = '%{user}' \
AND mailbox."enable%Ls%Lc" = 1 \
AND mailbox.active = 1 \
AND mailbox.domain = domain.domain \
AND domain.backupmx = 0 \
AND domain.active = 1
iterate_query = \
SELECT username AS user FROM mailbox