Serveur mail postfix+courrier client messagerie smtp -> no

Bonjour

j’essaie de configuré un serveur dédié chez ovh pour de l’hébergement multi-domaine et serveur de messagerie.

pour la messagerie j’utilise postfix et courrier. j’ai créé une boite mail pour tester en webmail (via roundcube) tout fonctionne(envoi er récéption de mail de l’extérieur). Quand je veux configurer outlook ou thunderbird pour ce qui est du pop et imap aucun souci, par contre impossible de me connecter pour le smtp.

en mettant le port 587 (comme recommandé par ovh) lors du test de connexion j’ai le message d’erreur suivant : “aucune methode d’authentification prise en charge par le client ne l’est par votre serveur”

auriez vous une idée d’ou je dois commencé a chercher ?
je vous joints mon master.cf si ça peu vous aidé

# 2 # Postfix master process configuration file. For details on the format 3 # of the file, see the master(5) manual page (command: "man 5 master"). 4 # 5 # Do not forget to execute "postfix reload" after editing this file. 6 # 7 # ========================================================================== 8 # service type private unpriv chroot wakeup maxproc command + args 9 # (yes) (yes) (yes) (never) (100) 10 # ========================================================================== 11 smtp inet n - - - - smtpd 12 smtp inet n - - - 1 postscreen 13 smtpd pass - - - - - smtpd 14 #dnsblog unix - - - - 0 dnsblog 15 #tlsproxy unix - - - - 0 tlsproxy 16 submission inet n - - - - smtpd 17 -o syslog_name=postfix/submission 18 -o smtpd_tls_security_level=encrypt 19 -o smtpd_sasl_auth_enable=yes 20 -o smtpd_client_restrictions=permit_sasl_authenticated,reject 21 -o milter_macro_daemon_name=ORIGINATING 22 #smtps inet n - - - - smtpd 23 # -o syslog_name=postfix/smtps 24 # -o smtpd_tls_wrappermode=yes 25 # -o smtpd_sasl_auth_enable=yes 26 # -o smtpd_client_restrictions=permit_sasl_authenticated,reject 27 # -o milter_macro_daemon_name=ORIGINATING 28 #628 inet n - - - - qmqpd 29 pickup fifo n - - 60 1 pickup 30 cleanup unix n - - - 0 cleanup 31 qmgr fifo n - n 300 1 qmgr 32 #qmgr fifo n - n 300 1 oqmgr 33 tlsmgr unix - - - 1000? 1 tlsmgr 34 rewrite unix - - - - - trivial-rewrite 35 bounce unix - - - - 0 bounce 36 defer unix - - - - 0 bounce 37 trace unix - - - - 0 bounce 38 verify unix - - - - 1 verify
Par avance merci

Bonjour,

Côté client :
La case “se connecter au serveur de courrier entrant avant d’envoyer le courrier” est-elle coché ?

Côté serveur :
Rien bloque du coté du pare feu ?

Cdlt,

[quote=“Klink”]
en mettant le port 587 (comme recommandé par ovh) lors du test de connexion j’ai le message d’erreur suivant : “aucune methode d’authentification prise en charge par le client ne l’est par votre serveur”[/quote]
=> le 587 est pour le smtp sasl, or le message d’erreur dit clairement que tu n’as pas activé le sasl dans ton serveur smtp.

ok merci je vais regarder de ce coté la je vous tiens au jus…

edit: j’ai installer sasl. après 2 jours de tentative de réglage ça ne fonctionne pas quand j’essai de configurer outlook le message d’erreur pour le smtp est : le serveur de courier sortant a signalé une erreur interne… réponse du serveur : 554 5.7.1 et mon adresse ip (du pc pas du serveur dedié.)

dans les log mail a chaque tentative de connexion avec outlook j’ai ça.
/var/log/mail.log:

postfix/submission/smtpd[18635]: connect from "IP de mon PC" postfix/submission/smtpd[18635]: NOQUEUE: reject: CONNECT from "IP de mon PC": 554 5.7.1 <"IP de mon PC">: Client host rejected: Access denied; proto=SMTP
si je comprend le message d’erreur il s’agit de la connexion de l’exterieur qui n’est pas autorisé…
j’ai trouver plein de fofo traitant du problème, mais a part “pourrir” mes fichier de conf avec des modif qui ne fonctionne pas je n’arrive pas a progresser.
voici mon fichier main.cf

1 smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) 2 biff = no 3 disable_vrfy_command = yes 4 smtpd_helo_required = yes 5 6 # appending .domain is the MUA's job. 7 append_dot_mydomain = no 8 9 # Pour faire simple, il est conseillé d'utiliser le reverse DNS de votre serveur. 10 myhostname = reverse dns 11 myorigin = reverse dns 12 mydestination = reverse dns, localhost.localdomain, localhost 13 mynetworks = 127.0.0.0/8, IP du serveur, sasl_authenticated 14 #relay_domains = $mydestination, sasl_authenticated, 15 mailbox_size_limit = 524288000 16 relayhost = 17 virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_aliases.cf,mysql:/etc/postfix/mysql-virtual_aliases_comptes.cf 18 virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domaines.cf 19 virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_comptes.cf 20 virtual_mailbox_base = /var/spool/vmail/ 21 virtual_uid_maps = static:5000 22 virtual_gid_maps = static:5000 23 virtual_mailbox_limit = 51200000 24 25 #virtual_create_maildirsize = yes 26 #virtual_mailbox_extended = yes 27 #virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_quotas.cf 28 #virtual_mailbox_limit_override = yes 29 #virtual_maildir_limit_message = "La boite mail de votre destinataire est pleine, merci de reessayez plus tard." 30 #virtual_overquota_bounce = yes 31 32 alias_maps = hash:/etc/aliases 33 alias_database = hash:/etc/aliases 34 smtp_use_tls = yes 35 smtp_tls_note_starttls_offer = yes 36 smtpd_use_tls = yes 37 smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key 38 smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt 39 smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem 40 smtpd_tls_loglevel = 1 41 smtpd_tls_received_header = yes 42 smtpd_tls_session_cache_timeout = 3600s 43 tls_random_source = dev:/dev/urandom 44 smtpd_recipient_limit = 100 45 #smtpd_helo_restrictions = reject_invalid_hostname 46 # adresses d'expedition 47 smtpd_sender_restrictions = permit_mynetworks, warn_if_reject reject_unverified_sender 48 49 # adresses de destination 50 #smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_recipient, reject_unauth_destination, permit_sasl_authenticated, 51 smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, permit_sasl_authenticated 52 53 54 smtpd_sasl_auth_enable = yes 55 #broken_sasl_auth_clients = yes 56 # client 57 # 58 # The settings for the SASL authentication using the autdaemon. 59 # client 60 smtpd_client_restrictions = 61 permit_mynetworks, 62 permit_sasl_authenticated 63 smtpd_sasl_local_domain = $myhostname 64 smtpd_sasl_auth_enable = yes 65 broken_sasl_auth_clients = yes 66 smtpd_delay_reject = no 67 smtpd_sasl_security_options = 68 inet_protocols = ipv4
le master.cf

# 2 # Postfix master process configuration file. For details on the format 3 # of the file, see the master(5) manual page (command: "man 5 master"). 4 # 5 # Do not forget to execute "postfix reload" after editing this file. 6 # 7 # ========================================================================== 8 # service type private unpriv chroot wakeup maxproc command + args 9 # (yes) (yes) (yes) (never) (100) 10 # ========================================================================== 11 smtp inet n - - - - smtpd 12 #587 inet n - - - - smtpd 13 smtp inet n - - - 1 postscreen 14 smtpd pass - - - - - smtpd 15 #dnsblog unix - - - - 0 dnsblog 16 #tlsproxy unix - - - - 0 tlsproxy 17 submission inet n - - - - smtpd 18 -o syslog_name=postfix/submission 19 -o smtpd_tls_security_level=encrypt 20 # -o smtpd_sasl_auth_enable=yes 21 -o smtpd_client_restrictions=permit_sasl_authenticated,reject 22 -o milter_macro_daemon_name=ORIGINATING 23 24 #receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters 25 #smtps inet n - - - - smtpd 26 # -o syslog_name=postfix/smtps 27 # -o smtpd_tls_wrappermode=yes 28 # -o smtpd_sasl_auth_enable=yes 29 # -o smtpd_client_restrictions=permit_sasl_authenticated,reject 30 # -o milter_macro_daemon_name=ORIGINATING 31 #628 inet n - - - - qmqpd 32 pickup fifo n - - 60 1 pickup 33 cleanup unix n - - - 0 cleanup 34 qmgr fifo n - n 300 1 qmgr 35 #qmgr fifo n - n 300 1 oqmgr 36 tlsmgr unix - - - 1000? 1 tlsmgr 37 rewrite unix - - - - - trivial-rewrite 38 bounce unix - - - - 0 bounce 39 defer unix - - - - 0 bounce 40 trace unix - - - - 0 bounce 41 verify unix - - - - 1 verify 42 flush unix n - - 1000? 0 flush 43 proxymap unix - - n - - proxymap 44 proxywrite unix - - n - 1 proxymap 45 smtp unix - - - - - smtp 46 relay unix - - - - - smtp 47 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 48 showq unix n - - - - showq 49 error unix - - - - - error 50 retry unix - - - - - error 51 discard unix - - - - - discard 52 local unix - n n - - local 53 virtual unix - n n - - virtual 54 lmtp unix - - - - - lmtp 55 anvil unix - - - - 1 anvil 56 scache unix - - - - 1 scache 57 # 58 # ==================================================================== 59 # Interfaces to non-Postfix software. Be sure to examine the manual 60 # pages of the non-Postfix software to find out what options it wants. 61 # 62 # Many of the following services use the Postfix pipe(8) delivery 63 # agent. See the pipe(8) man page for information about ${recipient} 64 # and other message envelope options. 65 # ==================================================================== 66 # 67 # maildrop. See the Postfix MAILDROP_README file for details. 68 # Also specify in main.cf: maildrop_destination_recipient_limit=1 69 # 70 maildrop unix - n n - - pipe 71 flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} 72 # 73 # ==================================================================== 74 # 75 # Recent Cyrus versions can use the existing "lmtp" master.cf entry. 76 # 77 # Specify in cyrus.conf: 78 # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4 79 # 80 # Specify in main.cf one or more of the following: 81 # mailbox_transport = lmtp:inet:localhost 82 # virtual_transport = lmtp:inet:localhost 83 # 84 # ==================================================================== 85 # 86 # Cyrus 2.1.5 (Amos Gouaux) 87 # Also specify in main.cf: cyrus_destination_recipient_limit=1 88 # 89 #cyrus unix - n n - - pipe 90 # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} 91 # 92 # ==================================================================== 93 # Old example of delivery via Cyrus. 94 # 95 #old-cyrus unix - n n - - pipe 96 # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} 97 # 98 # ==================================================================== 99 # 100 # See the Postfix UUCP_README file for configuration details. 101 # 102 uucp unix - n n - - pipe 103 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) 104 # 105 # Other external delivery methods. 106 # 107 ifmail unix - n n - - pipe 108 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) 109 bsmtp unix - n n - - pipe 110 flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient 111 scalemail-backend unix - n n - 2 pipe 112 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} 113 mailman unix - n n - - pipe 114 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py 115 ${nexthop} ${user
je lis souvent que postfix + devecot fonctionne mieux que postfix + courier est ce vrai ?

par avance merci