j’ai configuré unattended-upgrades pour installer les mises à jour automatiquement par contre je n’arrive pas à configurer postfix pour l’envoi de mail à l’aide d’une adresse gmail, dans les logs je vois des adresses mails qui n’existent pas et que je n’ai configuré nulle pars, root@gmail.com et diagnosis@mondomaine.fr
Les adresses que je veux configurer sont:
l’adresse d’envoi: monadresse@gmail.com
l’adresse de réception: mixata@mondomaine.fr
voilà les log de postfix:
journalctl:
oct. 21 07:14:29 postfix/smtp[7045]: BF945C0DF0: to=root@gmail.com, orig_to=, relay=smtp.gmail.com[2a00:1450:400c:c06::6c]:587, delay=0.76, delays=0.39/0.03/0.33/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c06::6c]: no mechanism available)
oct. 21 07:23:28 postfix/qmgr[4590]: BF945C0DF0: from=<diagnosis@ mondomaine.fr >, size=9790, nrcpt=1 (queue active)
oct. 21 07:23:29 postfix/smtp[7065]: Trusted TLS connection established to smtp.gmail.com[66.102.1.108]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)
oct. 21 07:23:29 postfix/smtp[7065]: warning: SASL authentication failure: No worthy mechs found
oct. 21 07:23:29 postfix/smtp[7065]: BF945C0DF0: SASL authentication failed; cannot authenticate to server smtp.gmail.com[66.102.1.108]: no mechanism available
oct. 21 07:23:29 postfix/smtp[7065]: Trusted TLS connection established to smtp.gmail.com[2a00:1450:400c:c06::6d]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)
oct. 21 07:23:29 postfix/smtp[7065]: warning: SASL authentication failure: No worthy mechs found
oct. 21 07:23:29 postfix/smtp[7065]: BF945C0DF0: to=root@gmail.com, orig_to=, relay=smtp.gmail.com[2a00:1450:400c:c06::6d]:587, delay=540, delays=540/0.02/0.3/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c06::6d]: no mechanism available)
oct. 21 07:33:28 postfix/qmgr[4590]: BF945C0DF0: from=<diagnosis@ mondomaine.fr >, size=9790, nrcpt=1 (queue active)
oct. 21 07:33:28 postfix/smtp[7079]: Trusted TLS connection established to smtp.gmail.com[74.125.133.108]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
oct. 21 07:33:28 postfix/smtp[7079]: warning: SASL authentication failure: No worthy mechs found
oct. 21 07:33:28 postfix/smtp[7079]: BF945C0DF0: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.133.108]: no mechanism available
oct. 21 07:33:28 postfix/smtp[7079]: Trusted TLS connection established to smtp.gmail.com[2a00:1450:400c:c07::6d]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
oct. 21 07:33:28 postfix/smtp[7079]: warning: SASL authentication failure: No worthy mechs found
oct. 21 07:33:28 postfix/smtp[7079]: BF945C0DF0: to=root@gmail.com, orig_to=, relay=smtp.gmail.com[2a00:1450:400c:c07::6d]:587, delay=1140, delays=1140/0.02/0.27/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c07::6d]: no mechanism available)
oct. 21 07:53:28 postfix/qmgr[4590]: BF945C0DF0: from=<diagnosis@ mondomaine.fr >, size=9790, nrcpt=1 (queue active)
oct. 21 07:53:28 postfix/smtp[7147]: Trusted TLS connection established to smtp.gmail.com[2a00:1450:400c:c0b::6d]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
oct. 21 07:53:28 postfix/smtp[7147]: warning: SASL authentication failure: No worthy mechs found
oct. 21 07:53:28 postfix/smtp[7147]: BF945C0DF0: SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c0b::6d]: no mechanism available
oct. 21 07:53:28 postfix/smtp[7147]: Trusted TLS connection established to smtp.gmail.com[64.233.184.109]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
oct. 21 07:53:28 postfix/smtp[7147]: warning: SASL authentication failure: No worthy mechs found
oct. 21 07:53:28 postfix/smtp[7147]: BF945C0DF0: to=root@gmail.com, orig_to=, relay=smtp.gmail.com[64.233.184.109]:587, delay=2340, delays=2340/0.02/0.25/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[64.233.184.109]: no mechanism available)
/var/log/mail.err :
Oct 21 07:14:29 mondomaine postfix/smtp[7045]: BF945C0DF0: to=root@gmail.com, orig_to=, relay=smtp.gmail.com[2a00:1450:400c:c06::6c]:587, delay=0.76, delays=0.39/0.03/0.33/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c06::6c]: no mechanism available)
Oct 21 07:23:28 mondomaine postfix/qmgr[4590]: BF945C0DF0: from=diagnosis@mondomaine.fr, size=9790, nrcpt=1 (queue active)
Oct 21 07:23:29 mondomaine postfix/smtp[7065]: Trusted TLS connection established to smtp.gmail.com[66.102.1.108]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)
Oct 21 07:23:29 mondomaine postfix/smtp[7065]: warning: SASL authentication failure: No worthy mechs found
Oct 21 07:23:29 mondomaine postfix/smtp[7065]: BF945C0DF0: SASL authentication failed; cannot authenticate to server smtp.gmail.com[66.102.1.108]: no mechanism available
Oct 21 07:23:29 mondomaine postfix/smtp[7065]: Trusted TLS connection established to smtp.gmail.com[2a00:1450:400c:c06::6d]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)
Oct 21 07:23:29 mondomaine postfix/smtp[7065]: warning: SASL authentication failure: No worthy mechs found
Oct 21 07:23:29 mondomaine postfix/smtp[7065]: BF945C0DF0: to=root@gmail.com, orig_to=, relay=smtp.gmail.com[2a00:1450:400c:c06::6d]:587, delay=540, delays=540/0.02/0.3/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c06::6d]: no mechanism available)
Oct 21 07:33:28 mondomaine postfix/qmgr[4590]: BF945C0DF0: from=<diagnosis@ mondomaine.fr >, size=9790, nrcpt=1 (queue active)
Oct 21 07:33:28 mondomaine postfix/smtp[7079]: Trusted TLS connection established to smtp.gmail.com[74.125.133.108]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
Oct 21 07:33:28 mondomaine postfix/smtp[7079]: warning: SASL authentication failure: No worthy mechs found
Oct 21 07:33:28 mondomaine postfix/smtp[7079]: BF945C0DF0: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.133.108]: no mechanism available
Oct 21 07:33:28 mondomaine postfix/smtp[7079]: Trusted TLS connection established to smtp.gmail.com[2a00:1450:400c:c07::6d]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
Oct 21 07:33:28 mondomaine postfix/smtp[7079]: warning: SASL authentication failure: No worthy mechs found
Oct 21 07:33:28 mondomaine postfix/smtp[7079]: BF945C0DF0: to=root@gmail.com, orig_to=, relay=smtp.gmail.com[2a00:1450:400c:c07::6d]:587, delay=1140, delays=1140/0.02/0.27/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c07::6d]: no mechanism available)
Merci d’avance pour votre aide.