Re: Only logging from a connection when an unrelated error is forced in main.cf

2019-10-07 Thread Gerben Wierda
> On 7 Oct 2019, at 15:50, Wietse Venema wrote: > > Wietse Venema: >> Gerben Wierda: If it is chroot related, try turning off smtpd chroot in master.cf, and do "postfix reload?. >>> >>> Indeed, it is. If I turn chroot from y to n, I get my logging. >> >> Great. Do you insist on chro

Re: Only logging from a connection when an unrelated error is forced in main.cf

2019-10-07 Thread Wietse Venema
Wietse Venema: > Gerben Wierda: > > > If it is chroot related, try turning off smtpd chroot in master.cf, > > > and do "postfix reload?. > > > > Indeed, it is. If I turn chroot from y to n, I get my logging. > > Great. Do you insist on chroot? If so, does MacOS have strace or > ktrace? Maybe you

Re: Only logging from a connection when an unrelated error is forced in main.cf

2019-10-07 Thread Wietse Venema
Gerben Wierda: > > If it is chroot related, try turning off smtpd chroot in master.cf, > > and do "postfix reload?. > > Indeed, it is. If I turn chroot from y to n, I get my logging. Great. Do you insist on chroot? If so, does MacOS have strace or ktrace? Maybe you can find out if there is a diff

Re: Only logging from a connection when an unrelated error is forced in main.cf

2019-10-06 Thread Gerben Wierda
And I forgot to mention, now that it isn’t running chroot-ed, the DNS reverse lookups suddenly also work. Apparently, running chrooted is somewhat more difficult that imagined. > Oct 07 01:26:20 mail postfix/master[18890]: daemon started -- version 3.4.6, > configuration /opt/local/etc/postfix

Re: Only logging from a connection when an unrelated error is forced in main.cf

2019-10-06 Thread Gerben Wierda
> On 7 Oct 2019, at 01:10, Wietse Venema wrote: > > Gerben Wierda: >> For some reason, I don?t get smtpd logging at all. E.g. when sending a mail >> from Apple Mail.app MUA, this is all I see: >> >> Oct 06 22:42:21 mail postfix/cleanup[1020]: AE6C5504A6F: >> message-id=<8f0db894-0b5a-407c-82fd

Re: Only logging from a connection when an unrelated error is forced in main.cf

2019-10-06 Thread Wietse Venema
Gerben Wierda: > For some reason, I don?t get smtpd logging at all. E.g. when sending a mail > from Apple Mail.app MUA, this is all I see: > > Oct 06 22:42:21 mail postfix/cleanup[1020]: AE6C5504A6F: > message-id=<8f0db894-0b5a-407c-82fd-1cfb8ef77...@rna.nl> > Oct 06 22:42:21 mail postfix/qmgr[3

Re: Only logging from a connection when an unrelated error is forced in main.cf

2019-10-06 Thread Wietse Venema
Gerben Wierda: > When I remove the forced error > > check_client_access regexp:/opt/local/etc/postfix/rna_rbl_whitelist_clients > > I see nothing. No ?connect from unknown[192.168.2.67]?. Nothing. > This baffles me. Why do I only see logging in my maillog (including > debug_peer) when I introduce