[DOVECOT] problème configuration MySQL vmail
Bonjour,
je rencontre actuellement un problème de configuration de dovecot.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
| protocols = imaps
log_timestamp = "%Y-%m-%d %H:%M:%S "
#mail_privileged_group = mail
mail_location = maildir:/home/vmail/%d/%n/Maildir
protocol imap {
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = root@pcgamesplus.com
hostname = pcgamesplus.com
mail_plugin_dir = /usr/lib/dovecot/modules/lda
sendmail_path = /usr/lib/sendmail
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = cmusieve
}
auth default {
mechanisms = plain
passdb pam {
}
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb passwd {
}
userdb static {
args = uid=vmail gid=vmail home=/home/vmail/%d/%n
}
user = root
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
group = vmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = vmail
}
}
}
dict {
}
plugin {
} |
et le fichier SQL:
Code:
1 2 3 4 5
|
driver = mysql
connect = host=localhost dbname=test user=test password=test
default_pass_scheme = MD5
password_query = SELECT password FROM mailbox WHERE username = '%u' |
Au lancement je peux voir dans le fichier mail.log
Code:
1 2 3
|
Jan 28 21:45:55 stock dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Jan 28 21:45:55 stock dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) |
je viens de faire un test et j'arrive à me connecter à la base de données avec les informations sql.
Pouvez-vous m'aider dans l'analyse du problème ?
Merci.