mirror of
https://github.com/Mailu/Mailu.git
synced 2025-05-31 23:10:01 +02:00
Fix logs in the SMTP container
This commit is contained in:
parent
1f9cd7db99
commit
eec9d1201f
@ -15,7 +15,7 @@ COPY start.py /
|
||||
RUN echo $VERSION >/version
|
||||
|
||||
#EXPOSE 25/tcp 10025/tcp
|
||||
HEALTHCHECK --start-period=350s CMD /usr/sbin/postfix status
|
||||
HEALTHCHECK --start-period=30s CMD ! /usr/libexec/postfix/master -t
|
||||
|
||||
VOLUME ["/queue"]
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
mydomain = {{ DOMAIN }}
|
||||
myhostname = {{ HOSTNAMES.split(",")[0] }}
|
||||
myorigin = $mydomain
|
||||
maillog_file = /dev/stdout
|
||||
|
||||
# Queue location
|
||||
queue_directory = /queue
|
||||
|
@ -52,6 +52,7 @@ discard unix - - n - - discard
|
||||
lmtp unix - - n - - lmtp
|
||||
anvil unix - - n - 1 anvil
|
||||
scache unix - - n - 1 scache
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
|
||||
{# Ensure that the rendered file ends with a newline #}
|
||||
{{- "\n" }}
|
||||
|
@ -11,7 +11,6 @@ from podop import run_server
|
||||
from socrate import system, conf
|
||||
|
||||
system.set_env(log_filters=[
|
||||
r'the Postfix mail system is running\: \d+$',
|
||||
r'(dis)?connect from localhost\[(\:\:1|127\.0\.0\.1)\]( quit=1 commands=1)?$',
|
||||
r'haproxy read\: short protocol header\: QUIT$',
|
||||
r'discarding EHLO keywords\: PIPELINING$',
|
||||
|
1
towncrier/newsfragments/2793.bugfix
Normal file
1
towncrier/newsfragments/2793.bugfix
Normal file
@ -0,0 +1 @@
|
||||
The SMTP container wasn't logging things like it should
|
Loading…
x
Reference in New Issue
Block a user