and doesn’t show any other events (incoming emails, rejected emails, …).
I’ve encountered some issues with custom postfix settings (which worked flawlessly prior to recent update) and need to debug, which is difficult without logs.
I do see the same errors warnings but Postfix is happily running and accepting mails after that.
Sometimes the logs don’t seem to flush immediately so you might need to wait for a while before you get some output. But that’s unrelated to the warnings.
which worked perfectly before the upgrade (uses regex rules to reject spammers). The real issue is that with this setting enabled, postfix starts rejecting all incoming email, but I can’t see why from the logs!
A while maybe, but it’s been hours and still nothing in logs (neither accepted nor rejected emails are shown, and there is inbound traffic).
followed by a single line of log entries, and ending with the <HEAD> repeated six more times:
<HEAD>
Single line of log entries without line breaks..............................................................................................................................................................................................
<HEAD>
<HEAD>
<HEAD>
<HEAD>
<HEAD>
<HEAD>
I was only looking at the end of the output, and there was always seemingly just the <HEAD> without any other entries.
Definitely something wrong with the rendering of the log via ./launcher logs mail-receiver.
Grazie @md-misko - ho unito la PR e ho incrementato il tag discourse/mail-reciever:release su Dockerhub.
Sono sicuro che tu ne sia già a conoscenza, ma nel caso qualcun altro si imbatta in questo argomento, puoi aggiornare la tua versione del mail receiver eseguendo:
docker pull discourse/mail-receiver:release
cd /var/discourse
./launcher rebuild mail-receiver
Un po’ contorto… ma penso che dovrebbe funzionare:
# Per prima cosa, assicurati di avere l'ultima immagine di base localmente
docker pull discourse/mail-receiver:release
# Ottieni il livello superiore dell'immagine di base
BASE_IMAGE_HASH=$(docker history discourse/mail-receiver:release -q | head -n 1)
# Ottieni i livelli della versione **in esecuzione**
RUNNING_IMAGE_HASH=$(docker container inspect mail-receiver -f "{{.Image}}")
RUNNING_IMAGE_LAYERS=$(docker history $RUNNING_IMAGE_HASH -q)
# Verifica se i livelli dell'immagine in esecuzione includono l'immagine di base corrente:
[[ "$RUNNING_IMAGE_LAYERS" == *"$BASE_IMAGE_HASH"* ]] && echo "Aggiornato"
Questo stamperà “Aggiornato” se sei aggiornato. Altrimenti, l’ultima riga non stamperà nulla e uscirà con uno stato diverso da zero.
Oh. È fantastico. E sembra una soluzione generale per cui in precedenza avevo trovato solo soluzioni una tantum. Mi ci sarebbe voluto un po’ per capirlo. RUNNING_IMAGE_LAYERS è quello che non sapevo cercare.
L’ho testato su un’istanza che era stata aggiornata e su una che non lo era stata, e sembra che si comporti come previsto.