Re: Verbose logging issues of postfix in docker container

2022-12-11 Thread Sam
Thank you very much, guys. Actually Charles' comment made me realize this. I found a post on serverfault specifying how to run a postfix in foreground, and I added that line with maillog_file = /dev/stdout and I'm starting to see things now when I send and email.

Re: Verbose logging issues of postfix in docker container

2022-12-11 Thread mailmary
Docker containers don't log like normal linux distos do with syslog/rsyslog/syslog-ng/etc. They expect the main process to output all logging to STDOUT, this is recorded as "log" output by the docker daemon. You may need to set the "maillog_file" postfix config option to "/dev/stdout", thus r

Re: Verbose logging issues of postfix in docker container

2022-12-11 Thread Charles Sprickman
> On Dec 11, 2022, at 7:11 PM, Sam wrote: > **I really can't debug any smtp issues whatsoever.** [...] > and in master.cf, I added `-v` flag on smtpd. Nothing comes out of it. Zero > logging to both stdout and /var/log/. Be aware that Postfix and most daemons don't log directly, they are ta