Re: Postfix with Kibana, help with configuration?

2021-10-26 Thread raf
On Tue, Oct 26, 2021 at 02:01:11PM -0300, SysAdmin EM wrote: > Hello everyone? > Has anyone correctly configured kibana to read postfix logs? > > I read this documentation, but in kibana 7 not work for me. > https://github.com/whyscream/postfix-grok-patterns > > postfix_queue_id postfix_from

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread raf
On Tue, Oct 26, 2021 at 08:50:38PM -0400, Viktor Dukhovni wrote: > On Tue, Oct 26, 2021 at 08:41:20PM -0400, Viktor Dukhovni wrote: > > > With `bash` inline /dev/fd/ files: > > > > $ diff -U0 <(postconf -x -o compatibility_level=2) <(postconf -x -o > > compatibility_level=3.6) > > A

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread Viktor Dukhovni
On Tue, Oct 26, 2021 at 08:41:20PM -0400, Viktor Dukhovni wrote: > With `bash` inline /dev/fd/ files: > > $ diff -U0 <(postconf -x -o compatibility_level=2) <(postconf -x -o > compatibility_level=3.6) A handly abstraction to a couple function definitions would be: compatconf() {

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread Viktor Dukhovni
On Wed, Oct 27, 2021 at 11:34:57AM +1100, raf wrote: > > Is there a way, given a new warning about compatibility_level (say > > you've been running with 3_5, and you're now running 3_6), to see > > what changes to your config are effectively made by enabling that > > level? (effectively, to show

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread raf
On Tue, Oct 26, 2021 at 05:08:00PM -0700, Dan Mahoney wrote: > > > > On Oct 26, 2021, at 4:54 PM, raf wrote: > > > > On Tue, Oct 26, 2021 at 09:42:33AM -0400, Wietse Venema > > wrote: > > > >> Vincent Pelletier: > >>> On Mon, 25 Oct 2021 12:36:35 -0400 (EDT), > >>> Wietse Venema wrote :

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread Dan Mahoney
> On Oct 26, 2021, at 4:54 PM, raf wrote: > > On Tue, Oct 26, 2021 at 09:42:33AM -0400, Wietse Venema > wrote: > >> Vincent Pelletier: >>> On Mon, 25 Oct 2021 12:36:35 -0400 (EDT), >>> Wietse Venema wrote : This would require a new setting, for example to make smtp_bind_address

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread raf
On Tue, Oct 26, 2021 at 09:42:33AM -0400, Wietse Venema wrote: > Vincent Pelletier: > > On Mon, 25 Oct 2021 12:36:35 -0400 (EDT), > > Wietse Venema wrote : > > > This would require a new setting, for example to make smtp_bind_address > > > failures a retryable error. > > > > > >

Re: Mail bypassing relayhost configuration

2021-10-26 Thread Viktor Dukhovni
On Tue, Oct 26, 2021 at 09:05:46PM +, Cooper, Robert A wrote: > Posftinger output: > https://gist.github.com/racooper/a560c84080e2ee6c336d508918344f5a Please avoid paste bins in the future. Also where are the (couple of) requested log entries that show the problem behaviour?

Re: Mail bypassing relayhost configuration

2021-10-26 Thread Cooper, Robert A
(sorry for top-posting. OWA is evil in that way.) Posftinger output: https://gist.github.com/racooper/a560c84080e2ee6c336d508918344f5a Contents of error_transport (the only defined transport_map): fxgfd.com error:undeliverable yahoo.es.comerror:undeliverable site.co

Re: Mail bypassing relayhost configuration

2021-10-26 Thread Viktor Dukhovni
On Tue, Oct 26, 2021 at 04:22:53PM +, Cooper, Robert A wrote: > Howdy! We have noticed that certain email going through our outbound > relay are ignoring the "relayhost = [smtp-relay.site.com]:25". Sorry, that's not possible. The delivery of messages for *all* recipients uses the same

Postfix with Kibana, help with configuration?

2021-10-26 Thread SysAdmin EM
Hello everyone? Has anyone correctly configured kibana to read postfix logs? I read this documentation, but in kibana 7 not work for me. https://github.com/whyscream/postfix-grok-patterns postfix_queue_id postfix_from postfix_to postfix_date The idea is to have a dashboard with the mails sent

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread Wietse Venema
post...@ptld.com: > >> It does not complicate the code. I am more concerned about > >> discoverability (how would a user even find out that the behavior > >> has become configurable). > > > > The best we can do is cross-reference the new parameter under > > smtp_bind_address (and IPv6

Mail bypassing relayhost configuration

2021-10-26 Thread Cooper, Robert A
Howdy! We have noticed that certain email going through our outbound relay are ignoring the "relayhost = [smtp-relay.site.com]:25". The condition seems to be when a message has an envelope rewrite based on LDAP lookup (specifically, from site.com to email.site.com, which goes to gmail).

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread postfix
It does not complicate the code. I am more concerned about discoverability (how would a user even find out that the behavior has become configurable). The best we can do is cross-reference the new parameter under smtp_bind_address (and IPv6 equivalent), and then sufficiently motivated users

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread Viktor Dukhovni
On Tue, Oct 26, 2021 at 09:42:33AM -0400, Wietse Venema wrote: > It does not complicate the code. I am more concerned about > discoverability (how would a user even find out that the behavior > has become configurable). The best we can do is cross-reference the new parameter under

Re: smtp disobeying smtp_bind_address

2021-10-26 Thread Wietse Venema
Vincent Pelletier: > On Mon, 25 Oct 2021 12:36:35 -0400 (EDT), > Wietse Venema wrote : > > This would require a new setting, for example to make smtp_bind_address > > failures a retryable error. > > > > smtp_bind_address_failure_action = warn (or defer) > > > > warn: current behavior > > defer: