Notification mail sur mises à jour disponibles.

Bonjour je suis novice en auto-hébergement, j’ai créé mon domaine installé Yunohost, configuré nextcloud, tout fonctionne bien.

Je sais qu’il est important de garder un serveur à jour, je me demande donc comment être prévenu quand des mises à jour sont disponibles ?

Salut

En façon dégueulasse, je fait tourner un script quotidiennement à 1H00 du mat’ via cron.

#!/bin/sh

# Update des sources
yunohost tools update

root@monserveur.noho.st reçoit le mail, et j’ai fait un transfère de mail vers un mail perso tiers.

Edith : Tu peux aussi installer le paquet unattended-upgrades pour automatiser l’installation des maj de sécurité.

Bonjour,

J’utilise apticron.
Une description et une configuration sont décrites ici :

ppr

Bonsoir,

Depuis la version 2.5 de yunohost j’ utilise l’ appli : https://github.com/ldidry/apticron_ynh.
Elle a survécu à toutes les mises à jour et autre migration.

Patient

Apticron gère les app packagées pour yunohost ?

Je me posais la mème question.

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.

En cherchent j’ai trouvé la commande: sudo tail -f /var/log/syslog
qui me donne:
Oct 25 00:24:41 mondomaine postfix/pipe[2273]: 10C24C13D0: to=root@mondomaine.fr, relay=dovecot, delay=13, delays=13/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service (lda(root@mondomaine.fr,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denie))

Peut-être une piste?

J’ai un soucis avec la MaJ de dokuwiki, elle reste donc dans les maj à faire depuis quelques jours : je peux dorénavant affirmer qu’apticron ne gère pas les apps puisque le mail apticron reçu ne mentionnait pas cette maj :stuck_out_tongue:

OK, merci pour votre retour.

Donc, pas de solution pour le moment, y a-t-il au moins un moyen de recevoir un mail quand des mises à jour pour les apps sont disponibles?

1 Like

Ça m’intéresse aussi !

Bah un cron avec yunohost tools update, confer mon premier post sur le topic :upside_down_face:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.