J’ai réussi a réparer mes erreurs dovecot en désactivant ssl mais maintenant j’ai postfix qui 'indique une errreur SASL
Les erreurs dans les logs :
Sep 23 06:40:39 ns3001448 postfix/submission/smtpd[5796]: warning: SASL: Connect to private/auth failed: Connection refused
Sep 23 06:40:39 ns3001448 postfix/submission/smtpd[5796]: fatal: no SASL authentication mechanisms
Sep 23 06:40:40 ns3001448 postfix/submission/smtpd[5797]: warning: SASL: Connect to private/auth failed: Connection refused
Sep 23 06:40:40 ns3001448 postfix/submission/smtpd[5797]: fatal: no SASL authentication mechanisms
Sep 23 06:40:40 ns3001448 postfix/master[5671]: warning: process /usr/lib/postfix/smtpd pid 5796 exit status 1
Sep 23 06:40:40 ns3001448 postfix/master[5671]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Sep 23 06:40:41 ns3001448 postfix/master[5671]: warning: process /usr/lib/postfix/smtpd pid 5797 exit status 1
Sep 23 06:40:55 ns3001448 postfix/master[5671]: terminating on signal 15
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command =
mailbox_size_limit = 0
mydestination = mail.mondomaine.com, mondomaine.com, ns30xxxxxxxxxxx, localhost.ip-x-xx-xx.eu, localhost
mydomain = mondomaine.com
myhostname = mail.mondomaine.com
mynetworks = 127.0.0.0/8 xx.xx.xx.xx
myorigin = mondomaine.com
readme_directory = no
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/mysql_relay_domains.cf
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000
Mon dovecot.conf :
[code]
protocols = imap pop3
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
log_path = /var/log/dovecot
disable_plaintext_auth = no
auth_mechanisms = plain
mail_home = /home/vmail/%d/%u
mail_location = maildir:/home/vmail/%d/%n:INDEX=/home/vmail/%d/%n/indexes
protocol imap {
#ssl_listen = *:993
}
protocol pop3 {
}
protocol sieve {
}
protocol lda {
postmaster_address = contact@mondomaine.com
mail_plugin_dir = /usr/lib/dovecot/modules/lda
auth_socket_path = /var/run/dovecot/auth-master
}
#service auth {
#auth default {
userdb {
args = /etc/dovecot/dovecot-mysql.conf
}
userdb {
args = /etc/dovecot/dovecot-mysql.conf
driver = sql
}
passdb {
args = /etc/dovecot/dovecot-mysql.conf
}
passdb {
args = /etc/dovecot/dovecot-mysql.conf
driver = sql
#socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
dict {
}
plugin {
}
ssl = no
ssl_cert = </etc/dovecot/private/dovecot.pem
ssl_key = </etc/dovecot/dovecot.pem[/code]
IL me mets celà aussi dans les logs syslog :
Sep 23 06:52:46 ns3001448 postfix/master[5938]: warning: process /usr/lib/postfix/smtpd pid 6528 exit status 1
Sep 23 06:52:46 ns3001448 postfix/master[5938]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Sep 23 06:52:46 ns3001448 postfix/submission/smtpd[6531]: warning: SASL: Connect to private/auth failed: Connection refused
Sep 23 06:52:46 ns3001448 postfix/submission/smtpd[6531]: fatal: no SASL authentication mechanisms
Sep 23 06:52:47 ns3001448 postfix/master[5938]: warning: process /usr/lib/postfix/smtpd pid 6531 exit status 1
ps ax | grep sasl
6718 ? Ss 0:00 /usr/sbin/saslauthd -a rimap -O localhost -c -m /var/run/saslauthd -n 5
6719 ? S 0:00 /usr/sbin/saslauthd -a rimap -O localhost -c -m /var/run/saslauthd -n 5
6720 ? S 0:00 /usr/sbin/saslauthd -a rimap -O localhost -c -m /var/run/saslauthd -n 5
6721 ? S 0:00 /usr/sbin/saslauthd -a rimap -O localhost -c -m /var/run/saslauthd -n 5
6723 ? S 0:00 /usr/sbin/saslauthd -a rimap -O localhost -c -m /var/run/saslauthd -n 5
8177 pts/0 S+ 0:00 grep sasl
J’ai suivis ce tuto : tutodidacte.com/debian-7-whe … x#forum351
merci à vous