Bonjour,
J'ai un petit serveur perso chez OVH qui me fait serveur d'email entre autre.
J'ai fait une réinstallation dernièrement et je finalise petit à petit.
Aujourd'hui je suis intervenu sur Postfix pour envoyer les emails directement sans passer par le relay de OVH.
Et plus rien… En fait pas tout à fait. Je me connecte sans problème à la boite en imap. Tout cela marche très bien.
Mais je ne reçois plus les emails. Bien sur, j'avais fais une copie avant de faire de gros changement dans la config, mais
pas dès le début. du coup je suppose que c'est là que j'ai cassé quelque chose.
Enfin voici la config de postfix et de dovecot (je soupçonne la partie auth à cause des log mail.err)
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination = monserver.com, localhost, localhost.localdomain
mydomain = monserver.com
myhostname = $mydomain
mynetworks = 127.0.0.0/8, [::1]/128
myorigin = $mydomain
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP perso
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, sleep 1, permit smtpd_helo_restrictions = reject_invalid_helo_hostname
smtpd_helo_required = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender,reject_unknown_sender_domain, permit
smtpd_tls_auth_only = yes
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:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.14.32-xxxx-grs-ipv6-64-vps x86_64 Debian 7.9
mail_location = maildir:~/Maildir
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
protocols = " imap pop3"
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
the log:
Mar 18 12:03:49 vpsxxxx postfix/smtpd[18457]: fatal: no SASL authentication mechanisms
Mar 18 12:04:51 vpsxxxx postfix/smtpd[18463]: fatal: no SASL authentication mechanisms
Mar 18 12:05:19 vpsxxxx postfix/smtpd[18464]: fatal: no SASL authentication mechanisms
Mar 18 12:08:02 vpsxxxx postfix/smtpd[18472]: fatal: no SASL authentication mechanisms
Mar 18 12:09:46 vpsxxxx postfix/smtpd[18529]: fatal: no SASL authentication mechanisms
Mar 18 12:12:32 vpsxxxx postfix/smtpd[18537]: fatal: no SASL authentication mechanisms
Mar 18 12:49:48 vpsxxxx postfix/smtpd[19362]: fatal: open /etc/postfix/main.cf: No such file or directory
Mar 18 12:50:50 vpsxxxx postfix/smtpd[19402]: fatal: no SASL authentication mechanisms
Mar 18 12:51:34 vpsxxxx postfix/smtpd[19399]: fatal: no SASL authentication mechanisms
Mar 18 12:52:36 vpsxxxx postfix/smtpd[19404]: fatal: no SASL authentication mechanisms
Mar 18 12:55:15 vpsxxxx postfix/smtpd[19424]: fatal: no SASL authentication mechanisms
Mar 18 12:57:18 vpsxxxx postfix/smtpd[19435]: fatal: no SASL authentication mechanisms
Mar 18 12:57:22 vpsxxxx postfix/smtpd[19448]: fatal: no SASL authentication mechanisms
Mar 18 13:00:33 vpsxxxx postfix/smtpd[19453]: fatal: no SASL authentication mechanisms
Mar 18 13:00:47 vpsxxxx postfix/smtpd[19455]: fatal: no SASL authentication mechanisms
Mar 18 13:02:17 vpsxxxx postfix/smtpd[19460]: fatal: no SASL authentication mechanisms
Mar 18 13:13:51 vpsxxxx postfix/smtpd[19507]: fatal: no SASL authentication mechanisms
Mar 18 13:15:33 vpsxxxx postfix/smtpd[19512]: fatal: no SASL authentication mechanisms
Votre aide serait la bien venue car je ne vois vraiment pas ce que j'ai pu casser.