Postfix update 3.5.18-0+deb11u1 warnings

Matériel: VPS
Version de YunoHost: Propulsé par YunoHost 11.2.8.2 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin .
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si oui, expliquer:

Bonjour suite à la mise à jour de postfix ce jour, j’ai ces retours

 sudo yunohost tools update && sudo yunohost tools
upgrade system [sudo] password for cyrille: Info: Fetching available
upgrades for system packages... Info: Updating application catalog...
Success! The application catalog has been updated!
apps: 
important_yunohost_upgrade: False
pending_migrations: 
system: 
  0: 
    current_version: 3.5.18-0+deb11u1
    name: postfix-ldap
    new_version: 3.5.23-0+deb11u1
  1: 
    current_version: 3.5.18-0+deb11u1
    name: postfix-pcre
    new_version: 3.5.23-0+deb11u1
  2: 
    current_version: 3.5.18-0+deb11u1
    name: postfix-sqlite
    new_version: 3.5.23-0+deb11u1
  3: 
    current_version: 3.5.18-0+deb11u1
    name: postfix
    new_version: 3.5.23-0+deb11u1
Info: Upgrading packages...
Info: Upgrading system packages
Info: + Reading package lists...
Info: + Building dependency tree...
Info: + Reading state information...
Info: + Calculating upgrade...
Info: + The following packages were automatically installed and are no
longer required: Info: +   php7.3-curl php7.3-mysql
Info: + Use 'sudo apt autoremove' to remove them.
Info: + The following packages will be upgraded:
Info: +   postfix postfix-ldap postfix-pcre postfix-sqlite
Info: + Preconfiguring packages ...
Info: + 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Info: + Need to get 0 B/2,677 kB of archives.
Info: + After this operation, 19.5 kB of additional disk space will be
used. Info: + Removing sqlite map entry from /etc/postfix/dynamicmaps.cf
Info: + Unpacking postfix-sqlite (3.5.23-0+deb11u1) over
(3.5.18-0+deb11u1) ... Warning: /etc/postfix/main.cf.proto modified,
not updating. Warning: /etc/postfix/master.cf.proto modified, not
updating. Info: + Unpacking postfix (3.5.23-0+deb11u1) over
(3.5.18-0+deb11u1) ... Info: + Setting up postfix (3.5.23-0+deb11u1) ...
Warning: Postfix (main.cf) configuration was not changed.  If you need
to make changes, Warning: edit /etc/postfix/main.cf (and others) as
needed.  To view Postfix Warning: configuration values, see postconf(1).
Warning: After modifying main.cf, be sure to run 'systemctl reload
postfix'. Warning: Warning: The unit file, source configuration file or
drop-ins of postfix.service changed on disk. Run 'systemctl
daemon-reload' to reload units. Info: + Removing ldap map entry from
/etc/postfix/dynamicmaps.cf Info: + Unpacking postfix-ldap
(3.5.23-0+deb11u1) over (3.5.18-0+deb11u1) ... Info: + Setting up
postfix-ldap (3.5.23-0+deb11u1) ... Warning: Adding ldap map entry to
/etc/postfix/dynamicmaps.cf Info: + Removing pcre map entry from
/etc/postfix/dynamicmaps.cf Info: + Unpacking postfix-pcre
(3.5.23-0+deb11u1) over (3.5.18-0+deb11u1) ... Info: + Setting up
postfix-pcre (3.5.23-0+deb11u1) ... Warning: Adding pcre map entry to
/etc/postfix/dynamicmaps.cf Info: + Setting up postfix-sqlite
(3.5.23-0+deb11u1) ... Warning: Adding sqlite map entry to
/etc/postfix/dynamicmaps.cf Info: + Processing triggers for man-db
(2.9.4-2) ... Info: + Processing triggers for rsyslog
(8.2102.0-2+deb11u1) ... Success! System upgraded

Notamment cette partie

Warning: Postfix (main.cf) configuration was not changed.  If you need to make changes, Warning: edit /etc/postfix/main.cf (and others) as needed.  To view Postfix Warning: configuration values, see postconf(1).
Warning: After modifying main.cf, be sure to run 'systemctl reload postfix'. Warning: Warning: The unit file, source configuration file or drop-ins of postfix.service changed on disk. Run 'systemctl

Je n’ai jamais modifié la config de postfix manuellement.

Je dois me soucier du message ou je le laisse couler…

D’avance merci

Bonjour,

Je viens d’avoir le même message d’erreur suite à une mise à jour. Par ailleurs en consultant les logs j’ai relevé ces messages d’erreur :

Jan  1 12:16:18 postfix/postfix-script[3788241]: warning: not owned by root: /etc/postfix/.
Jan  1 12:16:18 postfix/postfix-script[3788242]: warning: not owned by root: /etc/postfix/./app_senders_login_maps
Jan  1 12:16:18 postfix/postfix-script[3788243]: warning: not owned by root: /etc/postfix/./sasl_passwd
Jan  1 12:16:18 postfix/postfix-script[3788244]: warning: not owned by root: /etc/postfix/./app_senders_login_maps.db
Jan  1 12:16:18 postfix/postfix-script[3788245]: warning: not owned by root: /etc/postfix/./sasl_passwd.db
Jan  1 12:16:18 postfix/postfix-script[3788348]: warning: /var/spool/postfix/etc/ssl/certs/ca-yunohost_crt.pem and /etc/ssl/certs/ca-yunohost_crt.pem differ
Jan  1 12:16:18 postfix/postfix-script[3788400]: warning: /var/spool/postfix/etc/ssl/certs/yunohost_crt.pem and /etc/ssl/certs/yunohost_crt.pem differ

En faisant un ls -l du dossier /etc/postfix j’ai remarqué qu’en effet les fichiers suivants app_senders_login_maps, app_senders_login_maps.db, sasl_passwd et sasl_passwd.db appartiennent à un utilisateur postfix et pas à root.

Quant aux cetificats différents (2 dernières lignes) j’ai tenté la solution avancée dans le post ci-dessous en faisant :

sudo yunohost tools regen-conf postfix --force suivi de : sudo yunohost service restart postfix Mais en consultant à nouveau les logs, les messages d’erreur reviennent.

Est-ce que je dois remettre à la main en propiétaire root les fichiers concernés ? Et que faire avec les certificats qui différent ? Peut être forcer un renouvelement de cetificats ?

Merci beaucoup !
Noé Pérez

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