# Mise à jour du mail-receiver auto-hébergé suite au changement de certificat racine de Let's Encrypt

**URL:** https://meta.discourse.org/t/self-hosted-mail-receiver-update-following-lets-encrypt-root-certificate-change/204924
**Category:** Self-hosting
**Tags:** mail-receiver, letsencrypt
**Created:** [Octobre 1, 2021, 12:10 UTC](https://meta.discourse.org/t/self-hosted-mail-receiver-update-following-lets-encrypt-root-certificate-change/204924 "2021-10-01T00:10:43Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![md-misko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/md-misko/32/126315_2.png) [@md-misko](https://meta.discourse.org/u/md-misko)
#### Post date: [Octobre 11, 2021, 1:51 UTC](https://meta.discourse.org/t/self-hosted-mail-receiver-update-following-lets-encrypt-root-certificate-change/204924/6 "2021-10-11T13:51:45Z")

</div>

@david, pourrais-tu jeter un coup d’œil aux problèmes ci-dessous ? La dernière mise à jour du mail-receiver a supprimé la possibilité de mettre en œuvre des mesures anti-spam supplémentaires, qui fonctionnaient à merveille dans la version précédente. En conséquence, mon forum subit à nouveau une pression croissante de spam à cause de ce dernier changement.

J’ai essayé de comprendre la cause racine, mais je ne maîtrise pas suffisamment Postfix pour y parvenir. J’ai trouvé des rapports similaires (`client=unknown` même lorsque l’enregistrement PTR existe dans DNS) concernant [Postfix dans un jail chroot](https://wiki.archlinux.org/title/Postfix#Postfix_in_a_chroot_jail), ce qui pourrait donc être lié. De plus, les outils dnsutils semblent manquer dans la nouvelle image Debian du mail-receiver, mais leur installation ne résout toujours pas le problème ?

> [@Mail-receiver loses IP to hostname resolution after recent upgrade and prevents anti-spam measures from working](https://meta.discourse.org/t/mail-receiver-loses-ip-to-hostname-resolution-after-recent-upgrade-and-prevents-anti-spam-measures-from-working/205003/1?u=md-misko):
>
> It seems that latest [Self-hosted mail-receiver update following Let's Encrypt root certificate change](https://meta.discourse.org/t/self-hosted-mail-receiver-update-following-lets-encrypt-root-certificate-change/204924/1) mail-receiver update doesn’t resolve IPs to hostnames any more. This causes issues with previously working postfix client access restrictions, enabled by adding the following line to mail-receiver.yml: POSTCONF\_smtpd\_client\_restrictions: 'regexp:/etc/postfix/shared/client\_access\_regex' This is a snippet from the mail-receiver log, showing an inbound connection: Oct 01 17:38:11 discourse-mai…

Celui-ci devrait être facile à corriger :

> [@Mail-receiver log errors after letsencrypt update](https://meta.discourse.org/t/mail-receiver-log-errors-after-letsencrypt-update/204938/6?u=md-misko):
>
> I believe I figured this one out, there is a maillog\_file line missing in the Dockerfile. Temp fix: added POSTCONF\_maillog\_file: '/dev/stdout' to mail-receiver.yml and rebuilt, but this should probably be fixed in the docker image RUN \>/etc/postfix/main.cf \ + && postconf -e maillog\_file=/dev/stdout \ && postconf -e smtputf8\_enable=no \ ...

---

_[View the full topic](https://meta.discourse.org/t/self-hosted-mail-receiver-update-following-lets-encrypt-root-certificate-change/204924)._
