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

Verbose logging issues of postfix in docker container

2022-12-11 Thread Sam
Dear experts in postfix: I've been having different kinds of issues in postfix when moving my email server into docker containers (which I know some don't recommend, but please tolerate that as I have trade-offs to make). In my test setup where I'm experim

Re: TLS config confirmation

2022-12-11 Thread Viktor Dukhovni
On Sun, Dec 11, 2022 at 04:20:25PM +0100, Matus UHLAR - fantomas wrote: > On 10.12.22 16:48, Alex wrote: > >I think I assumed there was a vulnerability, like there is with SSLv3, that > >lead me to disable it. At this point disabling SSLv3 is best-practice, there are no longer sufficiently many s

Re: TLS config confirmation

2022-12-11 Thread Matus UHLAR - fantomas
On 07.12.22 12:28, Alex wrote: >smtp_tls_security_level = may >smtpd_tls_security_level = may >smtp_tls_mandatory_protocols= !SSLv2,!SSLv3,!TLSv1,!TLSv1.1 >smtp_tls_protocols = !SSLv2,!SSLv3,!TLSv1,!TLSv1.1 On Thu, Dec 8, 2022 at 2:17 AM Matus UHLAR - fantomas wrote: so, you

Re: postscreen_dnsbl_reply_map and dnsblog

2022-12-11 Thread Viktor Dukhovni
On Sun, Dec 11, 2022 at 10:07:35AM -0500, Alex wrote: > I'm still struggling with this, and now wondering if it's even a problem. > Are dnsblog entries like this supposed to be mapped, or just the rejection > that the client sees? > > > Dec 10 20:09:39 mail03 postfix/dnsblog[54775]: addr 5.170.2

Re: postscreen_dnsbl_reply_map and dnsblog

2022-12-11 Thread Alex
Hi, I'm still struggling with this, and now wondering if it's even a problem. Are dnsblog entries like this supposed to be mapped, or just the rejection that the client sees? Dec 10 20:09:39 mail03 postfix/dnsblog[54775]: addr 5.170.224.57 listed by domain mykey.zen.dq.spamhaus.net as 127.0.0.11

Re: Log Table Lookup Result

2022-12-11 Thread Viktor Dukhovni
On Sun, Dec 11, 2022 at 03:27:43PM +0300, Mehmet Avcioglu wrote: > Is it possible to log the result of a table lookup? Perhaps similar to the > header_checks INFO option. No. There is presently no syntax for tables that log lookup keys and results. If you want to log table lookups on a temporar

Re: milter - wrong ordering of responses on pipelining

2022-12-11 Thread Wietse Venema
lists+post...@sad.lv: > Hello ! > > I met an issue with milter when multiple messages pushed within single > smtp session (using pipelining indeed): > warning: milter unix:/run/t.socket: unexpected filter response > SMFIR_ADDHEADER after event SMFIC_MAIL > > It looks similar for > https://www.

Log Table Lookup Result

2022-12-11 Thread Mehmet Avcioglu
Is it possible to log the result of a table lookup? Perhaps similar to the header_checks INFO option. Thanks -- Mehmet